| 1 | [[TOC(heading=Using libIGCM library with ORCA2_LIM nemo_v3_4, depth=2, libIGCM/setupsimupage, libIGCM/change_BC, libIGCM/postprocessingpage, libIGCM/postalreadyrunpage, libIGCM_nemo_v_3_4/parallelpage_3_4, libIGCM/common_account, libIGCM/suggestpage, libIGCM/appendixpage )]] |
| 2 | |
| 3 | = '''Using libIGCM library with ORCA2_LIM for nemo_v3_4''' = |
| 4 | == Purposes == |
| 5 | * Document the using of Libigcm for NEMO version 3_4, in configuration ORCA2_LIM |
| 6 | |
| 7 | * Official documentation of Libigcm is : |
| 8 | |
| 9 | http://forge.ipsl.jussieu.fr/libigcm/wiki/WikiStart |
| 10 | |
| 11 | == Quick start guide : downloading '''nemo_3_4''' == |
| 12 | downloading NEMO v3_4 default configuration is: [[BR]]climatological run, with bulk core forcing, focring files COREII, [[BR]]with calendar type noleap [[BR]]and ocean output frequency 1Y,1M,5D,1D, ice output frequency 5D, [[BR]]with iom_put, (with an example of iodef.xml file), [[BR]]without MONITORING, and ATLAS. |
| 13 | |
| 14 | * Create and go into working directory : [[BR]] |
| 15 | {{{ |
| 16 | mkdir TRY ; cd TRY |
| 17 | }}} |
| 18 | * Extract NEMOGCM : (version 3_4 or 3_4_1)[[BR]] |
| 19 | {{{ |
| 20 | svn co http://forge.ipsl.jussieu.fr/nemo/svn/tags/nemo_v3_4/NEMOGCM |
| 21 | |
| 22 | }}} |
| 23 | {{{ |
| 24 | svn co http://forge.ipsl.jussieu.fr/nemo/svn/tags/nemo_v3_4_1/NEMOGCM |
| 25 | }}} |
| 26 | |
| 27 | * Choose and compile configuration (for example if you run ORCA2_LIM configuration on "brodie" machine at idris) : [[BR]] |
| 28 | {{{ |
| 29 | cd NEMOGCM/CONFIG |
| 30 | ./makenemo -m x3750_ADA -n ORCA2_LIM |
| 31 | |
| 32 | (executable is created in ORCA2_LIM/BLD/bin directory) |
| 33 | }}} |
| 34 | |
| 35 | Using ./makenemo -h to see help ( to see list of compilers availables, to see options,...) |
| 36 | |
| 37 | * Create PARAM directory for ORCA2_LIM configuration : [[BR]] |
| 38 | {{{ |
| 39 | cp -R ORCA2_LIM/EXP00 ORCA2_LIM/IGCM00/PARAM |
| 40 | }}} |
| 41 | |
| 42 | * Download Libigcm in EXTERNAL directory : [[BR]] |
| 43 | {{{ |
| 44 | cd ../EXTERNAL |
| 45 | svn co http://forge.ipsl.jussieu.fr/libigcm/svn/tags/libIGCM_v1_9 libIGCM |
| 46 | svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk/util |
| 47 | }}} |
| 48 | |
| 49 | * Change PATH in ins_job script : [[BR]] |
| 50 | {{{ |
| 51 | vi util/ins_job ; line 106 |
| 52 | replace for i in $(find ${d_n}/.. -name ${F_CFG} -print) |
| 53 | by for i in $(find ${d_n}/../.. -name ${F_CFG} -print) |
| 54 | }}} |
| 55 | |
| 56 | * Create bin in EXTERNAL directory, and create link to nemo.exe : [[BR]] |
| 57 | {{{ |
| 58 | mkdir bin |
| 59 | cd bin |
| 60 | ln -s ../../CONFIG/ORCA2_LIM/BLD/bin/nemo.exe nemo.exe |
| 61 | (because libIGCM looks for executable in ${MODIPSL}/bin ; in our case ${MODIPSL}=EXTERNAL/) |
| 62 | }}} |
| 63 | |
| 64 | Editing at this point NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/config.card [[BR]]Editing at this point NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/COMP/opa9.card [[BR]]Editing at this point NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/COMP/lim2.card [[BR]]see : [https://forge.ipsl.jussieu.fr/nemo/wiki/libIGCM/setupsimupage setupsimupage] |
| 65 | |
| 66 | * Submit Job : [[BR]] |
| 67 | {{{ |
| 68 | ./util/ins_job |
| 69 | cd ../CONFIG/ORCA2_LIM/IGCM00 |
| 70 | qsub Job_Name |
| 71 | }}} |
| 72 | |
| 73 | And also see useful remarks: [https://forge.ipsl.jussieu.fr/nemo/wiki/libIGCM/suggestpage suggestpage] |
| 74 | |
| 75 | If you want to switch from climatological to interannual see: [https://forge.ipsl.jussieu.fr/nemo/wiki/libIGCM/change_BC change_BC] |
| 76 | |
| 77 | Simona Flavoni last update: [[Timestamp]] |