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