Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 6b10b879 authored by HOURDIN Christophe's avatar HOURDIN Christophe
Browse files

croco compilation on several procs (if AGRIf=false)

parent c17a7673
...@@ -75,7 +75,7 @@ XIOS_ROOT_DIR="<xios_dir>" ...@@ -75,7 +75,7 @@ XIOS_ROOT_DIR="<xios_dir>"
# Use GNU Make command, else make # Use GNU Make command, else make
# #
MAKE="<make>" MAKE="<make>"
which $MAKE > /dev/null 2>&1 || MAKE=make #which $MAKE > /dev/null 2>&1 || MAKE=make
# #
# clean scratch area # clean scratch area
......
...@@ -11,7 +11,6 @@ export STOREDIR=${CCCSTOREDIR} ...@@ -11,7 +11,6 @@ export STOREDIR=${CCCSTOREDIR}
# croco # croco
export CROCO_SOURCE="/ccc/work/cont005/gen1140/hourdinc/croco_v2.00_orig/OCEAN" export CROCO_SOURCE="/ccc/work/cont005/gen1140/hourdinc/croco_v2.00_orig/OCEAN"
export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch_${COMPUTER}" export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch_${COMPUTER}"
export MAKE="make"
export MPIF90="mpif90" export MPIF90="mpif90"
export FC="ifort" export FC="ifort"
export IFORT_FFLAGS1="-O3 -fno-alias -i4 -r8 -fp-model precise" # production export IFORT_FFLAGS1="-O3 -fno-alias -i4 -r8 -fp-model precise" # production
...@@ -19,6 +18,11 @@ export FC="ifort" ...@@ -19,6 +18,11 @@ export FC="ifort"
#export IFORT_FFLAGS1="-O0 -g -i4 -r8 -traceback -check all -check bounds -check uninit -CA -CB -CS -ftrapuv -fpe1" # debug jobcomp v2.00_orig #export IFORT_FFLAGS1="-O0 -g -i4 -r8 -traceback -check all -check bounds -check uninit -CA -CB -CS -ftrapuv -fpe1" # debug jobcomp v2.00_orig
export NETCDFLIB="\$(nf-config --flibs)" export NETCDFLIB="\$(nf-config --flibs)"
export NETCDFINC="-I\$(nf-config --includedir)" export NETCDFINC="-I\$(nf-config --includedir)"
if [ ${AGRIFZ} == 0 ] ; then
export MAKE="make -j 8"
else
export MAKE="make"
fi
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# netcdf Input files Directory : # netcdf Input files Directory :
......
...@@ -11,7 +11,6 @@ export STOREDIR=${CCCSTOREDIR} ...@@ -11,7 +11,6 @@ export STOREDIR=${CCCSTOREDIR}
# croco # croco
export CROCO_SOURCE="/ccc/work/cont005/gen1140/hourdinc/croco_v2.00_orig/OCEAN" export CROCO_SOURCE="/ccc/work/cont005/gen1140/hourdinc/croco_v2.00_orig/OCEAN"
export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch_${COMPUTER}" export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch_${COMPUTER}"
export MAKE="make"
export MPIF90="mpif90" export MPIF90="mpif90"
export FC="ifort" export FC="ifort"
export IFORT_FFLAGS1="-O3 -fno-alias -i4 -r8 -fp-model precise" # production export IFORT_FFLAGS1="-O3 -fno-alias -i4 -r8 -fp-model precise" # production
...@@ -19,6 +18,11 @@ export FC="ifort" ...@@ -19,6 +18,11 @@ export FC="ifort"
#export IFORT_FFLAGS1="-O0 -g -i4 -r8 -traceback -check all -check bounds -check uninit -CA -CB -CS -ftrapuv -fpe1" # debug jobcomp v2.00_orig #export IFORT_FFLAGS1="-O0 -g -i4 -r8 -traceback -check all -check bounds -check uninit -CA -CB -CS -ftrapuv -fpe1" # debug jobcomp v2.00_orig
export NETCDFLIB="\$(nf-config --flibs)" export NETCDFLIB="\$(nf-config --flibs)"
export NETCDFINC="-I\$(nf-config --includedir)" export NETCDFINC="-I\$(nf-config --includedir)"
if [ ${AGRIFZ} == 0 ] ; then
export MAKE="make -j 8"
else
export MAKE="make"
fi
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# netcdf Input files Directory : # netcdf Input files Directory :
......
...@@ -11,7 +11,6 @@ export STOREDIR=${STORE} ...@@ -11,7 +11,6 @@ export STOREDIR=${STORE}
# croco # croco
export CROCO_SOURCE="/gpfswork/rech/eee/reee084/croco_v2.00_orig/OCEAN" export CROCO_SOURCE="/gpfswork/rech/eee/reee084/croco_v2.00_orig/OCEAN"
export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch_${COMPUTER}" export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch_${COMPUTER}"
export MAKE="make"
export MPIF90="mpiifort" export MPIF90="mpiifort"
export FC="ifort" export FC="ifort"
export IFORT_FFLAGS1="-O3 -fno-alias -i4 -r8 -fp-model precise" # production export IFORT_FFLAGS1="-O3 -fno-alias -i4 -r8 -fp-model precise" # production
...@@ -19,6 +18,11 @@ export FC="ifort" ...@@ -19,6 +18,11 @@ export FC="ifort"
#export IFORT_FFLAGS1="-O0 -g -i4 -r8 -traceback -check all -check bounds -check uninit -CA -CB -CS -ftrapuv -fpe1" # debug jobcomp v2.00_orig #export IFORT_FFLAGS1="-O0 -g -i4 -r8 -traceback -check all -check bounds -check uninit -CA -CB -CS -ftrapuv -fpe1" # debug jobcomp v2.00_orig
export NETCDFLIB="-lnetcdff -lnetcdf" export NETCDFLIB="-lnetcdff -lnetcdf"
export NETCDFINC="" export NETCDFINC=""
if [ ${AGRIFZ} == 0 ] ; then
export MAKE="make -j 8"
else
export MAKE="make"
fi
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# netcdf Input files Directory : # netcdf Input files Directory :
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment