source: trunk/LMDZ.MARS/util/compile @ 357

Last change on this file since 357 was 275, checked in by emillour, 13 years ago

Utilitaire pour GCM Mars: "expandstartfi" pour mettre le contenu d'un startfi.nc
sur une grille lonxlat pour faire des visus.
EM

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1# The following script can be used to compile one of the utilities
2# program. Example of use :
3# > compile concat
4# > compile zrecast
5 pgf90 -Bstatic   $1.F90 \
6-I/distrib/local/netcdf/pgi_7.1-6_32/include \
7-L/distrib/local/netcdf/pgi_7.1-6_32/lib -lnetcdf  -o $1.e
8
9
10# Before running that on you computer you might want to change :
11# 1) replace "pgf90" with the name of your favorite compiler
12#    (you may also add some non-agressive optimization options e.g. -O2)
13# 2) replace "/distrib/local/netcdf/pgi_7.1-6_32/lib" with the
14# address of the
15# directory that contains the NetCDF library (file libnetcdf.a that can
16# be obtained for free on
17# http://www.unidata.ucar.edu/packages/netcdf/index.html
18# (see user manual)
19#
20# 3) Replace "/distrib/local/netcdf/pgi_7.1-6_32/lib" with the address of the
21# directory that contains the NetCDF  include file "netcdf.inc"
22# that can be obtained at the web address above.
23#
24# 4) The "-Bstatic" option is here to ensure that the executable will
25# work on any Linux machine (only necessary if you want to export the
26# executable from a machine to another).
27
28
29
30
Note: See TracBrowser for help on using the repository browser.