Changeset 5532
- Timestamp:
- Feb 11, 2025, 7:19:26 PM (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r5530 r5532 73 73 log="$(pwd)/$component.log" 74 74 printf "#!/bin/bash\n%s\n" "$command" > compile.sh 75 echo "Compiling $component using $command (log: $log) $(date)" 76 chmod +x ./compile.sh 77 if ! ./compile.sh &> "$log"; then 78 echo "STOP: $component compilation failed, exiting"; exit 1 79 fi 80 echo "Finished $component compilation $(date)" 75 if [ $bench = 1 -o $bench = compile_only ] ; then 76 echo "Compiling $component using $command (log: $log) $(date)" 77 chmod +x ./compile.sh 78 if ! ./compile.sh &> "$log"; then 79 echo "STOP: $component compilation failed, exiting"; exit 1 80 fi 81 echo "Finished $component compilation $(date)" 82 fi 81 83 } 82 84 … … 216 218 -d "grid resolution": should be among the available benchs if -bench 1 (valid values: 48x36x19, 48x36x39) (default : <$grid_resolution>) 217 219 218 -bench activating the bench or not (0/1 ) (default: <$bench>)220 -bench activating the bench or not (0/1/tuto/compile_only) (default: <$bench>) 219 221 220 222 -unstable use unstable tar instead of testing … … 1197 1199 install_XIOS 1198 1200 compile_orchidee 1201 compile_lmdz 1199 1202 1200 1203 # ========================================================== … … 1202 1205 # Inutile de compiler LMDZ quand pas de bench 1203 1206 set -vx 1204 if [ $bench = 1 ] ; then compile_lmdz ; fi1205 1207 # A nettoyer apres discussion et choix sur les arch 1206 1208 # Conservation des arch ayant servi à la compilation de LMDZ
Note: See TracChangeset
for help on using the changeset viewer.