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 |
| 3 | First 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 = |
| 9 | The 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. |
| 10 | Here is a example: |
| 11 | arch-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 | |
| 30 | arch-ifort_CICLAD.path: |
| 31 | |
| 32 | {{{ |
| 33 | NETCDF_INCDIR="-I/opt/netcdf42/ifort/include" |
| 34 | NETCDF_LIBDIR="-L/opt/netcdf42/ifort/lib" |
| 35 | NETCDF_LIB="-lnetcdf -lnetcdff -lstdc++" |
| 36 | |
| 37 | IOIPSL_INCDIR="-I${INCADIR}/../../lib -I${INCADIR}/../IOIPSL/inc" |
| 38 | IOIPSL_LIBDIR="-L${INCADIR}/../../lib -L${INCADIR}/../IOIPSL/lib" |
| 39 | IOIPSL_LIB="-lioipsl" |
| 40 | |
| 41 | XIOS_INCDIR="-I${INCADIR}/../XIOS/inc" |
| 42 | XIOS_LIBDIR="-L${INCADIR}/../XIOS/lib" |
| 43 | XIOS_LIB="-lxios" |
| 44 | |
| 45 | ORCH_INCDIR="-I${INCADIR}/../../lib" |
| 46 | ORCH_LIBDIR="-L${INCADIR}/../../lib" |
| 47 | }}} |
| 48 | |
| 49 | A 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 | |
| 51 | As at other servers, the script ins_make is used to generate makefiles. |
| 52 | In Makefile, for xios : --netcdf_lib netcdf4_seq is added. |
| 53 | {{{ |
| 54 | xios : |
| 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 | |
| 60 | P.S. Without this line, it seems to work too. |
| 61 | |
| 62 | = Run a simulation LMDZORINCA at CICLAD = |
| 63 | As 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. |
| 64 | For instance, for a test AER (96*95*19) with 48MPI and 1OMP #PBS -l mem=60gb #PBS -l vmem=300gb can be set. |