source: trunk/LMDZ.UNIVERSAL/README.aymeric @ 1075

Last change on this file since 1075 was 1066, checked in by aslmd, 12 years ago

LMDZ.UNIVERSAL. Saturn GCM. Updated def files.

File size: 4.5 KB
Line 
1
2
3gnome
4tests
5makelmdz_fcm -d 64x48x64 -b 17x23 -arch GNOMEp -parallel mpi -p generic gcm
6makelmdz_fcm -d 128x96x64 -b 17x23 -arch GNOMEp -parallel mpi -p generic gcm
7makelmdz_fcm -d 256x192x64 -b 17x23 -arch GNOMEp_large -parallel mpi -p generic gcm
8
9
10***** en parallele dans LMDZ.UNIVERSAL
11--> ciclad
12makelmdz_fcm -d 64x48x26 -b 38x36 -arch CICLADifort -parallel mpi -p generic gcm
13makelmdz_fcm -d 64x48x26 -b 38x36 -arch CICLADifort -parallel mpi -p generic -debug gcm
14--> gnome
15makelmdz_fcm -d 128x96x26 -b 38x36 -arch GNOMEp -parallel mpi -p generic gcm
16
17**** sequentiel dans LMDZ.UNIVERSAL
18makelmdz_fcm -d 64x48x26 -b 38x36 -arch CICLADifort-seq -p generic -debug gcm
19
20**** pour comparer avec LMDZ.GENERIC (compiler dans le dossier de simu avec le lien absolu)
21**** (attention il faut utiliser un traceur.def legerement different)
22/home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 2 gcm
23**** ou plutot pour ne pas s'embeter avec les traceurs et regler peu de bandes
24/home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 0 -s 1 -b 3x2 gcm
25**** (attention il faut utiliser un traceur.def legerement different)
26
27**** ETAT INITIAUX
28**** POUR LE MOMENT DANS LMDZ.GENERIC
29--> pour start2archive (pas sur qu'il faille encore NOTRAC)
30/home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 0 -debug -cpp NOTRAC start2archive > logcomp
31--> pour newstart
32/home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 0 newstart
33/home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 128x96x20 -t 0 -debug -cpp NOTRAC newstart
34
35--------------------------------------------------
36FOR LARGE DOMAINS (sur gnome au dela de 256x192)
371. recompile netcdf (see below)
382. apply patches for large domains in LMDZ.GENERIC (this is for newstart)
393. compile with -arch GNOMEp_large
40makelmdz_fcm -d 256x256x20 -arch GNOMEp_large -parallel mpi -p generic gcm
41--------------------------------------------------
42
43profiling
44ajouter -pg
45compiler lancer
46puis gprof executable > prof.out
47
48
49--------------------------------------------------
50NETCDF RECOMPILE FOR LARGE DOMAINS
51--------------------------------------------------
52
53
54>>> Prepare things for install:
55gunzip netcdf.tar.gz
56tar xf netcdf.tar
57cd netcdf-4.0.1
58
59export CPP="icc -E"
60export F77=ifort
61export FFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
62export F90=ifort
63export FCFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
64export CC=icc
65export CFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
66export CXX=icpc
67export CXXFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
68#export LDFLAGS="-mcmodel=large -shared-intel -fPIC"
69
70
71make clean
72
73./configure --prefix=/san/home/spiga/netcdf.4.0.1 --enable-shared > configure.log 2>&1
74
75>>> go for it !
76make > make.log 2>&1
77>>>> some warnings, but no errors
78>> Tests:
79make test > make_test.log 2>&1
80>>>> Everything seems OK
81
82make install > make_install.log 2>&1
83
84
85-Wl,-rpath -Wl,
86
87----------------------------------------------------------------------
88Libraries have been installed in:
89   /san/home/spiga/netcdf.4.0.1/lib
90
91If you ever happen to want to link against installed libraries
92in a given directory, LIBDIR, you must either use libtool, and
93specify the full pathname of the library, or use the `-LLIBDIR'
94flag during linking and do at least one of the following:
95   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
96     during execution
97   - add LIBDIR to the `LD_RUN_PATH' environment variable
98     during linking
99   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
100   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
101
102See any operating system documentation about shared libraries for
103more information, such as the ld(1) and ld.so(8) manual pages.
104----------------------------------------------------------------------
105
106
107
108vieilles notes lorsqu'on etait avec LMDZ5 et pas LMDZ.COMMON
109
110faire descendre
111http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk
112
113svn co http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk LMDZ5
114
115cd LMDZ5/libf
116executer
117$MOD/LMDZ.GENERIC/libf/phystd/for_lmdz5/linkgen.sh
118
119
120faire generatedoth.sh dans phygeneric
121(ou alors modifier makelmdz_fcm)
122
123
124penser |  compiler IOIPSL voir dans LMDZ.COMMON
125puis modifier arch.path
126et compiler et c'est bon
127
128EN FAIT LE CICLAD IFORT EST AUSSI VALABLE SUR LES MACHINES DU LMD
129mais IL FAUT ENLEVER LES OPTIONS APRES NC_DOUBLE
130
131makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm > log_makelmdz_fcm &
132ou pas dev
133makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm
134makelmdz_fcm -d 128x96x20 -arch GNOMEp -parallel mpi -p generic gcm
135
136pour initialisation idealisee, qqch comme iniaqua dans phyaqua ???
137
Note: See TracBrowser for help on using the repository browser.