wiki:DevelopmentActivities/Branches/ORCHIDEE-MICT-IMBALANCE-P/Compile

Version 1 (modified by ajornet, 8 years ago) (diff)

--

How to compile MICT

In order to compile orchidee

Go to the model source code:

cd YOURPATH/modipsl/modeles/ORCHIDEE

Install all makefiles

../../util/ins_make

Go to the IOIPSL folder

cd ../IOIPSL/src

Compile IOIPSL

gmake 

Go to the models source code folder again

cd ../../ORCHIDEE

Compile Orchidee

./makeorchidee_fcm  -parallel mpi -arch X64_CURIE -driver -debug -j 8

Replace -arch MACHINE with the machine you are working with. Find more information in makeorchidee_fcm -h command.

Note: the use of gmake produces an error due to dependencies. For this reason, it is only required to compile orchidee libraries (ioipsl, ...).