|
Last change
on this file since 1197 was
1075,
checked in by aslmd, 12 years ago
|
|
UTIL PYTHON. MCD online. previous changes after progress meeting were not committed.
|
-
Property svn:executable set to
*
|
|
File size:
1.1 KB
|
| Rev | Line | |
|---|
| [1075] | 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 | #cd netcdf-3.6.1 |
|---|
| 8 | |
|---|
| 9 | #cp /donnees/emlmd/Downloads/Software/netcdf-4.0.1.tar.gz . |
|---|
| 10 | #gunzip netcdf-4.0.1.tar.gz |
|---|
| 11 | tar xvf netcdf-4.0.1.tar |
|---|
| 12 | cd netcdf-4.0.1 |
|---|
| 13 | |
|---|
| 14 | #export CC=gcc |
|---|
| 15 | #export CXX=g++ |
|---|
| 16 | #export CPP='gcc -E' |
|---|
| 17 | #export FC=gfortran |
|---|
| 18 | #export F77=gfortran |
|---|
| 19 | #export F90=gfortran |
|---|
| 20 | #export CFLAGS='-O2 -DpgiFortran' |
|---|
| 21 | #export CXXFLAGS='-O2 -DpgiFortran' |
|---|
| 22 | #export CPPFLAGS='-DpgiFortran' |
|---|
| 23 | #export FFLAGS='-O2 -fno-second-underscore' |
|---|
| 24 | #export FCFLAGS='-O2 -fno-second-underscore' |
|---|
| 25 | #export F90FLAGS='-O2 -fno-second-underscore' |
|---|
| 26 | |
|---|
| 27 | export FC=gfortran |
|---|
| 28 | export FFLAGS=" -O2 -fPIC" |
|---|
| 29 | export F90=gfortran |
|---|
| 30 | export FCFLAGS="-O2 -ffree-form -fPIC" |
|---|
| 31 | export CPPFLAGS="" |
|---|
| 32 | export CC=gcc |
|---|
| 33 | export CFLAGS="-O2 -fPIC" |
|---|
| 34 | export CXX=g++ |
|---|
| 35 | export CXXFLAGS="-O2 -fPIC" |
|---|
| 36 | |
|---|
| 37 | mkdir /home/marshttp/NETCDF/netcdf64-4.0.1_gfortran_fPIC |
|---|
| 38 | ./configure --prefix=/home/marshttp/NETCDF/netcdf64-4.0.1_gfortran_fPIC #> configure.log 2>&1 |
|---|
| 39 | make #> make.log 2>&1 |
|---|
| 40 | make test #> make_test.log 2>&1 |
|---|
| 41 | make install #> make_install.log 2>&1 |
|---|
| 42 | |
|---|
| 43 | #cd src |
|---|
| 44 | ## Compilation |
|---|
| 45 | #./configure |
|---|
| 46 | #make check |
|---|
| 47 | #make install |
|---|
| 48 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.