| 1 | = How to compile MICT = |
| 2 | |
| 3 | In order to compile orchidee |
| 4 | |
| 5 | Go to the model source code: |
| 6 | |
| 7 | {{{ |
| 8 | cd YOURPATH/modipsl/modeles/ORCHIDEE |
| 9 | }}} |
| 10 | |
| 11 | Install all makefiles |
| 12 | |
| 13 | {{{ |
| 14 | ../../util/ins_make |
| 15 | }}} |
| 16 | |
| 17 | Go to the IOIPSL folder |
| 18 | |
| 19 | {{{ |
| 20 | cd ../IOIPSL/src |
| 21 | }}} |
| 22 | |
| 23 | Compile IOIPSL |
| 24 | |
| 25 | {{{ |
| 26 | gmake |
| 27 | }}} |
| 28 | |
| 29 | Go to the models source code folder again |
| 30 | |
| 31 | {{{ |
| 32 | cd ../../ORCHIDEE |
| 33 | }}} |
| 34 | |
| 35 | Compile Orchidee |
| 36 | |
| 37 | {{{ |
| 38 | ./makeorchidee_fcm -parallel mpi -arch X64_CURIE -driver -debug -j 8 |
| 39 | }}} |
| 40 | Replace -arch MACHINE with the machine you are working with. Find more information in makeorchidee_fcm -h command. |
| 41 | |
| 42 | |
| 43 | Note: the use of gmake produces an error due to dependencies. For this reason, it is only required to compile orchidee libraries (ioipsl, ...). |
| 44 | |