Version 21 (modified by flavoni, 9 years ago) (diff) |
---|
Using libIGCM library with ORCA2_LIM for nemo_v3_6
Purposes
Through libIGCM give an example of run of configuration ORCA1_LIM3_PISCES with :
- INTERANNUAL forcing files COREII (yeras from 1948 to 2009, repeted 3 times)
- output 1Y for ocean, 1M for ice
- RESTARTS every year
- on Idris ADA machine
Official documentation of Libigcm is :
Quick start guide : downloading nemo_3_6_STABLE:
https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/nemo_v3_6_STABLE/NEMOGCM
default setting of ORCA_LIM3 configuration in NEMO v3_6_STABLE are :
- 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,
- without MONITORING, and ATLAS.
- Define the following alias to use SVN :
alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl'
- Create and go into working directory :
mkdir TP-NEMO-libIGCM ; cd TP-NEMO-libIGCM
- Extract modipsl (modipsl/libIGCM : the latest revision of tags/libIGCM_v2.6 from repository http://forge.ipsl.jussieu.fr/libigcm/svn : )
svn_ano
- Extract NEMOGCM :
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.6 HEAD 10 libIGCM .
#-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
)
- #-H- NEMO_v6 NEMOGCM for CMIP6 exercise
- TO COMPILE CONFIG ORCA1_LIM3_PISCES please refers to OFFICIAL site shaconemo: https://forge.ipsl.jussieu.fr/shaconemo/wiki/README_ORCA1_LIM3_PISCES
- Edit NEMOGCM/CONFIG/cfg.txt file, and add the following line:
ORCA1_LIM3_PISCES OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC
- ????????
- Si je fait comme indiqué dans le wiki de shaconemo (https://forge.ipsl.jussieu.fr/shaconemo/wiki/README_ORCA1_LIM3_PISCES):
- svn --username "your_login_on_forge" co http://forge.ipsl.jussieu.fr/shaconemo/svn/trunk/ORCA1_LIM3_PISCES
- je telecharge tous ça:
- [romr009@ada337 /workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/CONFIG]: lr ORCA1_LIM3_PISCES/
total 512
drwxrwxr-x 17 romr009 omr 131072 Oct 21 14:54 ..
drwxrwxr-x 4 romr009 omr 512 Oct 21 14:54 FORlibIGCM
drwxrwxr-x 3 romr009 omr 131072 Oct 21 14:54 EXP00
drwxrwxr-x 3 romr009 omr 512 Oct 21 14:54 MY_SRC
-rw-rw-r-- 1 romr009 omr 216 Oct 21 14:54 cpp_ORCA1_LIM3_PISCES.fcm
drwxrwxr-x 6 romr009 omr 512 Oct 21 14:54 .
drwxrwxr-x 6 romr009 omr 512 Oct 21 14:54 .svn
- [romr009@ada337 /workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/CONFIG]: lr ORCA1_LIM3_PISCES/
- ???????
- MAIS si je ne le faits pas comment je compile ORCA1_LIM3_PISCES????
- SI je mets dans cfg.txt ça:
ORCA1_LIM3_PISCES OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC
et je compile cela ne marche pas!!
./makenemo -n ORCA1_LIM3_PISCES -m X64_ADA -j 0
error:
Creating ORCA1_LIM3_PISCES/WORK = OPA_SRC LIM_SRC_3 NST_SRC TOP_SRC for ORCA1_LIM3_PISCES
mkdir: cannot create directory ORCA1_LIM3_PISCES/MY_SRC': No such file or directory[[BR]]mkdir: cannot create directory ORCA1_LIM3_PISCES/WORK': No such file or directory
MY_SRC directory is : ORCA1_LIM3_PISCES/MY_SRC
ln: target ORCA1_LIM3_PISCES/WORK' is not a directory[[BR]]ln: target ORCA1_LIM3_PISCES/WORK' is not a directory
ln: target ORCA1_LIM3_PISCES/WORK' is not a directory[[BR]]ln: creating symbolic link ORCA1_LIM3_PISCES/WORK': No such file or directory
ln: target ORCA1_LIM3_PISCES/WORK' is not a directory[[BR]]ln: creating symbolic link ORCA1_LIM3_PISCES/WORK': No such file or directory
ln: target ORCA1_LIM3_PISCES/WORK' is not a directory[[BR]]ln: target ORCA1_LIM3_PISCES/WORK' is not a directory
/workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/TOOLS/COMPILE/Fmake_WORK.sh: line 110: cd: ORCA1_LIM3_PISCES/MY_SRC: No such file or directory
grep: ORCA1_LIM3_PISCES/WORK/*: No such file or directory
cat: ORCA1_LIM3_PISCES/cpp_ORCA1_LIM3_PISCES.fcm: No such file or directory
sed: can't read /workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/TOOLS/COMPILE/cpp.fcm: No such file or directory
sed: can't read /workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/TOOLS/COMPILE/cpp.fcm: No such file or directory
grep: /workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/TOOLS/COMPILE/cpp.fcm: No such file or directory
/workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/CONFIG
[romr009@ada337 /workgpfs/rech/omr/romr009/TP_libIGCM_NEMO/modipsl/modeles/NEMOGCM/CONFIG]: lr ORCA1_LIM3_PISCES/
total 256
drwxrwxr-x 17 romr009 omr 131072 Oct 21 15:02 ..
drwxrwxr-x 3 romr009 omr 512 Oct 21 15:02 .
drwxrwxr-x 2 romr009 omr 512 Oct 21 15:02 BLD
- Choose and compile configuration (for example if you run ORCA1_LIM configuration on "ada" machine at idris) : (ref config??? ORCA2_LIM3_PISCES?????)
cd ../modeles/NEMOGCM/CONFIG ./makenemo -m X64_ADA -n ORCA1_LIM3_PISCES -j8 (executable is created in ORCA1_LIM3_PISCES/BLD/bin directory)
Using ./makenemo -h to see help ( to see list of compilers availables, to see options,...)
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
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?