Changeset 3725 for palm/trunk/SCRIPTS
- Timestamp:
- Feb 7, 2019 10:11:02 AM (6 years ago)
- Location:
- palm/trunk/SCRIPTS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmbuild
r3549 r3725 27 27 # ----------------- 28 28 # $Id$ 29 # ssh-calls for compilations on remote systems modified to avoid output 30 # of login messages on specific systems changed again (reverted as before r3549) 31 # 32 # 3549 2018-11-21 15:44:44Z raasch 29 33 # ssh-calls for compilations on remote systems modified to avoid output 30 34 # of login messages on specific systems … … 571 575 fi 572 576 make_call_string="make -f Makefile_utilities $make_options F90=$compiler_name F90_SER=$compiler_name_ser COPT=\"$cpp_options\" F90FLAGS=\"$compiler_options\" LDFLAGS=\"$linker_options\" " 573 echo "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh -q $ssh_key ${remote_username}@${remote_ip} 2>/dev/null | tee ${configuration_identifier}_last_make_protocol574 ###ssh -q $ssh_key ${remote_username}@${remote_ip} "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${configuration_identifier}_last_make_protocol577 ### echo "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh -q $ssh_key ${remote_username}@${remote_ip} 2>/dev/null | tee ${configuration_identifier}_last_make_protocol 578 ssh -q $ssh_key ${remote_username}@${remote_ip} "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${configuration_identifier}_last_make_protocol 575 579 576 580 if [[ $(grep -c MAKE_ERROR ${configuration_identifier}_last_make_protocol) != 0 ]] … … 611 615 fi 612 616 make_call_string="make $make_options PROG=$program_name F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$compiler_options\" LDFLAGS=\"$linker_options\" " 613 echo "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh -q $ssh_key ${remote_username}@${remote_ip} 2>&1 | tee ${configuration_identifier}_last_make_protocol614 ###ssh -q $ssh_key ${remote_username}@${remote_ip} "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${configuration_identifier}_last_make_protocol617 ### echo "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" | ssh -q $ssh_key ${remote_username}@${remote_ip} 2>&1 | tee ${configuration_identifier}_last_make_protocol 618 ssh -q $ssh_key ${remote_username}@${remote_ip} "$login_init_cmd $module_commands cd ${make_depository}; echo $make_call_string > LAST_MAKE_CALL; chmod u+x LAST_MAKE_CALL; $make_call_string; [[ \$? != 0 ]] && echo MAKE_ERROR" 2>&1 | tee ${configuration_identifier}_last_make_protocol 615 619 616 620 if [[ $(grep -c MAKE_ERROR ${configuration_identifier}_last_make_protocol) != 0 ]] -
palm/trunk/SCRIPTS/palmrun
r3682 r3725 27 27 # ----------------- 28 28 # $Id$ 29 # error messages for failed restarts extended 30 # 31 # 3682 2019-01-18 17:01:54Z knoop 29 32 # ssh-call for submitting batch jobs on remote systems modified again to avoid output 30 33 # of login messages on specific systems … … 2799 2802 2800 2803 # CHECK, IF RESTART JOB HAS BEEN STARTED 2801 if [[ $( grep -c "+++ palmrun killed" palmrun_restart.log ) != 0 ]]2804 if [[ $( grep -c "+++ palmrun crashed" palmrun_restart.log ) != 0 ]] 2802 2805 then 2803 2806 printf "\n$dashes\n +++ creating restart run failed \n" … … 2805 2808 rm palmrun_restart.log 2806 2809 exit 2810 elif [[ $( grep -c "*** palmrun finished" palmrun_restart.log ) != 1 ]] 2811 then 2812 printf "\n$dashes\n +++ creating restart run failed, probably due to network problems\n" 2813 locat=create_restart 2814 rm palmrun_restart.log 2815 exit 2807 2816 else 2808 2817 printf "\n$dashes\n *** restart run initiated \n"
Note: See TracChangeset
for help on using the changeset viewer.