Last change
on this file since 1379 was
1366,
checked in by slebonnois, 10 years ago
|
SL: zrecast corrected and tested to be compatible with Venus and Titan. Adopted.
|
-
Property svn:executable set to
*
|
File size:
1.4 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 | |
---|
6 | # pgf sur les machines du LMD: |
---|
7 | #----------------------------- |
---|
8 | #pgf95 -Bstatic $1.F90 \ |
---|
9 | #-I/distrib/local/netcdf/pgi_7.1-6_64/include \ |
---|
10 | #-L/distrib/local/netcdf/pgi_7.1-6_64/lib -lnetcdf -o $1.e |
---|
11 | |
---|
12 | # ifort |
---|
13 | #------ |
---|
14 | ifort $1.F90 \ |
---|
15 | -I$NETCDF/include \ |
---|
16 | -L$NETCDF/lib -lnetcdf -o $1.e |
---|
17 | |
---|
18 | #----------------------------------------------------------------- |
---|
19 | # Before running that on you computer you might want to change : |
---|
20 | #----------------------------------------------------------------- |
---|
21 | # 1) replace "pgf90" with the name of your favorite compiler |
---|
22 | # (you may also add some non-agressive optimization options e.g. -O2) |
---|
23 | # 2) replace "/distrib/local/netcdf/pgi_7.1-6_32/lib" with the |
---|
24 | # address of the |
---|
25 | # directory that contains the NetCDF library (file libnetcdf.a that can |
---|
26 | # be obtained for free on |
---|
27 | # http://www.unidata.ucar.edu/packages/netcdf/index.html |
---|
28 | # (see user manual) |
---|
29 | # |
---|
30 | # 3) Replace "/distrib/local/netcdf/pgi_7.1-6_32/lib" with the address of the |
---|
31 | # directory that contains the NetCDF include file "netcdf.inc" |
---|
32 | # that can be obtained at the web address above. |
---|
33 | # |
---|
34 | # 4) The "-Bstatic" option is here to ensure that the executable will |
---|
35 | # work on any Linux machine (only necessary if you want to export the |
---|
36 | # executable from a machine to another). |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.