Changeset 60
- Timestamp:
- Feb 14, 2011, 2:23:06 AM (14 years ago)
- Location:
- trunk/mesoscale
- Files:
-
- 4 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_LES_MARS/modif_mars/makeles
r34 r60 72 72 cd $here 73 73 74 # ------------------------------75 # ------------------------------76 # 77 # MPI (dm) 64 bits78 # 79 # TODO: le rendre adapte aux reponses du user a makemeso80 touch conf81 echo 3 >> conf82 # echo 4 >> conf #openMP n'arrange pas beaucoup de le tps de calcul83 echo 1 >> conf84 # ------------------------------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 ##------------------------------ 86 86 87 87 … … 97 97 #echo 0 >> conf 98 98 99 ## MPI (dm) 64 bits IFORT 100 touch conf 101 echo 7 >> conf 102 echo 1 >> conf 99 103 100 104 … … 109 113 #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 110 114 ## 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 > yeah115 sed 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 112 116 #sed s+"# -g"+"-fno-second-underscore # -g"+g configure.wrf | sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g > yeah 113 117 #sed s+"-lnetcdf"+"-lnetcdf -L$whereliblmd -llmd"+g configure.wrf | sed s+"#-g"+"-g"+g > yeah … … 132 136 #mv yeah configure.wrf 133 137 138 #### OBLIGATOIRE POUR IFORT, OK AVEC LES AUTRES ??? 139 sed s+"-llmd"+"-llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah 140 mv yeah configure.wrf 141 142 134 143 \rm conf 135 144 -
trunk/mesoscale/LMD_MM_MARS/SIMU/runmeso
r56 r60 220 220 echo "** <2> g95" 221 221 echo "** <3> mpi+pgf90" 222 echo "** <4> ifort" 223 echo "** <5> mpi+ifort" 222 224 echo "** .... more in makemeso ...." 223 225 echo '**********************************************' 224 echo "Your choice ? (1- 3)" ; read compilo225 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 ]] 226 228 then 227 229 echo "** well, let's try g95" 228 230 compilo=2 229 231 fi 230 if [[ ${compilo} -eq 3 ]]232 if [[ ${compilo} -eq 3 || ${compilo} -eq 5 ]] 231 233 then 232 234 echo How many processors ? 1, 2, 4, 6, 8, 16 ; read numproc … … 336 338 touch ${simu_folder}/makemeso_input 337 339 echo ${compilo} >> ${simu_folder}/makemeso_input 338 if [[ "${compilo}" = "3" ]]340 if [[ "${compilo}" = "3" || "${compilo}" = "5" ]] 339 341 then 340 342 echo ${numproc} >> ${simu_folder}/makemeso_input -
trunk/mesoscale/LMD_MM_MARS/SRC/WPS/arch/configure.defaults
r11 r60 233 233 234 234 ########################################################### 235 #ARCH PC Linux i486 i586 i686 , Intel compiler serial, NO GRIB2235 #ARCH PC Linux i486 i586 i686 x86_64, Intel compiler serial, NO GRIB2 236 236 # 237 237 COMPRESSION_LIBS = -
trunk/mesoscale/LMD_MM_MARS/makemeso
r54 r60 128 128 exit 129 129 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 ;; 131 131 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 ;; 134 134 ### for tests 135 135 99) compilo='gnu' ; numproc=1 ;; … … 410 410 physy=$(expr ${lat} - 1) ; physy=$(expr ${physy} \/ 4) 411 411 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) ;; 412 425 *) echo not supported ; exit 413 426 esac
Note: See TracChangeset
for help on using the changeset viewer.