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

Version 2 (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 SUPPORTED_MACHINE -driver -prod -full -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, ...).
  • This guide expects you have selected the proper module libraries in the HPC you are working with.