############### Site and OS dependent specifications ########################### # # curie : part of name of header file # NODE : where the model is compiled if [ ${NODE} != curie ]; then echo ' The OS/Site dependent specifications are not for this machine.' echo ' Node name of this machine:' ${NODE} echo ' Script setup is for use on a curie node ' if [ "$MAKETARGET" != "tar" ]; then echo ' The task is stopped!' exit 1 fi fi if [ "$MAKETARGET" = "lib" ]; then echo ' ' echo 'No executable will be created. ' fi export ARCH=X64 export BLDROOT=$SRCROOT/$ARCH set +u if [[ -z "$LD_LIBRARY_PATH0" ]]; then LD_LIBRARY_PATH0="" fi set -u export MPI_INCLUDE="" export NETCDF_LIB="-L${NETCDF_LIB_DIR} -lnetcdff -lnetcdf" export NETCDF_INCLUDE=${NETCDF_INC_DIR} ##export LIB1=" -llapack -lblas " export SYS_INCLUDE=./ if [ "$MAKETARGET" = "all" ] || [ "$MAKETARGET" = "lib" ]; then echo ' ' echo 'Compiler revision :' echo ` mpif90 -V ` fi export F90com=mpif90 export f90com=${F90com} export Fcom=${F90com} export fcom=${F90com} export cc=cc export ar=ar export as="" export cp=cp PATH=$SRCROOT/util:$PATH alias make="gmake"