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

Last change on this file since 1133 was 1105, checked in by sglmd, 11 years ago

LMDZ.UNIVERSAL. do not forget scatterers

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