Changeset 5280


Ignore:
Timestamp:
2015-05-15T19:55:34+02:00 (5 years ago)
Author:
nicolasmartin
Message:

dev_r5092_CNRS_SETTE Updates

Location:
branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/ARCH/CNRS/arch-X64_ADA_trust.fcm

    r5228 r5280  
    3131%NCDF_HOME           # module load netcdf/mpi/4.1.3 
    3232%HDF5_HOME           # module load netcdf/mpi/4.1.3 
    33 %XIOS_HOME           $WORKDIR/XIOS/branchs/xios-1.0 
     33%XIOS_HOME           ${DIR_XIOS} 
    3434%OASIS_HOME           
    3535 
    36 %NCDF_INC             
    37 %NCDF_LIB             
     36%NCDF_INC            -I${NETCDF_INCDIR} 
     37%NCDF_LIB            -L${NETCDF_LIBDIR} ${NETCDF_LDFLAGS} -lnetcdff 
    3838%XIOS_INC            -I%XIOS_HOME/inc  
    3939%XIOS_LIB            -L%XIOS_HOME/lib -lxios 
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.env

    r5276 r5280  
    66export DATESTR=$( LC_ALL=C date -d"${date_test}" +%Y%m%dT%H%M ) 
    77 
     8# External softs directories 
     9export DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 DIR_OASI=${DIR_WORK}/OASIS 
     10 
     11# Environment architecture (XIOS for compliance) 
     12. ${DIR_XIOS}/arch/arch-${ARCH}.env 
     13 
    814# Super-computers configuration 
    915if   [ $USER == ${IDRIS_ID} ]; then  
    10     ARCH=X64_ADA_trust 
     16    ARCH=X64_ADA_trust  ; COMPILER=ifort; MPI=intel 
    1117    # Job commands : LoadLeveler 
    1218    JOB_SUB=llsubmit; JOB_LIST=llq    ; JOB_VIEW='llq -xl'; JOB_DEL=llcancel                           
    13     # Directories $HOME $WORKDIR $COMMONDIR $TMPDIR 
     19    # Directories $HOME $WORKDIR $COMMONDIR $TMPDIR     ergon 
    1420    DIR_WORK=$WORKDIR   ; DIR_SCRA=$TMPDIR/trusting    ; DIR_STOR=trusting_sav 
    1521elif [ $USER == ${TGCC_ID}  ]; then 
    16     ARCH=X64_CURIE_trust 
     22    ARCH=X64_CURIE_trust; COMPILER=ifort; MPI=bullxmpi 
    1723    # Job commands : ccc_* 
    1824    JOB_SUB=ccc_msub; JOB_LIST=ccc_mpp; JOB_VIEW=ccc_macct; JOB_DEL=ccc_mdel                           
     
    2026    DIR_WORK=$CCCWORKDIR; DIR_SCRA=$SCRATCHDIR/trusting; DIR_STOR=$CCCSTOREDIR/trusting_sav 
    2127else 
    22     ARCH='' 
     28    ARCH=''             ; COMPILER=''   ; MPI='' 
    2329    JOB_SUB=''      ; JOB_LIST=''     ; JOB_VIEW=''       ; JOB_DEL=''                                 
    2430    DIR_WORK=''      ; DIR_SCRA=''                  ; DIR_STOR='' 
    2531fi 
    2632 
    27 export ARCH 
     33[ -z "$FC" ] && COMPILER=$FC 
     34 
     35export ARCH     COMPILER MPI 
    2836export JOB_SUB  JOB_LIST JOB_VIEW JOB_DEL  
    2937export DIR_WORK DIR_SCRA DIR_STOR  
     
    3846export NEMO_FORC=${DIR_WORK}/NEMO/FORC FORC_TAR=ORCA2_LIM_nemo_v3.6.tar 
    3947 
    40 # External softs directories 
    41 export DIR_XIOS=${DIR_WORK}/XIOS/xios-1.0 DIR_OASI=${DIR_WORK}/OASIS 
    42  
    43 # Environment architecture (XIOS for compliance) 
    44 . ${DIR_XIOS}/arch/arch-${ARCH}.env 
    45  
    4648# Comparatives directories localization 
    47 DIR_REFE=${DIR_STOR}/${CONF_REF}/${NEMO_BRAN} 
    48 DIR_TEST=${DIR_SCRA}/${CONF_REF}/${NEMO_BRAN}/trusting_${DATESTR} 
     49DIR_REFE=${DIR_STOR}/${CONF_REFE}/${NEMO_BRAN} 
     50DIR_TEST=${DIR_SCRA}/${CONF_REFE}/${NEMO_BRAN}/trusting_${DATESTR} 
    4951export DIR_REFE DIR_TEST 
  • branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.sh

    r5276 r5280  
    55DEBUG=0; PUBLISH=0; status='OK' 
    66NEMO_BRAN=trunk; # dev_r5092_CNRS_SETTE dev_v3_4_STABLE_2012 
    7 compiler=ifort   # gfortran f95 f90 pgfortran pgf95 pgf90 mpifort mpif90 
    8 mpi=bullxmpi     # openmpi mpich intel mpxlf 
     7CONF_REFE=ORCA2_LIM_PISCES 
     8CONF_TEST=${CONF_REFE}_trust 
     9#COMPILER=ifort gfortran f95 f90 pgfortran pgf95 pgf90 mpifort mpif90 mpiifort 
     10#MPI=bullxmpi openmpi mpich intel mpxlf 
    911 
    1012 
     
    4547#  
    4648#============================================= 
    47 for rel in $compiler $mpi netcdf; do 
     49for rel in $COMPILER $MPI netcdf; do 
    4850    printf "Step......................\nGet $rel release\n" > mesg_03_step.txt 
    4951    arch_rel=$( echo $LOADEDMODULES | sed "s#.*:$rel/\([^:]*\).*#\1#" ) 
    5052    [ -z "${arch_rel}" ] && arch_rel=$( echo $PATH | sed "s#.*$rel/\([^/]*\).*#\1#" ) 
    51     [[ $rel == $compiler && -z "$FC" ]] && arch_rel=$FC 
     53    [[ $rel == $COMPILER && -z "$FC" ]] && arch_rel=$( $FC --version | grep -m1 -o ' [0-9.]* ' ) 
    5254    echo $rel ${arch_rel} >> model.log 
    5355done 
    5456 
    5557sed -n 1p model.log | sed 'i\Fortran compiler' > mesg_04_curiec.txt 
    56 sed -n 2p model.log | sed 'i\MPI             ' > mesg_05_mpicurie.txt 
    57 sed -n 3p model.log | sed 'i\NetCDF          ' > mesg_06_netcdf_curie.txt 
     58sed -n 2p model.log | sed 'i\MPI libraries   ' > mesg_05_mpicurie.txt 
     59sed -n 3p model.log | sed 'i\NetCDF libraries' > mesg_06_netcdf_curie.txt 
    5860 
    5961 
     
    7375printf "Step......................\nCompilation NEMO configuration %s\n" ${CONF_REF} > mesg_03_step.txt 
    7476cd ${NEMO_CONF} 
    75 ./makenemo -n ${CONF_TEST} clean 
     77#[ -d ${CONF_TEST} ] && ./makenemo -n ${CONF_TEST} clean 
    7678./makenemo -n ${CONF_TEST} -r ${CONF_REFE} -m $ARCH -j 16 #> /dev/null 2>&1 
    7779[ ! -e ${CONF_TEST}/BLD/bin/nemo.exe ] && getout 
Note: See TracChangeset for help on using the changeset viewer.