24 | | cd YOURPATH/modipsl/modeles/ORCHIDEE |
25 | | }}} |
26 | | |
27 | | Install all makefiles |
28 | | |
29 | | {{{ |
30 | | ../../util/ins_make |
31 | | }}} |
32 | | |
33 | | Go to the IOIPSL folder |
34 | | |
35 | | {{{ |
36 | | cd ../IOIPSL/src |
37 | | }}} |
38 | | |
39 | | Note: despite of XIOS, IOISPL is still used for other tasks: read run.def file, restarts files management, ... |
40 | | |
41 | | Compile IOIPSL |
42 | | |
43 | | {{{ |
44 | | gmake |
45 | | }}} |
46 | | |
47 | | Go to XIOS 2 folder |
48 | | |
49 | | {{{ |
50 | | cd ../../XIOS |
51 | | }}} |
52 | | |
53 | | Compile XIOS 2 |
54 | | |
55 | | {{{ |
56 | | ./make_xios --prod --arch SUPPORTED_MACHINE --full --j 8 |
57 | | }}} |
58 | | |
59 | | Go to the models source code folder again |
60 | | |
61 | | {{{ |
62 | | cd ../ORCHIDEE |
63 | | }}} |
64 | | |
65 | | Compile Orchidee |
66 | | |
67 | | {{{ |
68 | | ./makeorchidee_fcm -parallel mpi -arch SUPPORTED_MACHINE -xios2 -driver -prod -full -otherexec -j 8 |
69 | | }}} |
70 | | Replace -arch MACHINE with the machine you are working with. Find more information in makeorchidee_fcm -h command. |
71 | | |
72 | | After that, when you do a modification you can simply run the command line below. So you avoid the whole recompilation from the code: |
73 | | |
74 | | {{{ |
75 | | ./makeorchidee_fcm -parallel mpi -arch SUPPORTED_MACHINE -xios2 -driver -prod -otherexec -j 8 |
76 | | }}} |
77 | | |
78 | | In some cases it might be necessary to recompile from zero. |
79 | | |
80 | | === IOIPSL (before MICT v7.2) === |
81 | | |
82 | | In order to compile Orchidee MICT + IOIPSL, go to the model source code: |
83 | | |
84 | | {{{ |
85 | | cd YOURPATH/modipsl/modeles/ORCHIDEE |
| 24 | cd YOURPATH/modipsl/modeles/IOIPSL/src |
| 102 | |
| 103 | {{{ |
| 104 | cd ../ORCHIDEE |
| 105 | }}} |
| 106 | |
| 107 | Compile Orchidee |
| 108 | |
| 109 | {{{ |
| 110 | ./makeorchidee_fcm -parallel mpi -arch SUPPORTED_MACHINE -xios2 -driver -prod -full -otherexec -j 8 |
| 111 | }}} |
| 112 | Replace -arch MACHINE with the machine you are working with. Find more information in makeorchidee_fcm -h command. |
| 113 | |
| 114 | After that, when you do a modification you can simply run the command line below. So you avoid the whole recompilation from the code: |
| 115 | |
| 116 | {{{ |
| 117 | ./makeorchidee_fcm -parallel mpi -arch SUPPORTED_MACHINE -xios2 -driver -prod -otherexec -j 8 |
| 118 | }}} |
| 119 | |
| 120 | In some cases it might be necessary to recompile from zero. |
| 121 | |
| 122 | === MICT (before MICT v7.2) === |
| 123 | |
| 124 | In order to compile Orchidee MICT + IOIPSL: |
| 125 | |
| 126 | Go to the models source code folder |