Changes between Version 2 and Version 3 of IncaCiclad


Ignore:
Timestamp:
01/22/20 16:39:52 (4 years ago)
Author:
xuezhou
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IncaCiclad

    v2 v3  
    1 = Lancer une simulation LMDZORINCA sur CICLAD = 
    2 Les tests lmdzorinca sur Ciclad sont faits avec l'aide des informations sur le site :  [https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/ESPRImesocenter] 
     1LMDEZORINCA tests at Ciclad are done with the help of information on the site :  [https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc/ComputingCenters/ESPRImesocenter] 
    32 
    4 Comme sur Irène, le répertoire de soumission est généré par le script ins_job. Un seul MPI est utilisé, par conséquence il faut demander plus de mémoire.  
    5 Par exemple, pour un test AER (96*95*19) avec 48MPI, 1OMP, nous demandons : 
    6 #PBS -l mem=60gb 
    7 #PBS -l vmem=300gb  
     3First of all, the environment should be defined by adding  
     4{{{ 
     5. /home/igcmg/.atlas_env_ciclad_ksh 
     6}}} in {{{${HOME}/.bashrc}}}\\ 
     7 
     8= Compilation at Ciclad = 
     9The LMDEZORINCA can be extracted as usual. At Ciclad, ifort is the default compiler. The models LMDZOR_v6 and ORCHIDEE have been tested successfully. Therefore only in INCA model arch-ifort_CICLAD.fcm and  arch-ifort_CICLAD.path should be added. 
     10Here is a example:  
     11arch-ifort_CICLAD.fcm: 
     12{{{ 
     13%COMPILER            /usr/lib64/openmpi/1.4.5-ifort/bin/mpif90  
     14%LINK                /usr/lib64/openmpi/1.4.5-ifort/bin/mpif90 
     15%AR                  ar 
     16%MAKE                gmake 
     17%FPP_FLAGS           -P -traditional 
     18%FPP_DEF             CPP_FLUSH 
     19%BASE_FFLAGS         -i4 -r8 -fp-model precise   
     20%PROD_FFLAGS         -O3 
     21%DEV_FFLAGS          -g -O2 -traceback -fp-stack-check -ftrapuv -check bounds 
     22%DEBUG_FFLAGS        -fpe0 -O0 -g -traceback -fp-stack-check -ftrapuv -check bounds -check all 
     23%MPI_FFLAGS 
     24%OMP_FFLAGS          -openmp -openmp-threadprivate compat 
     25%BASE_LD             -i4 -r8 
     26%MPI_LD 
     27%OMP_LD              -openmp 
     28}}} 
     29 
     30arch-ifort_CICLAD.path: 
     31 
     32{{{ 
     33NETCDF_INCDIR="-I/opt/netcdf42/ifort/include" 
     34NETCDF_LIBDIR="-L/opt/netcdf42/ifort/lib" 
     35NETCDF_LIB="-lnetcdf -lnetcdff -lstdc++" 
     36 
     37IOIPSL_INCDIR="-I${INCADIR}/../../lib -I${INCADIR}/../IOIPSL/inc" 
     38IOIPSL_LIBDIR="-L${INCADIR}/../../lib -L${INCADIR}/../IOIPSL/lib" 
     39IOIPSL_LIB="-lioipsl" 
     40 
     41XIOS_INCDIR="-I${INCADIR}/../XIOS/inc" 
     42XIOS_LIBDIR="-L${INCADIR}/../XIOS/lib" 
     43XIOS_LIB="-lxios" 
     44 
     45ORCH_INCDIR="-I${INCADIR}/../../lib" 
     46ORCH_LIBDIR="-L${INCADIR}/../../lib" 
     47}}} 
     48 
     49A pre_proc_ifort_CICLAD.x file should also be added, which can copy pre_proc_X64_IRENE.x and just modifier inca_pp.x64 by inca_pp.ciclad. 
     50  
     51As at other servers, the script ins_make is used to generate makefiles.  
     52In Makefile, for xios : --netcdf_lib netcdf4_seq is added.  
     53{{{ 
     54xios : 
     55        (cd  ../../modeles/XIOS ; ./make_xios  \ 
     56--netcdf_lib netcdf4_seq \ 
     57--prod --arch ${FCM_ARCH} --job 8 ; cp bin/xios_server.exe ../../bin/. ; ) 
     58}}} 
     59 
     60P.S. Without this line, it seems to work too.  
     61 
     62= Run a simulation LMDZORINCA at CICLAD = 
     63As at Irène, a submit directory is created by launching ins_job. At Ciclad only one OMP and one MPI for xios, therefore more memory is required.  
     64For instance, for a test AER (96*95*19) with 48MPI and 1OMP #PBS -l mem=60gb #PBS -l vmem=300gb can be set.