Changeset 674 for trunk/MESOSCALE/LMD_MM_MARS/makemeso
- Timestamp:
- May 25, 2012, 8:06:39 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r666 r674 35 35 phys="" 36 36 scenario="" 37 while getopts "drc:njhg pfs:x" options; do37 while getopts "drc:njhgbpfs:x" options; do 38 38 case $options in 39 39 d ) donotcompile=1;; ## just to check the compile folder … … 380 380 sed s+"O3"+"O3 -mcmodel=large -shared-intel"+g configure.wrf > yeah ; mv -f yeah configure.wrf 381 381 sed s+"-llmd"+"-llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah ; mv -f yeah configure.wrf 382 if [ ${debug} -ne 0 ] # not working for xlf! 383 then 384 echo 'DEBUG DEBUG DEBUG DEBUG' 385 sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah 386 mv -f yeah configure.wrf 387 fi 382 388 \rm conf > /dev/null ;; 383 389 … … 422 428 ifort_64_single) echo 5 | configure > log_compile 2> log_error 423 429 sed s+"-DIFORT_KLUDGE"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf 430 if [ ${debug} -ne 0 ] # not working for xlf! 431 then 432 echo 'DEBUG DEBUG DEBUG DEBUG' 433 sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah 434 mv -f yeah configure.wrf 435 fi 424 436 ## !!! NETCDF must be defined 425 437 sed s+"lio_grib_share"+"lio_grib_share -L../mars_lmd/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah … … 431 443 sed s+"-cc=icc"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf 432 444 sed s+"-DIFORT_KLUDGE"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf 445 if [ ${debug} -ne 0 ] # not working for xlf! 446 then 447 echo 'DEBUG DEBUG DEBUG DEBUG' 448 sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah 449 mv -f yeah configure.wrf 450 fi 433 451 sed s+"O3"+"O2"+g configure.wrf > yeah ; mv -f yeah configure.wrf 434 452 #sed s+"O3"+"O0"+g configure.wrf > yeah ; mv -f yeah configure.wrf ### pour compilation rapide … … 535 553 then 536 554 echo 'DEBUG DEBUG DEBUG DEBUG' 537 sed s+"#-g"+" -g -Ktrap=fp -Mbounds"+g configure.wrf > yeah555 sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah 538 556 #sed s+"#-g"+"-g"+g configure.wrf > yeah 539 557 mv -f yeah configure.wrf
Note: See TracChangeset
for help on using the changeset viewer.