Changeset 61 for trunk/mesoscale/LMD_LES_MARS/modif_mars/makeles_ciclad
- 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_ciclad
r42 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 … … 72 79 cd $here 73 80 74 # ------------------------------75 # ------------------------------76 # 77 # MPI (dm) 64 bits78 # 79 # TODO: le rendre adapte aux reponses du user a makemeso81 ##------------------------------ 82 ##------------------------------ 83 ## 84 ## MPI (dm) 64 bits 85 ## 86 ##TODO: le rendre adapte aux reponses du user a makemeso 80 87 touch conf 81 88 echo 3 >> conf 82 # echo 4 >> conf #openMP n'arrange pas beaucoup de le tps de calcul89 ##echo 4 >> conf #openMP n'arrange pas beaucoup de le tps de calcul 83 90 echo 1 >> conf 84 # ------------------------------85 # ------------------------------91 ##------------------------------ 92 ##------------------------------ 86 93 87 94 … … 97 104 #echo 0 >> conf 98 105 106 ### MPI (dm) 64 bits IFORT 107 #echo IFORT IFORT IFORT IFORT 108 #touch conf 109 #echo 7 >> conf 110 #echo 1 >> conf 99 111 100 112 … … 132 144 mv yeah configure.wrf 133 145 134 135 146 #sed s+"-Mvect=noaltcode"+"#-Mvect=noaltcode"+g configure.wrf > yeah ; mv yeah configure.wrf 136 137 138 147 139 148 #sed s+"-mp -Minfo=mp"+"-mp -Minfo=mp -mp=nonuma"+g configure.wrf > yeah 140 149 #mv yeah configure.wrf 141 150 151 #### OBLIGATOIRE POUR IFORT, OK AVEC LES AUTRES ??? a priori oui 152 sed s+"-llmd"+"-llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah 153 mv yeah configure.wrf 154 155 ############################################################# 156 if [[ "${phys}" == "newphys_" ]] 157 then 158 sed s+"ARCH_LOCAL = "+"ARCH_LOCAL = -DNEWPHYS "+g configure.wrf > yeah 159 mv -f yeah configure.wrf 160 fi 161 ############################################################# 162 163 142 164 \rm conf 143 144 165 145 166 #
Note: See TracChangeset
for help on using the changeset viewer.