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 36 (modified by flavoni, 8 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 CONFIG/UNIFORM/v6/NEMO_v6 HEAD 8 NEMO_v6 config

(The OFFICIAL repository for the CONFIG ORCA1_LIM3_PISCES is the web site shaconemo: https://forge.ipsl.jussieu.fr/shaconemo/wiki/README_ORCA1_LIM3_PISCES )

NOTA BENE : ORA1_LIM3_PISCES configuration is by default (in libIGCM) run with xios_server en detached mode --> so you need to download and compile xios:

  • Download XIOS (branch 1.0 revision 703)

(The documentation of xios is available here: http://forge.ipsl.jussieu.fr/ioserver/wiki/documentation )

  • Compile XIOS (on ADA machine):
 cd $WORKDIR    
 svn co http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-1.0 XIOS -r 703
 ./make_xios --arch X64_ADA

 (./make_xios -h for help) 

  • Compile ORCA1_LIM3_PISCES configuration (Using ./makenemo -h to see help ( to see list of compilers availables, to see options,...))
cd ../modeles/NEMOGCM/CONFIG
 ./makenemo -n ORCA1_LIM3_PISCES -m X64_ADA -j8

-j8 compile with 8 proc for compilation phase
-j0 option create only configuration directory but does not compile it 

  • Copy executable nemo.exe (and xios_server.exe if needed in detached mode) in modipsl :
cd ../../../bin
ln -s ../modeles/NEMOGCM/CONFIG/ORCA1_LIM3_PISCES/BLD/bin/nemo.exe nemo.exe
(cp $WORKDIR/XIOS/bin/xios_server.exe xios_server.exe) 

  • This is the structure of config in modipsl:

 modipsl/config/NEMO_v6/
	            GENERAL
                    EXPERIMENTS/
                         ORCA1_LIM3_PISCES/
                                         clim/
                                           config.card
                                           COMP/
                                               xios.card
                                               lim3.card
                                               pisces.card
                                               opa9.card
                                         ia/
                                           config.card 
                                           COMP/
                                               xios.card
                                               lim3.card
                                               pisces.card
                                               opa9.card
                         ORCA2_LIM2_PISCES/
                                         clim/
                                           config.card
                                           COMP/
                                               lim2.card
                                               pisces.card
                                               opa9.card                                         
                                        
                         ORCA2_LIM3_PISCES/
                                         clim/
                                           config.card
                                           COMP/
                                               lim3.card
                                               pisces.card
                                               opa9.card
  • To create submission directory you have to copy config.card file in config/NEMO-v6 directory:
 cd modipsl/config/NEMO_v6
 cp EXPERIMENTS/ORCA1_LIM3_PISCES/clim/config.card . 
  • Editing at this point modipsl/config/NEMO_v6/config.card (according to iodef.xml file)
 vi modipsl/config/NEMO_v6/config.card  
 # Modify  AT LEAST JobName=EXP00

  • Create Job :
cd ../../libIGCM/     (back into modipsl directory) 
./ins_job

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

  • LOOK AT alla parameters of the Job you've created :

By default is 1h, but for ORCA1-LIM3-PISCES is 1:45 for 1 year

vi modipsl/config/NEMO_v6/EXP00/Job_EXP00
 # @ wall_clock_limit = 1:00:00

SPECIAL INFORMATIONS FOR RUN ORCA2-LIM3-PISCES

ORCA2-LIM3-PISCES does not exists between reference configurations in v3_6_STABLE NEMOGCM/CONFIGURATION so you've to:

######## OLD VERSION

you can chek:

  • 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

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?