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.6 – NEMO
wiki:user/flavoni/libIGCM_v3.6

Version 24 (modified by flavoni, 9 years ago) (diff)

--

TOC(heading=Using libIGCM library with ORCA2_LIM nemo_v3_6, 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 )?

Using libIGCM library with ORCA2_LIM for nemo_v3_6

Purposes

Through libIGCM give an example of run of configuration ORCA1_LIM3_PISCES with :

  • Climatological and Interannual (years from 1948 to 2009) forcing files COREII
  • outputs:
    • ocean: 1D 5D 1M 1Y
    • ice: 1M
    • biology: 1D 1M 1Y
  • RESTARTS every year
  • on Idris ADA machine

Official documentation of Libigcm is :

https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc

Quick start guide :http://www.nemo-ocean.eu/Using-NEMO/Configurations/

Create and go into working directory :

  •  mkdir TP-NEMO-libIGCM ; cd TP-NEMO-libIGCM
    
    
  • Define the following alias to use SVN :
 alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl'

  • Extract modipsl (modipsl with libIGCM)
     svn_ano
    
  • Extract the model "NEMO_v6":
    cd modipsl/util    **
     ./model NEMO_v6
    

    (verify NEMOGCM revision in modipsl/util/mod.def file: (fixed revision of NEMO: 5618)
    • #-H- NEMO_v6 NEMOGCM for CMIP6 exercise
      #-H- NEMO_v6 libIGCM tag libIGCM_v2.6
      #-M- NEMO_v6 Christian.Ethe@…
      #-C- NEMO_v6 tags/libIGCM_v2.7 HEAD 10 libIGCM .
      #-C- NEMO_v6 branches/2015/nemo_v3_6_STABLE/NEMOGCM 5618 7 . modeles
    • #-C- NEMO_v6 trunk/ORCA1_LIM3_PISCES HEAD 17 . modeles/NEMOGCM/CONFIG
    • #-C- NEMO_v6 branches/2015/nemo_v3_6_STABLE/NEMOGCM 5618 7 . modeles
    • #-C- NEMO_v6 CONFIG/UNIFORM/v6/NEMO_v6 HEAD 8 NEMO_v6 config
      )
cd ../modeles/NEMOGCM/CONFIG
 ./makenemo -n ORCA1_LIM3_PISCES -m X64_ADA -j8

 -j0 option create only configuration directory but does not compile it
 -j8 compile with 8 proc for compilation phase (but you do not have parallel code compiled)

  • Copy executable nemo.exe in modipsl :
cd ../../../bin
ln -s ../modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/BLD/bin/nemo.exe nemo.exe

FORCING FILES?????? /gpfs5r/workgpfs/rech/gzi/rgzi002/IGCM/BC/OCE/ORCA1_LIM3_PISCES/v3_6_STABLE or: /workgpfs/rech/omr/romr006/FORCING/ORCA1_LIM3_PISCES/ ?????

  • attach figure libigcm (pas possible, just en download! )
  • Copy config.card file into modipsl/config/NEMO_v6
 cd modipsl/config/NEMO_v6
 cp EXPERIMENTS/ORCA1_LIM3_PISCES/clim/config.card . 
  • Editing at this point modipsl/config/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/config.card (according to iodef.xml file)
 vi modipsl/config/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/config.card  
 # Modify  AT LEAST JobName=EXP00

NOTE : for ada ( idris ) machine starting from revision 2021 of trunk of libigcm it is possible to add in [Post] section of config.card options
[Post]
SpaceName? =PROD (to have IGCM_OUT on gaya)
PackFrequency? =10Y (to have pack option; i.e. only one tar file)

  • Editing at this point modipsl/config/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/COMP/xios.card
  • Editing at this point modipsl/config/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/COMP/opa9.card
  • Editing at this point modipsl/config/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/COMP/lim3.card
  • Editing at this point modipsl/config/NEMO_v6/EXPERIMENTS/ORCA1_LIM3_PISCES/clim/COMP/pisces.card
  • Create Job :
cd ../../     (back into modipsl directory) 
./util/ins_job

ls modipsl/config/NEMO_v6
	GENERAL
        EXPERIMENTS
        EXP00  #new submission directory, config card is now HERE

*#### OLD VERSION

see : setupsimupage

  • Submit Job :
    cd ../     (back into modipsl directory) 
    
    ./util/ins_job
     cd ../config/ORCA2_LIM/IGCM00 
     llsubmit 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?