source: trunk/MESOSCALE_DEV/NETCDF/g95_netcdf_regular @ 937

Last change on this file since 937 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
5tar 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
12here=$PWD
13zename=g95_64_regular_netcdf-3.6.1
14
15mkdir $zename
16cd netcdf-3.6.1/src
17
18export CPPFLAGS=-Df2cFortran
19export CC=gcc
20export CFLAGS="-O2"
21export CXX=g++
22export CXXFLAGS="-O2"
23export FC=g95
24export FFLAGS=" -cpp -O2"
25export F90=g95
26export F90FLAGS=" -cpp -ffree-form -O2"
27
28./configure --prefix=$here/$zename > $here/$zename/configure.log 2>&1
29make > $here/$zename/make.log 2>&1
30make test > $here/$zename/make_test.log 2>&1
31make install > $here/$zename/make_install.log 2>&1
Note: See TracBrowser for help on using the repository browser.