Changeset 5048 for LMDZ6/trunk
- Timestamp:
- Jul 12, 2024, 4:19:11 PM (5 months ago)
- Location:
- LMDZ6/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/makelmdz
r4567 r5048 32 32 cosp2=false 33 33 cospv2=false 34 force_compile=false 35 34 36 35 37 full="" … … 141 143 [-ext_src path] : path to an additional set of routines to compile with the model 142 144 [-arch_path path] : path to architecture files (default: $arch_default_path) 145 [-force_compile] : recompile although there seems to be an on-going compilation 143 146 -arch nom_arch : target architecture 144 147 exec : executable to build … … 232 235 "-arch_path") 233 236 arch_path=$2 ; arch_path_defined="TRUE"; shift ; shift ;; 237 238 "-force_compile") 239 force_compile=true ; shift ;; 234 240 235 241 *) … … 585 591 if [[ -f dimensions.h ]] 586 592 then 587 echo 'ATTENTION: vous etes sans doute en train de compiler le modele par ailleurs' 588 echo "Attendez que la premiere compilation soit terminee pour relancer la suivante." 589 echo "Si vous etes sur que vous ne compilez pas le modele par ailleurs," 590 echo vous pouvez continuer en repondant oui. 591 echo "Voulez-vous vraiment continuer?" 592 echo "" 593 echo "WARNING: you are probably already compiling the model somewhere else." 594 echo "Wait until the first compilation is finished before launching this one." 595 echo "If you are sure that you are not compiling elsewhere, just answer " 596 echo "yes (or 'oui') to the question below to proceed." 597 echo "Do you wish to continue?" 598 read reponse 599 if [[ $reponse == "oui" || $reponse == "yes" ]] 600 then 601 \rm -f $LIBFGCM/grid/dimensions.h 602 else 603 exit 604 fi 605 fi 593 if [[ $force_compile == true ]] 594 then 595 \rm -f $LIBFGCM/grid/dimensions.h 596 else 597 echo "WARNING: you are probably already compiling the model somewhere else." 598 echo "Wait until the first compilation is finished before launching this one." 599 echo "If you are sure that you are not compiling elsewhere, " 600 echo "If you are sure that you are not compiling elsewhere, then" 601 echo rm -f $LIBFGCM/grid/dimensions.h 602 echo "before reruning the compilation" 603 echo "or run makelmdz with option -force_compile" 604 exit 1 605 fi 606 fi 607 606 608 607 609 cd $LIBFGCM/grid/dimension 608 610 ./makdim $dim 609 if (($? != 0))610 then611 exit 1612 fi613 614 611 cat $LIBFGCM/grid/dimensions.h 615 612 cd $LMDGCM -
LMDZ6/trunk/makelmdz_fcm
r5036 r5048 576 576 if [[ $force_compile == true ]] 577 577 then 578 578 \rm -f $LIBFGCM/grid/dimensions.h 579 579 else 580 echo "WARNING: you are probably already compiling the model somewhere else." 581 echo "Wait until the first compilation is finished before launching this one." 582 echo "If you are sure that you are not compiling elsewhere, " 583 echo "run makelmdz_fcm with option -force_compile" 584 exit 1 580 echo "WARNING: you are probably already compiling the model somewhere else." 581 echo "Wait until the first compilation is finished before launching this one." 582 echo "If you are sure that you are not compiling elsewhere, " 583 echo "If you are sure that you are not compiling elsewhere, then" 584 echo rm -f $LIBFGCM/grid/dimensions.h 585 echo "before reruning the compilation" 586 echo "or run makelmdz_fcm with option -force_compile" 587 exit 1 585 588 fi 586 589 fi 590 587 591 588 592
Note: See TracChangeset
for help on using the changeset viewer.