Last change
on this file since 330 was
330,
checked in by aslmd, 13 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:
757 bytes
|
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_regular_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" |
---|
25 | export F90=g95 |
---|
26 | export F90FLAGS=" -cpp -ffree-form -O2" |
---|
27 | |
---|
28 | ./configure --prefix=$here/$zename > $here/$zename/configure.log 2>&1 |
---|
29 | make > $here/$zename/make.log 2>&1 |
---|
30 | make test > $here/$zename/make_test.log 2>&1 |
---|
31 | make install > $here/$zename/make_install.log 2>&1 |
---|
Note: See
TracBrowser
for help on using the repository browser.