Changeset 5375 for BOL/script_install
- Timestamp:
- Dec 4, 2024, 2:39:14 PM (12 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r5365 r5375 357 357 fi 358 358 done 359 360 cat <<eod > tt.f90361 print*,'coucou'362 end363 eod364 $compiler tt.f90 || a.out365 ./a.out >| tt366 if [[ $(< tt sed -e 's/ //g' ) != "coucou" ]]; then367 echo "problem installing with compiler $compiler"; exit 1368 fi369 rm tt a.out tt.f90370 359 } 371 360 … … 424 413 path_mpi=$(dirname "$mpi_file") 425 414 root_mpi=$(dirname "$path_mpi") 415 } 416 417 function check_compiler { 418 # Must be called after init_arch to know which compiler to use 419 cat <<eod > tt.f90 420 print*,'coucou' 421 end 422 eod 423 $compiler tt.f90 || a.out 424 ./a.out >| tt 425 if [[ $(< tt sed -e 's/ //g' ) != "coucou" ]]; then 426 echo "problem installing with compiler $compiler"; exit 1 427 fi 428 rm tt a.out tt.f90 426 429 } 427 430 … … 1048 1051 ensure_correct_option_combinations 1049 1052 download_modipsl_tar 1050 init_arch1051 1053 check_available_software 1052 1054 get_lmdz_version 1053 1055 get_dynamico_icosa_version 1054 1056 get_orchidee_version 1057 init_arch 1058 check_compiler 1055 1059 install_netcdf 1056 1060 install_IOIPSL
Note: See TracChangeset
for help on using the changeset viewer.