Last change
on this file since 357 was
331,
checked in by aslmd, 13 years ago
|
MESOSCALE: minor changes in scripts following tests on new machines and tests with g95 and gfortran. problems reported in NOTES.txt.
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
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 | #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" |
---|
29 | export F90=gfortran |
---|
30 | export FCFLAGS="-O2 -ffree-form" |
---|
31 | export CPPFLAGS="" |
---|
32 | export CC=gcc |
---|
33 | export CFLAGS="-O2" |
---|
34 | export CXX=g++ |
---|
35 | export CXXFLAGS="-O2" |
---|
36 | |
---|
37 | mkdir /donnees/aslmd/MODELES/MESOSCALE_DEV/NETCDF/netcdf64-4.0.1_gfortran |
---|
38 | ./configure --prefix=/donnees/aslmd/MODELES/MESOSCALE_DEV/NETCDF/netcdf64-4.0.1_gfortran #> 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.