source: CPL/oasis3/trunk/util/compile/frames/include_ada/Compile_mode_libs_ada.h @ 2258

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

Modified to use NetCDF parallel version on ada supercomputer.

  • Property svn:executable set to *
File size: 1.0 KB
Line 
1# Compile modes (specified by user): libraries on ada
2#
3#     Note : - all libraries are compiled with -Pstack
4#            - the models use their own (stack/static) option
5#           
6  if [ $compile_mode = default ];   then
7    optc=" " 
8    optf="-shared-intel -mcmodel=large -convert big_endian"
9    optf77="-shared-intel -mcmodel=large -convert big_endian"
10    optl="-shared-intel -mcmodel=large -Wl,-rpath=/smplocal/pub/NetCDF/4.1.3/mpi/lib:/smplocal/pub/HDF5/1.8.9/par/lib"
11  elif [ $compile_mode = debug ];   then
12    optc=" "
13    optf="-convert big_endian"
14    optf77="-convert big_endian"
15    optl=""
16  elif [ $compile_mode = profile ]; then
17    echo "not yet possible"
18    exit 1
19  elif [ $compile_mode = opt ];     then
20    optc=""
21    optf="-convert big_endian"
22    optf77="-convert big_endian"
23    optl=""
24  elif [ $compile_mode = ad_hoc ];  then
25    echo "with this option the options are set through GUI input"
26    exit 1
27  else
28    echo "Invalid compile mode"
29    exit 1
30  fi
31
32# Other compile options
33
34  optdbl="-i4 -r8"
35  optnh=""
36  lstflags=""
Note: See TracBrowser for help on using the repository browser.