Toy model TOYATM to be coupled with NEMO 4.0 without XIOS ++++++++++++++++++++++++++ OASIS3-MCT_4.0 : ++++++++++++++++++++++++++ 1. Sources: cd ${my_repository} git clone https://gitlab.com/cerfacs/oasis3-mct.git 2. Compilation: cd ${my_repository}/oasis3-mct/util/make_dir adapt make.inc with the header_Makefile corresponding to your platform $ARCH make realclean -f TopMakefileOasis3 make -f TopMakefileOasis3 +++++++++++++++++++++++++++++++++++++++++++ NEMO configuration CPL_ORCA2_ICE_PISCES : +++++++++++++++++++++++++++++++++++++++++++ 3. Sources: cd ${my_repository} git clone https://github.com/NEMO-ocean/NEMO-examples.git cd NEMO-examples git branch -a : * master remotes/origin/HEAD -> origin/master remotes/origin/cpl_toyatm remotes/origin/master git checkout cpl_toyatm Here is NEMO onfiguration CPL_ORCA2_ICE_PISCES to couple with TOYATM located in the sources of NEMO ++++++++++++++++++++++++++ NEMO 4.0 code : https://forge.ipsl.jussieu.fr/nemo/chrome/site/doc/NEMO/guide/html/install.html#download-the-nemo-source-code ++++++++++++++++++++++++++ 4. Sources: cd ${my_repository} svn co https://forge.ipsl.jussieu.fr/nemo/svn/NEMO/releases/release-4.0 mv release-4.0 NEMO cp -r NEMO-examples/CPL_ORCA2_ICE_PISCES NEMO/tests Add CPL_ORCA2_ICE_PISCES in NEMO/tests/demo_cfgs.txt CPL_ORCA2_ICE_PISCES OCE ICE TOP ### A dire a SM : Il manque les fichiers xml, ref, necessaires pour tourner dans tests/CPL_ORCA2_ICE_PISCES/EXPREF ### Attention il faut garder le bon namelist_cfg cp NEMO/tests/CPL_ORCA2_ICE_PISCES/EXPREF/namelist_cfg NEMO/tests/CPL_ORCA2_ICE_PISCES/EXPREF/namelist_cfg_ok cp NEMO/cfgs/ORCA2_ICE_PISCES/EXPREF/* NEMO/tests/CPL_ORCA2_ICE_PISCES/EXPREF/. mv NEMO/tests/CPL_ORCA2_ICE_PISCES/EXPREF/namelist_cfg_ok NEMO/tests/CPL_ORCA2_ICE_PISCES/EXPREF/namelist_cfg cd NEMO/tests/CPL_ORCA2_ICE_PISCES cp cpp_CPL_ORCA2_ICE_PISCES.fcm cpp_CPL_ORCA2_ICE_PISCES.fcm_with_io remove key_iomput from cpp_CPL_ORCA2_ICE_PISCES.fcm 5. Compilation + links with OASIS3-MCT libraries: Put your arch-your_arch_suffix.fcm in NEMO/arch (At Cerfacs : arch-mpiifort_kraken_cerfacs) cd ../../ ./makenemo -m $ARCH -j 6 -a CPL_ORCA2_ICE_PISCES (At Cerfacs : ./makenemo -m mpiifort_kraken_cerfacs -j 6 -a CPL_ORCA2_ICE_PISCES) Clean: rm -rf tests/CPL_ORCA2_ICE_PISCES/BLD tests/CPL_ORCA2_ICE_PISCES/WORK ++++++++++++++++++++++++++ TOYATM : ++++++++++++++++++++++++++ 6. Sources: In ${my_repository}/NEMO/tools/TOYATM see NEMO Sources (section 4.) 7. Compilation + links with OASIS3-MCT libraries: cd NEMO/tools rm -rf TOYATM/toyatm.exe TOYATM/BLD ./maketools -m '$ARCH' -n 'TOYATM' (at Cerfacs : ./maketools -m mpiifort_kraken_cerfacs -n 'TOYATM') ++++++++++++++++++++++++++++++++++++++++ Running TOYATM+OASIS3-MCT+NEMO : ++++++++++++++++++++++++++++++++++++++++ 1. Download input files NetCDF Input files are located on the web site of NEMO_4.0 of LOCEAN: https://forge.ipsl.jussieu.fr/nemo/chrome/site/doc/NEMO/guide/html/configurations.html?highlight=users%20reference%20configurations#list-of-configurations https://zenodo.org/record/1472245 2. Get and untar the input files : ORCA2_ICE_v4.0.tar, INPUTS_PISCES_v4.0.tar mkdir NEMO/tests/CPL_ORCA2_ICE_PISCES/EXP00/Inputs cp ${download_repository}/ORCA2_ICE_v4.0.tar ${my_repository}/NEMO/tests/CPL_ORCA2_ICE_PISCES/EXP00/Inputs cp ${download_repository}/INPUTS_PISCES_v4.0.tar ${my_repository}/NEMO/tests/CPL_ORCA2_ICE_PISCES/EXP00/Inputs cd ${my_repository}/NEMO/tests/CPL_ORCA2_ICE_PISCES/EXP00/Inputs tar -xvf ORCA2_ICE_v4.0.tar tar -xvf INPUTS_PISCES_v4.0.tar rm ORCA2_ICE_v4.0.tar rm INPUTS_PISCES_v4.0.tar gunzip * 3. Adapt the lauching script batch_script_example or batch_script_kraken located in NEMO/tests/CPL_ORCA2_ICE_PISCES/EXPREF