source: trunk/MESOSCALE_DEV/NETCDF/gfortran_netcdf4 @ 357

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
9cp /donnees/emlmd/Downloads/Software/netcdf-4.0.1.tar.gz .
10gunzip netcdf-4.0.1.tar.gz
11tar xvf netcdf-4.0.1.tar
12cd 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
27export FC=gfortran
28export FFLAGS=" -O2"
29export F90=gfortran
30export FCFLAGS="-O2 -ffree-form"
31export CPPFLAGS=""
32export CC=gcc
33export CFLAGS="-O2"
34export CXX=g++
35export CXXFLAGS="-O2"
36
37mkdir /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
39make #> make.log 2>&1
40make test #> make_test.log 2>&1
41make 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.