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

Last change on this file since 1996 was 1996, checked in by aclsce, 9 years ago

On ada, delete -Bstatic option to use dynamic netcdf library instead of static library.

  • 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/lib -lnetcdff -lnetcdf -lnetcdf_c++ -L/smplocal/pub/HDF5/1.8.9/seq/lib -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -Bdynamic -lz"
32  export NETCDF_INCLUDE="/smplocal/pub/NetCDF/4.1.3/include"
33
34
35  ##export LIB1=" -llapack -lblas "
36
37  export SYS_INCLUDE=./
38
39  if [ "$MAKETARGET" = "all" ] || [ "$MAKETARGET" = "lib" ]; then
40    echo ' '
41    echo 'Compiler revision :'
42    echo ` mpiifort  -V ` 
43  fi
44
45  export F90com=mpiifort
46  export f90com=${F90com}
47  export Fcom=${F90com}
48  export fcom=${F90com}
49
50  export cc=cc
51  export ar=ar
52  export as=""
53  export cp=cp
54
55  PATH=$SRCROOT/util:$PATH
56
57  alias make="gmake"
58
Note: See TracBrowser for help on using the repository browser.