Changeset 2112
- Timestamp:
- Sep 2, 2014, 3:52:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makelmdz
r2098 r2112 27 27 sisvat=false 28 28 rrtm=false 29 full="" 29 30 30 31 # guess a default 'arch' … … 113 114 [-mem] : reduced memory dynamics (if in parallel mode) 114 115 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 116 [-full] : Full (re)compilation (from scratch) 115 117 [-link LINKS] : additional links with other libraries 116 118 [-fcm_path path] : path to the fcm tool (default: tools/fcm/bin) … … 173 175 "-filtre") 174 176 filtre=$2 ; shift ; shift ;; 177 178 "-full") 179 full="full" ; shift ;; 175 180 176 181 "-link") … … 435 440 echo dimc $dimc 436 441 437 438 442 ######################################################################## 439 443 # Gestion des dimensions du modele. … … 464 468 fi 465 469 466 467 470 cd $LIBFGCM/grid/dimension 468 471 ./makdim $dim 469 472 cat $LIBFGCM/grid/dimensions.h 470 473 cd $LMDGCM 471 472 474 473 475 ######################################################################## … … 492 494 fi 493 495 494 495 496 cd $LMDGCM 496 497 498 ######################################################################## 499 # library directory name: 500 ######################################################################## 501 502 nomlib=`echo ${arch}_${physique}_${dim_full}_${grille}_${compil_mod}_parall${parallel}_${CPP_KEY}_${FLAG_PARA} | sed -e 's/ //g' -e 's/-//g ' | sed -e 's/CPP_//g'` 503 echo "Path to library: "$nomlib 504 505 ######################################################################## 506 # Cleanup for a full recompilation, if requested 507 ######################################################################## 508 509 if [[ $full == "full" ]] 510 then 511 # remove makefile and librairies 512 echo "-full option: recompiling from scratch" 513 \rm -f makefile 514 \rm -rf "${LIBOGCM}/${nomlib}" 515 fi 497 516 498 517 ######################################################################## … … 538 557 source_code=${code}.F90 539 558 fi 540 541 # library directory name:542 nomlib=`echo ${arch}_${physique}_${dim_full}_${grille}_${compil_mod}_parall${parallel}_${CPP_KEY}_${FLAG_PARA} | sed -e 's/ //g' -e 's/-//g ' | sed -e 's/CPP_//g'`543 echo $nomlib544 559 545 560 if [[ ! -d "${LIBOGCM}/${nomlib}" ]]
Note: See TracChangeset
for help on using the changeset viewer.