Changeset 61 for trunk/mesoscale/LMD_LES_MARS/modif_mars/makeles
- Timestamp:
- Feb 14, 2011, 7:11:03 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mesoscale/LMD_LES_MARS/modif_mars/makeles
r60 r61 11 11 12 12 echo "Use -n if you don't want to recompile physics" 13 13 echo "Use -p if you want the new LMD physics" 14 14 15 15 # … … 18 18 19 19 donotcompilephys=0 20 while getopts "n" options; do 20 phys="" 21 while getopts "np" options; do 21 22 case $options in 22 23 n ) donotcompilephys=1;; ## do not recompile physics 24 p ) phys="newphys_";; ## with new physics 23 25 esac 24 26 done … … 40 42 # 41 43 cd $MMM 42 makemeso -j 44 if [[ "${phys}" == "newphys_" ]] 45 then 46 makemeso -j -p 47 else 48 makemeso -j 49 fi 43 50 # 44 51 #makemeso -rd < last > /dev/null … … 78 85 ## 79 86 ##TODO: le rendre adapte aux reponses du user a makemeso 80 #touch conf81 #echo 3 >> conf87 touch conf 88 echo 3 >> conf 82 89 ##echo 4 >> conf #openMP n'arrange pas beaucoup de le tps de calcul 83 #echo 1 >> conf90 echo 1 >> conf 84 91 ##------------------------------ 85 92 ##------------------------------ … … 97 104 #echo 0 >> conf 98 105 99 ## MPI (dm) 64 bits IFORT 100 touch conf 101 echo 7 >> conf 102 echo 1 >> conf 106 ### MPI (dm) 64 bits IFORT 107 #echo IFORT IFORT IFORT IFORT 108 #touch conf 109 #echo 7 >> conf 110 #echo 1 >> conf 103 111 104 112 … … 127 135 128 136 sed s+"-fastsse"+" "+g configure.wrf > yeah 137 #sed s+"-fastsse"+"-mcmodel=medium -Mlarge_arrays"+g configure.wrf > yeah ##marche pas 129 138 # 130 139 # sometimes fastsse is problematic … … 133 142 ##sed s+"-fastsse"+"-fastsse -mcmodel=medium"+g configure.wrf > yeah 134 143 mv yeah configure.wrf 144 145 #sed s+"-Mvect=noaltcode"+"#-Mvect=noaltcode"+g configure.wrf > yeah ; mv yeah configure.wrf 146 135 147 #sed s+"-mp -Minfo=mp"+"-mp -Minfo=mp -mp=nonuma"+g configure.wrf > yeah 136 148 #mv yeah configure.wrf 137 149 138 #### OBLIGATOIRE POUR IFORT, OK AVEC LES AUTRES ??? 150 #### OBLIGATOIRE POUR IFORT, OK AVEC LES AUTRES ??? a priori oui 139 151 sed s+"-llmd"+"-llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah 140 152 mv yeah configure.wrf 141 153 154 ############################################################# 155 if [[ "${phys}" == "newphys_" ]] 156 then 157 sed s+"ARCH_LOCAL = "+"ARCH_LOCAL = -DNEWPHYS "+g configure.wrf > yeah 158 mv -f yeah configure.wrf 159 fi 160 ############################################################# 161 142 162 143 163 \rm conf 144 145 164 146 165 #
Note: See TracChangeset
for help on using the changeset viewer.