Last change
on this file since 191 was
27,
checked in by aslmd, 14 years ago
|
spiga:mineur ajout des cuisines de secours NETCDF avec 3.6.1
|
-
Property svn:executable set to
*
|
File size:
574 bytes
|
Line | |
---|
1 | #! /bin/bash |
---|
2 | |
---|
3 | |
---|
4 | #wget http://www.lmd.jussieu.fr/~hourdin/PATCH_LMDZ4OR_G95/netcdf-3.6.1.tar.gz |
---|
5 | #gunzip netcdf-3.6.1.tar.gz |
---|
6 | tar xvf netcdf-3.6.1.tar |
---|
7 | |
---|
8 | cd netcdf-3.6.1 |
---|
9 | |
---|
10 | export CC=gcc |
---|
11 | export CXX=g++ |
---|
12 | export CPP='gcc -E' |
---|
13 | export FC=gfortran |
---|
14 | export F77=gfortran |
---|
15 | export F90=gfortran |
---|
16 | export CFLAGS='-O2 -DpgiFortran' |
---|
17 | export CXXFLAGS='-O2 -DpgiFortran' |
---|
18 | export CPPFLAGS='-DpgiFortran' |
---|
19 | export FFLAGS='-O2 -fno-second-underscore' |
---|
20 | export FCFLAGS='-O2 -fno-second-underscore' |
---|
21 | export F90FLAGS='-O2 -fno-second-underscore' |
---|
22 | |
---|
23 | cd src |
---|
24 | # Compilation |
---|
25 | ./configure |
---|
26 | make check |
---|
27 | make install |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.