source: trunk/MESOSCALE_DEV/NETCDF/pgfortran_64 @ 609

Last change on this file since 609 was 341, checked in by aslmd, 13 years ago

MESOSCALE: tests pour faire marcher le modele en parallele sur la ferme. toujours infructueux... toutes les notes incluses et options explorees en commentaire. les options par defaut restent les memes en attendant. ajout de scripts pour compiler NETCDF et MPI. correction d un probleme de Registry et de makemeso pour les runs LES ancienne physique. ajout d un cas test LES phoenix.

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1#! /bin/bash
2
3ze_netcdf=netcdf-4.0.1
4#ze_netcdf=netcdf-3.6.1
5
6wget ftp://ftp.unidata.ucar.edu/pub/netcdf/$ze_netcdf.tar.gz
7tar xzvf $ze_netcdf.tar.gz
8\rm $ze_netcdf.tar.gz
9
10######### SIMPLE
11#export CC=pgcc
12#export CXX=pgcpp
13#export FC=pgfortran
14#export F90=pgfortran
15#export LD=pgfortran
16#export CPPFLAGS="-DpgiFortran"
17
18######## WITH OPTIONS
19#export CPPFLAGS="-DNDEBUG -DpgiFortran"
20#export CC=pgcc
21#export CFLAGS="-O2 -Msignextend -Mipa -Munroll -Mcache_align"
22#export CXX=pgCC
23#export CXXFLAGS="-O2 -Msignextend -Mipa -Munroll -Mcache_align"
24#export FC=pgf90
25#export FFLAGS="-O2 -Mipa -Munroll -Mcache_align"
26
27######## TEST NETCDF 3
28#export CPPFLAGS="-DNDEBUG -DpgiFortran"
29#export CC=pgcc
30#export CXX=pgCC
31#export FC=pgf90
32#export F90=pgf90
33#export CFLAGS="-O2 -Msignextend -fpic -Mlarge_arrays"
34#export CXXFLAGS="-fpic -Mlarge_arrays"
35#export FFLAGS="-O2 -w  -fpic -Mlarge_arrays"
36#export F90FLAGS="-O2 -w -fpic -Mlarge_arrays"
37
38############# AVEC -fast
39export CPPFLAGS="-DNDEBUG -DpgiFortran"
40export CC=pgcc
41export CFLAGS="-fast"
42export CXX=pgCC
43export CXXFLAGS="-fast"
44export FC=pgf90
45export FFLAGS="-fast"
46
47
48cd $ze_netcdf
49PREFIX=$PWD
50if [[ "$ze_netcdf" == "netcdf-3.6.1" ]]
51then
52      cd src
53fi
54
55./configure --prefix=${PREFIX} --disable-cxx
56make
57make test
58make install
59
Note: See TracBrowser for help on using the repository browser.