Changeset 60


Ignore:
Timestamp:
Feb 14, 2011, 2:23:06 AM (14 years ago)
Author:
aslmd
Message:

LMD_MM_MARS et LMD_LES_MARS: ajouts de scripts et modifications runmeso/makeles/makemeso pour faire tourner le modele sur iDataPlex. premiers tests en parallele fonctionnent tres bien. le run 16procs est bien 4fois rapide que le run 4procs sur la ferme planeto. resultats totalement similaires 4procs TESTCASE entre auric et gnome (a part amortissement vitesse verticale aux premiers pas de temps). le LES fonctionne bien lui aussi, cependant il y a un bug a corriger relatif a un flux de chaleur sensible nul aux points d'interfaces entre 4 tuiles. ------ petite remarque sur LMDZ5: un job 24proc est 10fois plus rapide qu'un job 8proc absolument equivalent sur ciclad.

Location:
trunk/mesoscale
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/mesoscale/LMD_LES_MARS/modif_mars/makeles

    r34 r60  
    7272cd $here
    7373
    74 #------------------------------
    75 #------------------------------
    76 #
    77 # MPI (dm) 64 bits
    78 #
    79 #TODO: le rendre adapte aux reponses du user a makemeso
    80 touch conf
    81 echo 3 >> conf
    82 #echo 4 >> conf  #openMP n'arrange pas beaucoup de le tps de calcul
    83 echo 1 >> conf
    84 #------------------------------
    85 #------------------------------
     74##------------------------------
     75##------------------------------
     76##
     77## MPI (dm) 64 bits
     78##
     79##TODO: le rendre adapte aux reponses du user a makemeso
     80#touch conf
     81#echo 3 >> conf
     82##echo 4 >> conf  #openMP n'arrange pas beaucoup de le tps de calcul
     83#echo 1 >> conf
     84##------------------------------
     85##------------------------------
    8686
    8787
     
    9797#echo 0 >> conf
    9898
     99## MPI (dm) 64 bits IFORT
     100touch conf
     101echo 7 >> conf
     102echo 1 >> conf
    99103
    100104
     
    109113#sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g configure.wrf | sed s+'mpif90 -f90=$(SFC)'+'/usr/lib64/openmpi/1.2.8-pgf/bin/mpif90'+g | sed s+'mpicc -cc=$(SCC)'+'/usr/lib64/openmpi/1.2.8-gcc/bin/mpicc -DMPI2_SUPPORT'+g > yeah
    110114## WHERE_MPI must be defined
    111 sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g configure.wrf | sed s+"mpif90"+"$WHERE_MPI/mpif90"+g | sed s+"mpicc"+"$WHERE_MPI/mpicc"+g > yeah
     115sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g configure.wrf | sed s+"mpif90"+"$WHERE_MPI/mpif90"+g | sed s+"mpicc"+"$WHERE_MPI/mpicc -DMPI2_SUPPORT"+g > yeah
    112116#sed s+"# -g"+"-fno-second-underscore # -g"+g configure.wrf | sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g > yeah
    113117#sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g configure.wrf | sed s+"#-g"+"-g"+g > yeah
     
    132136#mv yeah configure.wrf
    133137
     138#### OBLIGATOIRE POUR IFORT, OK AVEC LES AUTRES ???
     139sed s+"-llmd"+"-llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah
     140mv yeah configure.wrf
     141
     142
    134143\rm conf
    135144
  • trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso

    r56 r60  
    220220 echo "**      <2> g95"
    221221 echo "**      <3> mpi+pgf90"
     222 echo "**      <4> ifort"
     223 echo "**      <5> mpi+ifort"
    222224 echo "**      .... more in makemeso ...."
    223225 echo '**********************************************'
    224  echo "Your choice ? (1-3)" ; read compilo
    225    if [[ "${compilo}" == "" || ${compilo} -lt 1 || ${compilo} -gt 3 ]]
     226 echo "Your choice ? (1-5)" ; read compilo
     227   if [[ "${compilo}" == "" || ${compilo} -lt 1 || ${compilo} -gt 5 ]]
    226228   then
    227229       echo "** well, let's try g95"
    228230       compilo=2
    229231   fi
    230    if [[ ${compilo} -eq 3 ]]
     232   if [[ ${compilo} -eq 3 || ${compilo} -eq 5 ]]
    231233   then
    232234       echo How many processors ? 1, 2, 4, 6, 8, 16 ; read numproc
     
    336338   touch ${simu_folder}/makemeso_input
    337339   echo ${compilo} >> ${simu_folder}/makemeso_input
    338    if [[ "${compilo}" = "3" ]]
     340   if [[ "${compilo}" = "3" || "${compilo}" = "5" ]]
    339341     then
    340342         echo ${numproc} >> ${simu_folder}/makemeso_input
  • trunk/mesoscale/LMD_MM_MARS/SRC/WPS/arch/configure.defaults

    r11 r60  
    233233
    234234###########################################################
    235 #ARCH   PC Linux i486 i586 i686, Intel compiler serial, NO GRIB2
     235#ARCH   PC Linux i486 i586 i686 x86_64, Intel compiler  serial, NO GRIB2
    236236#
    237237COMPRESSION_LIBS        =
  • trunk/mesoscale/LMD_MM_MARS/makemeso

    r54 r60  
    128128         exit
    129129       fi
    130        echo How many processors ? 1, 2, 4, 6, 8, 12, 16 ; read numproc ;;
     130       echo How many processors ? 1, 2, 4, 6, 8, 12, 16, 20, 24 test 32 64 ; read numproc ;;
    131131    4) compilo='ifort' ; numproc=1 ;;
    132     5) compilo='mpifort' ; echo How many processors ? 1, 2, 4, 6, 8, 12, 16 ; read numproc ;;
    133     7) compilo='mpixlf' ; echo How many processors ? 1, 2, 4, 6, 8, 12, 16 ; read numproc ;;
     132    5) compilo='mpifort' ; echo How many processors ? 1, 2, 4, 6, 8, 12, 16, 20, 24 test 32 64 ; read numproc ;;
     133    7) compilo='mpixlf' ; echo How many processors ? 1, 2, 4, 6, 8, 12, 16, 20, 24 test 32 64 ; read numproc ;;
    134134### for tests
    13513599) compilo='gnu' ; numproc=1 ;;
     
    410410        physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ 4)
    411411        physz=$(expr ${level} - 1) ;;
     412    20) physx=$(expr ${lon} - 1) ; physx=$(expr ${physx} \/ 4)
     413        physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ 5)
     414        physz=$(expr ${level} - 1) ;;
     415    24) physx=$(expr ${lon} - 1) ; physx=$(expr ${physx} \/ 4)
     416        physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ 6)
     417        physz=$(expr ${level} - 1) ;;
     418### TESTS
     419    32) physx=$(expr ${lon} - 1) ; physx=$(expr ${physx} \/ 4)
     420        physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ 8)
     421        physz=$(expr ${level} - 1) ;;
     422    64) physx=$(expr ${lon} - 1) ; physx=$(expr ${physx} \/ 8)
     423        physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ 8)
     424        physz=$(expr ${level} - 1) ;;
    412425    *) echo not supported ; exit
    413426  esac
Note: See TracChangeset for help on using the changeset viewer.