source: trunk/LMDZ.GENERIC/deftank/def_generic_giants/README.aymeric @ 2613

Last change on this file since 2613 was 1252, checked in by aslmd, 11 years ago

LMDZ.GENERIC LMDZ.COMMON LMDZ.UNIVERSAL. Bye Bye LMDZ.UNIVERSAL. Go to LMDZ.COMMON!

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