| 1 | |
|---|
| 2 | |
|---|
| 3 | makelmdz_fcm -s 1 -d 64x48x64 -b 20x30 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 4 | makelmdz_fcm -s 1 -d 128x96x64 -b 20x30 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 5 | ##################################### |
|---|
| 6 | ## REF SANDRINE |
|---|
| 7 | makelmdz_fcm -cpp NODYN -s 1 -d 8x128x64 -b 20x30 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 8 | ##################################### |
|---|
| 9 | |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | makelmdz_fcm -s 1 -d 64x48x64 -b 17x23 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 15 | |
|---|
| 16 | test rings |
|---|
| 17 | makelmdz_fcm -cpp NODYN -s 1 -d 8x48x32 -b 17x23 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 18 | makelmdz_fcm -cpp NODYN -s 1 -d 8x48x32 -b 20x30 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 19 | |
|---|
| 20 | ----------------------------------- |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | DO NOT FORGET SCATTERERS (for first time compilation at least) |
|---|
| 24 | |
|---|
| 25 | ----------------------------------- |
|---|
| 26 | |
|---|
| 27 | gnome |
|---|
| 28 | tests |
|---|
| 29 | makelmdz_fcm -s 1 -d 64x48x64 -b 17x23 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 30 | makelmdz_fcm -s 1 -d 128x96x64 -b 17x23 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 31 | makelmdz_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 |
|---|
| 36 | makelmdz_fcm -s 1 -d 64x48x26 -b 38x36 -arch CICLADifort -parallel mpi -p generic gcm |
|---|
| 37 | makelmdz_fcm -s 1 -d 64x48x26 -b 38x36 -arch CICLADifort -parallel mpi -p generic -debug gcm |
|---|
| 38 | --> gnome |
|---|
| 39 | makelmdz_fcm -s 1 -d 128x96x26 -b 38x36 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 40 | |
|---|
| 41 | **** sequentiel dans LMDZ.UNIVERSAL |
|---|
| 42 | makelmdz_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 | -------------------------------------------------- |
|---|
| 60 | FOR LARGE DOMAINS (sur gnome au dela de 256x192) |
|---|
| 61 | 1. recompile netcdf (see below) |
|---|
| 62 | 2. apply patches for large domains in LMDZ.GENERIC (this is for newstart) |
|---|
| 63 | 3. compile with -arch GNOMEp_large |
|---|
| 64 | makelmdz_fcm -d 256x256x20 -arch GNOMEp_large -parallel mpi -p generic gcm |
|---|
| 65 | -------------------------------------------------- |
|---|
| 66 | |
|---|
| 67 | profiling |
|---|
| 68 | ajouter -pg |
|---|
| 69 | compiler lancer |
|---|
| 70 | puis gprof executable > prof.out |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | -------------------------------------------------- |
|---|
| 74 | NETCDF RECOMPILE FOR LARGE DOMAINS |
|---|
| 75 | -------------------------------------------------- |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | >>> Prepare things for install: |
|---|
| 79 | gunzip netcdf.tar.gz |
|---|
| 80 | tar xf netcdf.tar |
|---|
| 81 | cd netcdf-4.0.1 |
|---|
| 82 | |
|---|
| 83 | export CPP="icc -E" |
|---|
| 84 | export F77=ifort |
|---|
| 85 | export FFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC" |
|---|
| 86 | export F90=ifort |
|---|
| 87 | export FCFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC" |
|---|
| 88 | export CC=icc |
|---|
| 89 | export CFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC" |
|---|
| 90 | export CXX=icpc |
|---|
| 91 | export CXXFLAGS="-O2 -ip -no-prec-div -mcmodel=large -shared-intel -fPIC" |
|---|
| 92 | #export LDFLAGS="-mcmodel=large -shared-intel -fPIC" |
|---|
| 93 | |
|---|
| 94 | |
|---|
| 95 | make clean |
|---|
| 96 | |
|---|
| 97 | ./configure --prefix=/san/home/spiga/netcdf.4.0.1 --enable-shared > configure.log 2>&1 |
|---|
| 98 | |
|---|
| 99 | >>> go for it ! |
|---|
| 100 | make > make.log 2>&1 |
|---|
| 101 | >>>> some warnings, but no errors |
|---|
| 102 | >> Tests: |
|---|
| 103 | make test > make_test.log 2>&1 |
|---|
| 104 | >>>> Everything seems OK |
|---|
| 105 | |
|---|
| 106 | make install > make_install.log 2>&1 |
|---|
| 107 | |
|---|
| 108 | |
|---|
| 109 | -Wl,-rpath -Wl, |
|---|
| 110 | |
|---|
| 111 | ---------------------------------------------------------------------- |
|---|
| 112 | Libraries have been installed in: |
|---|
| 113 | /san/home/spiga/netcdf.4.0.1/lib |
|---|
| 114 | |
|---|
| 115 | If you ever happen to want to link against installed libraries |
|---|
| 116 | in a given directory, LIBDIR, you must either use libtool, and |
|---|
| 117 | specify the full pathname of the library, or use the `-LLIBDIR' |
|---|
| 118 | flag 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 | |
|---|
| 126 | See any operating system documentation about shared libraries for |
|---|
| 127 | more information, such as the ld(1) and ld.so(8) manual pages. |
|---|
| 128 | ---------------------------------------------------------------------- |
|---|
| 129 | |
|---|
| 130 | |
|---|
| 131 | |
|---|
| 132 | vieilles notes lorsqu'on etait avec LMDZ5 et pas LMDZ.COMMON |
|---|
| 133 | |
|---|
| 134 | faire descendre |
|---|
| 135 | http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk |
|---|
| 136 | |
|---|
| 137 | svn co http://svn.lmd.jussieu.fr/LMDZ/LMDZ5/trunk LMDZ5 |
|---|
| 138 | |
|---|
| 139 | cd LMDZ5/libf |
|---|
| 140 | executer |
|---|
| 141 | $MOD/LMDZ.GENERIC/libf/phystd/for_lmdz5/linkgen.sh |
|---|
| 142 | |
|---|
| 143 | |
|---|
| 144 | faire generatedoth.sh dans phygeneric |
|---|
| 145 | (ou alors modifier makelmdz_fcm) |
|---|
| 146 | |
|---|
| 147 | |
|---|
| 148 | penser | compiler IOIPSL voir dans LMDZ.COMMON |
|---|
| 149 | puis modifier arch.path |
|---|
| 150 | et compiler et c'est bon |
|---|
| 151 | |
|---|
| 152 | EN FAIT LE CICLAD IFORT EST AUSSI VALABLE SUR LES MACHINES DU LMD |
|---|
| 153 | mais IL FAUT ENLEVER LES OPTIONS APRES NC_DOUBLE |
|---|
| 154 | |
|---|
| 155 | makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm > log_makelmdz_fcm & |
|---|
| 156 | ou pas dev |
|---|
| 157 | makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm |
|---|
| 158 | makelmdz_fcm -d 128x96x20 -arch GNOMEp -parallel mpi -p generic gcm |
|---|
| 159 | |
|---|
| 160 | pour initialisation idealisee, qqch comme iniaqua dans phyaqua ??? |
|---|
| 161 | |
|---|