source: CPL/oasis3/trunk/util/compile/frames/include_curie/Sitespecific_curie.h

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

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

File size: 1.2 KB
Line 
1############### Site and OS dependent specifications ###########################
2#
3#                curie :  part of name of header file
4#                NODE   : where the model is compiled
5
6  if   [ ${NODE} != curie ]; 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 curie 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${NETCDF_LIB_DIR} -lnetcdff -lnetcdf"
32  export NETCDF_INCLUDE=${NETCDF_INC_DIR}
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 ` mpif90 -V ` 
43  fi
44
45  export F90com=mpif90
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.