Last change
on this file since 742 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 | |
---|
3 | ze_netcdf=netcdf-4.0.1 |
---|
4 | #ze_netcdf=netcdf-3.6.1 |
---|
5 | |
---|
6 | wget ftp://ftp.unidata.ucar.edu/pub/netcdf/$ze_netcdf.tar.gz |
---|
7 | tar 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 |
---|
39 | export CPPFLAGS="-DNDEBUG -DpgiFortran" |
---|
40 | export CC=pgcc |
---|
41 | export CFLAGS="-fast" |
---|
42 | export CXX=pgCC |
---|
43 | export CXXFLAGS="-fast" |
---|
44 | export FC=pgf90 |
---|
45 | export FFLAGS="-fast" |
---|
46 | |
---|
47 | |
---|
48 | cd $ze_netcdf |
---|
49 | PREFIX=$PWD |
---|
50 | if [[ "$ze_netcdf" == "netcdf-3.6.1" ]] |
---|
51 | then |
---|
52 | cd src |
---|
53 | fi |
---|
54 | |
---|
55 | ./configure --prefix=${PREFIX} --disable-cxx |
---|
56 | make |
---|
57 | make test |
---|
58 | make install |
---|
59 | |
---|
Note: See
TracBrowser
for help on using the repository browser.