source: CPL/oasis3/trunk/util/compile/frames/include_ada/Compile_mode_oasis3_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: 983 bytes
Line 
1# Compile modes (specified by user) : oasis3 on ada
2
3  if [ $compile_mode = default ];   then
4    optc=" " 
5    optf="-shared-intel -mcmodel=large -convert big_endian"
6    optf77="-shared-intel -mcmodel=large -convert big_endian"
7    optl="-shared-intel -mcmodel=large -Wl,-rpath=/smplocal/pub/NetCDF/4.1.3/mpi/lib:/smplocal/pub/HDF5/1.8.9/par/lib"
8  elif [ $compile_mode = debug ];   then
9    optc=" "
10    optf="-convert big_endian"
11    optf77="-convert big_endian"
12    optl=""
13  elif [ $compile_mode = profile ]; then
14    optc=" "
15    optf="-convert big_endian"
16    optf77="-convert big_endian"
17    optl=""
18  elif [ $compile_mode = opt ];     then
19    optc=""
20    optf="-convert big_endian"
21    optf77="-convert big_endian"
22    optl=""
23  elif [ $compile_mode = ad_hoc ];  then
24    echo "with this option the options are set through GUI input"
25    exit 1
26  else
27    echo "Invalid compile mode"
28    exit 1
29  fi
30
31# Other compile options
32
33  optdbl="-i4 -r8"
34  optnh=""
35  lstflags=""
36
Note: See TracBrowser for help on using the repository browser.