Changeset 870


Ignore:
Timestamp:
Jan 24, 2013, 4:40:55 PM (12 years ago)
Author:
aslmd
Message:

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

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.UNIVERSAL/README.aymeric

    r862 r870  
     1
     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
    195
    296faire descendre
     
    14108
    15109
    16 penser à compiler IOIPSL voir dans LMDZ.COMMON
     110penser | compiler IOIPSL voir dans LMDZ.COMMON
    17111puis modifier arch.path
    18112et compiler et c'est bon
     
    21115mais IL FAUT ENLEVER LES OPTIONS APRES NC_DOUBLE
    22116
    23 
    24117makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm > log_makelmdz_fcm &
    25 
    26118ou pas dev
    27 
    28 
    29119makelmdz_fcm -d 48x36x19 -arch CICLADifort -parallel mpi -p dev gcm
    30 
    31 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic gcm -debug
    32 
    33 
    34 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic -debug gcm
    35 makelmdz_fcm -d 64x48x20 -arch CICLADifort -parallel mpi -p generic gcm
    36 
    37 
    38 makelmdz_fcm -d 64x48x20 -arch CICLADifort-seq -p generic -debug gcm
    39 makegcm -d 64x48x20 -t 2 gcm
    40 
    41120makelmdz_fcm -d 128x96x20 -arch GNOMEp -parallel mpi -p generic gcm
    42121
     122pour initialisation idealisee, qqch comme iniaqua dans phyaqua ???
    43123
    44 /home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 0 -debug -cpp NOTRAC start2archive > logcomp
    45 
    46 /home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 0 newstart
    47 
    48 /home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 128x96x20 -t 0 -debug -cpp NOTRAC newstart
    49 
    50 /home/spiga/MODELES/LMDZ.GENERIC/makegcm -d 64x48x20 -t 0 -s 1 -b 3x2 gcm
    51 
    52 
    53 pour initialisation idealisee, qqch comme iniaqua dans phyaqua ???
  • trunk/LMDZ.UNIVERSAL/libf/phygeneric/generatedoth.sh

    r844 r870  
    55bandir=36
    66
     7## 3x2
    78bandvis=3
    89bandir=2
     10
     11## 38x36
     12bandvis=38
     13bandir=36
     14
    915
    1016scatterers=1
  • trunk/LMDZ.UNIVERSAL/libf/phygeneric/iophy.F90

    r844 r870  
    128128  USE mod_phys_lmdz_para
    129129  use ioipsl
    130   use write_field
    131130  implicit none
    132131  include 'dimensions.h'
     
    158157  USE mod_grid_phy_lmdz
    159158  use ioipsl
    160   use write_field
    161159  implicit none
    162160  include 'dimensions.h'
Note: See TracChangeset for help on using the changeset viewer.