source: CPL/oasis3/trunk/util/compile/frames/include_moon/Sitespecific_moon.h @ 1677

Last change on this file since 1677 was 1677, checked in by aclsce, 12 years ago

Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).

File size: 1.4 KB
Line 
1############### Site and OS dependent specifications ###########################
2#
3#                moon :  part of name of header file
4#                NODE   : where the model is compiled
5
6  if   [ ${NODE} != moon ]; then
7  if   [ ${NODE} != moon2 ]; then
8    echo ' The OS/Site dependent specifications are not for this machine.'
9    echo ' Node name of this machine:' ${NODE}
10    echo ' Script setup is for use on a moon node (cross compiling for ES)'
11  if [ "$MAKETARGET" != "tar" ]; then
12    echo ' The task is stopped!'
13    exit 1
14  fi
15  fi
16  fi
17
18  if [ "$MAKETARGET" = "lib" ]; then
19    echo ' '
20    echo 'No executable will be created. '
21  fi
22  export ARCH=ES                                                                 
23  export BLDROOT=$SRCROOT/$ARCH
24
25  set +u
26  if [[ -z "$LD_LIBRARY_PATH0" ]]; then
27    LD_LIBRARY_PATH0=""
28  fi
29  set -u
30
31  export MPI_INCLUDE=./
32
33  export NETCDFROOT=/S/home010/c0010/ES
34  export NETCDF_LIB="-L${NETCDFROOT}/lib -lnetcdf"
35  export NETCDF_INCLUDE=${NETCDFROOT}/include
36
37  export LIB1=" -L/ES/opt/mathkeisan/inst/lib0 -llapack -lblas "
38
39  export SYS_INCLUDE=./
40
41  if [ "$MAKETARGET" = "all" ] || [ "$MAKETARGET" = "lib" ]; then
42    echo ' '
43    echo 'Compiler revision :'
44    echo ` esf90 -V ` 
45  fi
46
47  export F90com=esmpif90
48  export f90com=${F90com}
49  export Fcom=${F90com}
50  export fcom=${F90com}
51
52  export cc=esmpic++
53  export ar=esar
54  export as="esas"
55  export cp=cp
56
57  PATH=$SRCROOT/util:$PATH
58
59  alias make="gmake"
60
Note: See TracBrowser for help on using the repository browser.