Changeset 2385
- Timestamp:
- Sep 4, 2017 12:08:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SCRIPTS/palmrun
r2384 r2385 80 80 hostfile="" 81 81 hp="" 82 job_directory=""83 82 keep_data_from_previous_run=false 84 83 link_local_input=false 85 84 link_local_output=false 86 85 loader_options="" 86 local_jobcatalog="" 87 87 locat=normal 88 88 makefile="" … … 99 99 restart_run=false 100 100 return_address="" 101 remote_jobcatalog="" 101 102 remote_username="" 102 103 running_in_batch_mode=false … … 2428 2429 2429 2430 echo " *** transfer of job to remote host via scp" 2430 echo " scp $ssh_key $PORTOPT $jobfile ${remote_username}@${remote_ip}:${ job_directory}/${host}_${job_id}"2431 scp $ssh_key $PORTOPT $jobfile ${remote_username}@${remote_ip}:${ job_directory}/${host}_${job_id}2431 echo " scp $ssh_key $PORTOPT $jobfile ${remote_username}@${remote_ip}:${remote_jobcatalog}/${host}_${job_id}" 2432 scp $ssh_key $PORTOPT $jobfile ${remote_username}@${remote_ip}:${remote_jobcatalog}/${host}_${job_id} 2432 2433 2433 2434 echo " " 2434 2435 echo " *** submit the job" 2435 echo " cd $ job_directory; $submit_command ${host}_${job_id}; rm ${host}_${job_id} | ssh -q $ssh_key $SSH_PORTOPT ${remote_username}@${remote_ip} 2>&1"2436 echo "cd $ job_directory; $submit_command ${host}_${job_id}; rm ${host}_${job_id}" | ssh -q $ssh_key $SSH_PORTOPT ${remote_username}@${remote_ip} 2>&12436 echo " cd $remote_jobcatalog; $submit_command ${host}_${job_id}; rm ${host}_${job_id} | ssh -q $ssh_key $SSH_PORTOPT ${remote_username}@${remote_ip} 2>&1" 2437 echo "cd $remote_jobcatalog; $submit_command ${host}_${job_id}; rm ${host}_${job_id}" | ssh -q $ssh_key $SSH_PORTOPT ${remote_username}@${remote_ip} 2>&1 2437 2438 2438 2439 elif [[ $create_batch_job = true ]] 2439 2440 then 2440 2441 2441 eval job_directory=$job_directory2442 cp $jobfile ${ job_directory}/${host}_${job_id}2443 cd $ job_directory2442 eval local_jobcatalog=$local_jobcatalog 2443 cp $jobfile ${local_jobcatalog}/${host}_${job_id} 2444 cd $local_jobcatalog 2444 2445 echo " " 2445 2446 echo "--- submit the job"
Note: See TracChangeset
for help on using the changeset viewer.