New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5280 for branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/SETTE/trusting.sh – NEMO

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

dev_r5092_CNRS_SETTE Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.