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

Last change on this file since 1000 was 992, checked in by aslmd, 12 years ago

LMDZ.UNIVERSAL. cosmestic changes related to latest changes by Ehouarn in LMDZ.GENERIC

File size: 4.3 KB
Line 
1
2***** en parallele dans LMDZ.UNIVERSAL
3--> ciclad
4makelmdz_fcm -d 64x48x26 -b 38x36 -arch CICLADifort -parallel mpi -p generic gcm
5makelmdz_fcm -d 64x48x26 -b 38x36 -arch CICLADifort -parallel mpi -p generic -debug gcm
6--> gnome
7makelmdz_fcm -d 128x96x26 -b 38x36 -arch GNOMEp -parallel mpi -p generic gcm
8
9**** sequentiel dans LMDZ.UNIVERSAL
10makelmdz_fcm -d 64x48x26 -b 38x36 -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
35profiling
36ajouter -pg
37compiler lancer
38puis gprof executable > prof.out
39
40
41--------------------------------------------------
42NETCDF RECOMPILE FOR LARGE DOMAINS
43--------------------------------------------------
44
45
46>>> Prepare things for install:
47gunzip netcdf.tar.gz
48tar xf netcdf.tar
49cd netcdf-4.0.1
50
51export CPP="icc -E"
52export F77=ifort
53export FFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
54export F90=ifort
55export FCFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
56export CC=icc
57export CFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
58export CXX=icpc
59export CXXFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC"
60#export LDFLAGS="-mcmodel=large -shared-intel -fPIC"
61
62
63make clean
64
65./configure --prefix=/san/home/spiga/netcdf.4.0.1 --enable-shared > configure.log 2>&1
66
67>>> go for it !
68make > make.log 2>&1
69>>>> some warnings, but no errors
70>> Tests:
71make test > make_test.log 2>&1
72>>>> Everything seems OK
73
74make install > make_install.log 2>&1
75
76
77-Wl,-rpath -Wl,
78
79----------------------------------------------------------------------
80Libraries have been installed in:
81   /san/home/spiga/netcdf.4.0.1/lib
82
83If you ever happen to want to link against installed libraries
84in a given directory, LIBDIR, you must either use libtool, and
85specify the full pathname of the library, or use the `-LLIBDIR'
86flag during linking and do at least one of the following:
87   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
88     during execution
89   - add LIBDIR to the `LD_RUN_PATH' environment variable
90     during linking
91   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
92   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
93
94See any operating system documentation about shared libraries for
95more information, such as the ld(1) and ld.so(8) manual pages.
96----------------------------------------------------------------------
97
98
99
100vieilles notes lorsqu'on etait avec LMDZ5 et pas LMDZ.COMMON
101
102faire descendre
103http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk
104
105svn co http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk LMDZ5
106
107cd LMDZ5/libf
108executer
109$MOD/LMDZ.GENERIC/libf/phystd/for_lmdz5/linkgen.sh
110
111
112faire generatedoth.sh dans phygeneric
113(ou alors modifier makelmdz_fcm)
114
115
116penser |  compiler IOIPSL voir dans LMDZ.COMMON
117puis modifier arch.path
118et compiler et c'est bon
119
120EN FAIT LE CICLAD IFORT EST AUSSI VALABLE SUR LES MACHINES DU LMD
121mais IL FAUT ENLEVER LES OPTIONS APRES NC_DOUBLE
122
123makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm > log_makelmdz_fcm &
124ou pas dev
125makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm
126makelmdz_fcm -d 128x96x20 -arch GNOMEp -parallel mpi -p generic gcm
127
128pour initialisation idealisee, qqch comme iniaqua dans phyaqua ???
129
Note: See TracBrowser for help on using the repository browser.