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

Last change on this file since 870 was 870, checked in by aslmd, 13 years ago

LMDZ.UNIVERSAL. Added compiling for large domains on Gnome. Wrote a better README.

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