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 – NEMO
wiki:user/flavoni/libIGCM

Version 40 (modified by flavoni, 15 years ago) (diff)

--

ParentLinkage(=)?

Using libIGCM librairie with ORCA2_LIM

A - Purposes:


  • Document the using of libIGCM for NEMO, in configuration ORCA2_LIM



B - Quick start guide:



  • Define the following alias to use SVN :
 alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl'
 alias svn_libigcm='svn co http://forge.ipsl.jussieu.fr/libigcm/svn/tags/libIGCM_v1_1 libIGCM'
 alias svn_nemoligcm='svn co http://forge.ipsl.jussieu.fr/nemo/svn/branches/libIGCM/ORCA2_LIM/IGCM00 IGCM00'
  • Create and go to the working directory :
 mkdir TRY ; cd TRY
  • Extract modipsl :
 svn_ano 
  • Extract NEMO :
 cd modipsl/util 
 ./model NEMO 

  • Extract libigcm :
 cd ../ 
 svn_libigcm

  • Extract card for NEMO for libIGCM :
 cd config/ORCA2_LIM 
 svn_nemolibigcm
  • Choosing ORCA2_LIM configuration :
 cd ../../modeles/util 
 ./fait_config ORCA2_LIM

Editing at this point modipsl/config/ORCA2_LIM/IGCM00/config.card

  • Install the makefiles and makejob :
 cd ../../util 
 ./ins_make
 ./ins_job
  • Compile :
 cd ../config/ORCA2_LIM 
 gmake
  • Submit Job :
 cd IGCM00 
 qsub Job_NL1  (on brodie.idris.fr)


C - List of possible errors :



C.1 Errors in modipsl/config/ORCA2_LIM/IGCM00/Script_Output_JobName

  • Error : TERM = (vt100) ${HOME:-.}/.profile: .bashrc: not found
  • Error : ksh: D--------------------------------------------------------------------==: not found

it can depends on your .profile file.

To solve it
.profile file it can be like:

«# .profile (idris)
# Fichier d environnement a charger sur la frontale TX7 unix LINUX
# Vous pouvez mettre a jour le fichier .profile_tx
if [ hostname = "brodie" -a -f $HOME/.profile_tx ]; then
. $HOME/.profile_tx
# Fichier d environnement a charger sur les noeuds SX8 unix SUPER-UX
# Vous pouvez mettre a jour le fichier .profile_sx
elif [ hostname != "brodie" -a -f $HOME/.profile_sx ]; then
. $HOME/.profile_sx
else
echo
fi »

  • Error : cat: cannot open ........./modipsl/config/ORCA2_LIM/IGCM00/../.resol :

it is due to modipsl/libIGCM/AA_job file.

To solve it
change in this way:

#-- Resolution FLAG for oasis input
#RESOL=$(cat ${SUBMIT_DIR}/../.resol)
RESOL=

(does not still fixed in libIGCM_v1_1)

  • Error : Input files and BC for NEMO DO NOT EXIST (i.e. sst_data.nc, sss_data.nc, geothermal_heating.nc, bathy_level.nc, etc...)

IGCM_sys_Get, ERROR : regular file ...../OCE/ORCA2_LIM/bathy_level.nc DOES NOT EXIST .

To solve it
In this moment we've still to download on gaya.idris.fr:~/!reee512/NEMO/ORCA2_LIM_nemo_v3.tar file, and to untar it into the directory:

${R_BC}/OCE/ORCA2_LIM

and where ${R_BC} is a variable that can be changed in modipsl/config/ORCA2_LIM/IGCM00/config.card file.

  • Error : IGCM_debug_Exit : IGCM_config_Initialize Error PeriodState : Fatal
To solve it
change line in modipsl/config/ORCA2_LIM/IGCM00/run.card

PeriodState?=Fatal in PeriodState?=

D - List of possible remarks and suggestions :



  • To perform a second simulation after a run with PeriodState=Fatal

cancel modipsl/config/ORCA2_LIM/IGCM00/stack_error, modipsl/config/ORCA2_LIM/IGCM00/Script_Output_JobName

but do not cancel modipsl/config/ORCA2_LIM/IGCM00/run.card.init file, if not run.card file is not re-created.

  • Does it exists a legend file for run.card.init options?

In to run.card.init file who can we undesrtand syntax of? :

MonitoringRunning=n MonitoringCompleted=

TimeSeriesRunning=n TimeSeriesCompleted=

SeasonalRunning=n SeasonalCompleted=

Is there a reference file?

E - To do list :



  • doing run on CCRT machines
  • solve .ftuas problem
  • solve "test argument expected problem"
  • solve restart files

Simona Flavoni

Attachments (1)

Download all attachments as: .zip