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