source: CPL/oasis3/trunk/util/compile/frames/include_mercure/Sitespecific_mercure.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#                mercure :  part of name of header file
4#                NODE   : where the model is compiled
5
6  if   [ ${NODE} != mercure ]; 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 mercure node (cross compiling for SX)'
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=SX                                                                 
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 NETCDFROOT=${NETCDF_SX_INCLUDEDIR:-/usr/local/SX8/soft/netcdf/include}/..
32  export NETCDF_LIB="-L${NETCDFROOT}/lib -lnetcdf"
33  export NETCDF_INCLUDE=${NETCDFROOT}/include
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 ` sxf90 -V ` 
43  fi
44
45  export F90com=sxmpif90
46  export f90com=${F90com}
47  export Fcom=${F90com}
48  export fcom=${F90com}
49
50  export cc=sxmpic++
51  export ar=sxar
52  export as="sxas"
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.