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

Last change on this file since 1059 was 1024, checked in by aslmd, 12 years ago

LMDZ.COMMON. Added the posssibility for 3D runs without dynamics (precompiling flag NODYN). Added simple nudging (zonal wind for Saturn, but easy to extend). updated arch files for gnome with -auto. LMDZ.UNIVERSAL. Updated READMEs and latest def files (NB: saturn_tropostrato_128x96x64 and saturn_tropostrato_256x192x64 still experimental).

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