Changeset 5385 for BOL/script_install
- Timestamp:
- Dec 5, 2024, 12:55:32 PM (8 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r5377 r5385 55 55 56 56 log="$(pwd)/$component.log" 57 echo"$command" > compile.sh58 echo "Compiling $component using $ (\cat compile.sh)(log: $log) $(date)"57 printf "#!/bin/bash\n%s\n" "$command" > compile.sh 58 echo "Compiling $component using $command (log: $log) $(date)" 59 59 chmod +x ./compile.sh 60 60 if ! ./compile.sh &> "$log"; then … … 555 555 ioipsllog="$(pwd)/ioipsl.log" 556 556 echo "Compiling IOIPSL, the interface library with Netcdf $(date) (log: $ioipsllog)" 557 # in case ksh is not installed on the pc557 # in case ksh is not installed on the pc 558 558 if [[ ! -x /bin/ksh ]]; then 559 sed -i'' -e 's/ksh/bash/' ins_m_prec 560 fi 561 echo "$jobcmd ./makeioipsl_fcm -j $make_j -arch $arch $optim_flag" > compile.sh 562 chmod +x compile.sh 563 echo "Compiling IOIPSL using $(\cat compile.sh)" 564 if ! ./compile.sh &> "$ioipsllog"; then 565 echo "STOP: IOIPSL compile failed, exiting"; exit 1 566 fi 559 sed -i'' -e 's/ksh/bash/' ins_m_prec 560 fi 561 do_compile_sh "IOIPSL" "$jobcmd ./makeioipsl_fcm -j $make_j -arch $arch $optim_flag" 567 562 568 563 # Link to modipsl/bin
Note: See TracChangeset
for help on using the changeset viewer.