Changeset 2385 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Sep 4, 2017 12:08:40 PM (4 years ago)
Author:
raasch
Message:

job-catalog changes in palmrun

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrun

    r2384 r2385  
    8080 hostfile=""
    8181 hp=""
    82  job_directory=""
    8382 keep_data_from_previous_run=false
    8483 link_local_input=false
    8584 link_local_output=false
    8685 loader_options=""
     86 local_jobcatalog=""
    8787 locat=normal
    8888 makefile=""
     
    9999 restart_run=false
    100100 return_address=""
     101 remote_jobcatalog=""
    101102 remote_username=""
    102103 running_in_batch_mode=false
     
    24282429
    24292430          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}
    24322433
    24332434          echo " "
    24342435          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>&1
     2436          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
    24372438
    24382439       elif [[ $create_batch_job = true ]]
    24392440       then
    24402441
    2441           eval  job_directory=$job_directory
    2442           cp  $jobfile  ${job_directory}/${host}_${job_id}
    2443           cd $job_directory
     2442          eval  local_jobcatalog=$local_jobcatalog
     2443          cp  $jobfile  ${local_jobcatalog}/${host}_${job_id}
     2444          cd $local_jobcatalog
    24442445          echo " "
    24452446          echo "--- submit the job"
Note: See TracChangeset for help on using the changeset viewer.