|
Last change
on this file since 357 was
330,
checked in by aslmd, 14 years ago
|
|
MESOSCALE: changes related to g95 support. but the model does not compile apparently. notes taken in NOTES.txt but sorry g95 with LMD_MM_MARS no longer supported at least on 64bits machines. LMDZ.MARS: minor changes related to warning while trying to compile with g95.
|
-
Property svn:executable set to
*
|
|
File size:
1.0 KB
|
| Line | |
|---|
| 1 | #! /bin/bash |
|---|
| 2 | |
|---|
| 3 | #wget http://www.lmd.jussieu.fr/~hourdin/PATCH_LMDZ4OR_G95/netcdf-3.6.1.tar.gz |
|---|
| 4 | #gunzip netcdf-3.6.1.tar.gz |
|---|
| 5 | tar xvf netcdf-3.6.1.tar |
|---|
| 6 | |
|---|
| 7 | #cp /donnees/emlmd/Downloads/Software/netcdf-4.0.1.tar.gz . |
|---|
| 8 | #gunzip netcdf-4.0.1.tar.gz |
|---|
| 9 | #tar xvf netcdf-4.0.1.tar |
|---|
| 10 | #cd netcdf-4.0.1 |
|---|
| 11 | |
|---|
| 12 | here=$PWD |
|---|
| 13 | zename=g95_64_nosecondunderscore_netcdf-3.6.1 |
|---|
| 14 | |
|---|
| 15 | mkdir $zename |
|---|
| 16 | cd netcdf-3.6.1/src |
|---|
| 17 | |
|---|
| 18 | export CPPFLAGS=-Df2cFortran |
|---|
| 19 | export CC=gcc |
|---|
| 20 | export CFLAGS="-O2" |
|---|
| 21 | export CXX=g++ |
|---|
| 22 | export CXXFLAGS="-O2" |
|---|
| 23 | export FC=g95 |
|---|
| 24 | export FFLAGS=" -cpp -O2 -fno-second-underscore" |
|---|
| 25 | #export F77=g95 |
|---|
| 26 | #export CPP='gcc -E' |
|---|
| 27 | export F90=g95 |
|---|
| 28 | export F90FLAGS=" -cpp -ffree-form -O2 -fno-second-underscore" |
|---|
| 29 | |
|---|
| 30 | #export FCFLAGS='-O2 -fno-second-underscore' |
|---|
| 31 | #### enlever CPP ??? |
|---|
| 32 | ##FCFLAGS="-g -O2 -fno-second-underscore" |
|---|
| 33 | ##FFLAGS="-g -O2 -fno-second-underscore" |
|---|
| 34 | #export CPPFLAGS=-DpgiFortran |
|---|
| 35 | |
|---|
| 36 | ./configure --prefix=$here/$zename > $here/$zename/configure.log 2>&1 |
|---|
| 37 | make > $here/$zename/make.log 2>&1 |
|---|
| 38 | make test > $here/$zename/make_test.log 2>&1 |
|---|
| 39 | make install > $here/$zename/make_install.log 2>&1 |
|---|
Note: See
TracBrowser
for help on using the repository browser.