/[MITgcm]/MITgcm/tools/build_options/linux_ia64_cray_ollie
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia64_cray_ollie

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by mlosch, Mon Aug 29 14:39:28 2016 UTC revision 1.7 by mlosch, Mon Mar 13 09:28:07 2017 UTC
# Line 61  F90FLAGS=$FFLAGS Line 61  F90FLAGS=$FFLAGS
61  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM
62  CFLAGS="-O0 $MCMODEL"  CFLAGS="-O0 $MCMODEL"
63    
64    
65    if [ "x$NETCDF_ROOT" != x ] ; then
66        INCLUDEDIRS="${NETCDF_ROOT}/include"
67        INCLUDES="-I${NETCDF_ROOT}/include"
68        LIBS="-L${NETCDF_ROOT}/lib"
69    elif [ "x$NETCDF_HOME" != x ]; then
70        INCLUDEDIRS="${NETCDF_HOME}/include"
71        INCLUDES="-I${NETCDF_HOME}/include"
72        LIBS="-L${NETCDF_HOME}/lib"
73    elif [ "x$NETCDF_INC" != x -a "x$NETCDF_LIB" != x ]; then
74        NETCDF_INC=`echo $NETCDF_INC | sed 's/-I//g'`
75        NETCDF_LIB=`echo $NETCDF_LIB | sed 's/-L//g'`
76        INCLUDEDIRS="${NETCDF_INC}"
77        INCLUDES="-I${NETCDF_INC}"
78        LIBS="-L${NETCDF_LIB}"
79    fi
80    
81  if [ -n "$MPI_ROOT" -a -z "$MPI_INC_DIR" ]; then  if [ -n "$MPI_ROOT" -a -z "$MPI_INC_DIR" ]; then
82      MPI_INC_DIR=${MPI_ROOT}/include      MPI_INC_DIR=${MPI_ROOT}/include
83  fi  fi

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22