| 46 | |
| 47 | ### Example for installing LMDZOR_v5.2 sequential mode with gfortran ### |
| 48 | {{{ |
| 49 | # 1. Install configuration LMDZOR_v5.2 in a new modipsl |
| 50 | svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl |
| 51 | cd modipsl/util; ./model LMDZOR_v5.2 |
| 52 | |
| 53 | # 2. Adapt the path to your netcdf which must also be compiled with gfortran, in 3 files: |
| 54 | modipsl/modeles/LMDZ/arch/arch-gfortran.path |
| 55 | modipsl/modeles/ORCHIDEE/arch/arch-gfortran.path |
| 56 | modipsl/util/AA_make.gdef (section gfortran) |
| 57 | |
| 58 | # 3. Change default compiling to sequential run mode in main makefile. |
| 59 | In modipsl/config/LMDZOR_v5.2/AA_make |
| 60 | change "-parallel mpi" into "-parallel none" at 3 places. |
| 61 | The name of the executables changes also, therefor change "_phylmd_para_orch.e" into "_phylmd_seq_orch.e" at 2 places |
| 62 | |
| 63 | # 4. Recreate makefiles with target gfortran |
| 64 | cd modipsl/util |
| 65 | ./ins_make -t gfortran |
| 66 | |
| 67 | # 5. Compile as usual |
| 68 | cd modipsl/config/LMDZOR_v5.2; gmake |
| 69 | }}} |
| 70 | |
| 71 | |
| 72 | Note for installing in parallel mode with MPI, do as above but adapt the files arch-gfortran.path, arch-gfortran.fcm and AA_make.gef with suitable compile options. Use target gfortran_CICLAD in AA_make.gdef as example. Do not do point 3 above. |
| 73 | |