New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
user/flavoni/libIGCM_v3.3 – NEMO
wiki:user/flavoni/libIGCM_v3.3

Version 23 (modified by flavoni, 13 years ago) (diff)

--

TOC(heading=Using libIGCM library with ORCA2_LIM nemo_v3_3, depth=2, libIGCM/setupsimupage, libIGCM/change_BC, libIGCM/postprocessingpage, libIGCM/postalreadyrunpage, libIGCM_nemo_v_3_3/parallelpage_3_3, libIGCM/common_account, libIGCM/suggestpage, libIGCM/appendixpage )?

Using libIGCM library with ORCA2_LIM for nemo_v3_3


Purposes


  • Document the using of Libigcm for NEMO version 3_3, in configuration ORCA2_LIM
  • Official documentation of Libigcm is :

http://forge.ipsl.jussieu.fr/libigcm/wiki/WikiStart



Quick start guide : downloading nemo_3_3_beta

1/2/2011 downloading NEMO trunk default configuration is:
climatological run, with bulk core forcing, focring files COREII,
with calendar type noleap
and ocean output frequency 1Y,1M,5D,1D, ice output frequency 5D,
with iom_put, (with an example of iodef.xml file),
without MONITORING, and ATLAS.

  • Create and go into working directory :
     mkdir TRY ; cd TRY
    
  • Extract NEMOGCM :
     svn co http://forge.ipsl.jussieu.fr/nemo/svn/tags/nemo_v3_3/NEMOGCM
        ( If you want to extract even Documentation: 
        svn co http://forge.ipsl.jussieu.fr/nemo/svn/tags/nemo_v3_3 )
    
  • Choose and compile configuration (for example if you run ORCA2_LIM configuration on "brodie" machine at idris) :
     cd NEMOGCM/CONFIG
     ./makenemo -m SX8_BRODIE -n ORCA2_LIM 
       (executable is created in ORCA2_LIM/BLD/bin directory)
    

Using ./makenemo -h to see help ( to see list of compilers availables, to see options,...)

  • Example of a mono-processor run :
     ./makenemo -m SX8_BRODIE -n ORCA2_LIM del_key "nproci=1 nprocj=1"
    
  • Example of a multi-processor run (decomposition 2x4) :
     ./makenemo -m SX8_BRODIE -n ORCA2_LIM add_key "key_mpp_mpi nproci=2 nprocj=4" 
    
  • Create PARAM directory for ORCA2_LIM configuration :
     cp -R ORCA2_LIM/EXP00 ORCA2_LIM/IGCM00/PARAM
    
  • Download Libigcm in EXTERNAL directory :
     cd ../EXTERNAL
     svn co http://forge.ipsl.jussieu.fr/libigcm/svn/tags/libIGCM_v1_9 libIGCM
     svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk/util
    
  • Change PATH in ins_job script :
     vi util/ins_job ; line 106
     replace  for i in $(find ${d_n}/.. -name ${F_CFG} -print)
     by       for i in $(find ${d_n}/../.. -name ${F_CFG} -print)
    
  • Create bin in EXTERNAL directory, and create link to nemo.exe :
     mkdir bin 
     ln -s ../CONFIG/ORCA2_LIM/BLD/bin/nemo.exe bin/nemo.exe
     (because libIGCM looks for executable in ${MODIPSL}/bin ; in our case ${MODIPSL}=EXTERNAL/)
    

Editing at this point NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/config.card
Editing at this point NEMOGCM/CONFIG/ORCA2_LIM/IGCM00/COMP/opa9.card
see : setupsimupage

  • Submit Job :
     ./util/ins_job
     cd IGCM00 
     qsub Job_Name
    

And also see useful remarks: suggestpage

If you want to switch from climatological to interannual see: change_BC



Simona Flavoni last update: Timestamp?