source: CPL/oasis3/trunk/util/compile/frames/include_ada/Sitespecific_ada.h @ 2258

Last change on this file since 2258 was 2258, checked in by aclsce, 7 years ago

Modified to use NetCDF parallel version on ada supercomputer.

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1############### Site and OS dependent specifications ###########################
2#
3#                ada :  part of name of header file
4#                NODE   : where the model is compiled
5
6  if   [ ${NODE} != ada ]; then
7    echo ' The OS/Site dependent specifications are not for this machine.'
8    echo ' Node name of this machine:' ${NODE}
9    echo ' Script setup is for use on a ada node '
10  if [ "$MAKETARGET" != "tar" ]; then
11    echo ' The task is stopped!'
12    exit 1
13  fi
14  fi
15
16  if [ "$MAKETARGET" = "lib" ]; then
17    echo ' '
18    echo 'No executable will be created. '
19  fi
20  export ARCH=X64
21  export BLDROOT=$SRCROOT/$ARCH
22
23  set +u
24  if [[ -z "$LD_LIBRARY_PATH0" ]]; then
25    LD_LIBRARY_PATH0=""
26  fi
27  set -u
28
29  export MPI_INCLUDE=""
30
31  export NETCDF_LIB="-L/smplocal/pub/NetCDF/4.1.3/mpi/lib -lnetcdff -lnetcdf -lnetcdf_c++ -L/smplocal/pub/HDF5/1.8.9/par/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -Bdynamic -lz"
32  export NETCDF_INCLUDE="/smplocal/pub/NetCDF/4.1.3/mpi/include"
33
34  ##export LIB1=" -llapack -lblas "
35
36  export SYS_INCLUDE=./
37
38  if [ "$MAKETARGET" = "all" ] || [ "$MAKETARGET" = "lib" ]; then
39    echo ' '
40    echo 'Compiler revision :'
41    echo ` mpiifort  -V ` 
42  fi
43
44  export F90com=mpiifort
45  export f90com=${F90com}
46  export Fcom=${F90com}
47  export fcom=${F90com}
48
49  export cc=cc
50  export ar=ar
51  export as=""
52  export cp=cp
53
54  PATH=$SRCROOT/util:$PATH
55
56  alias make="gmake"
57
Note: See TracBrowser for help on using the repository browser.