Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  • On the PBS/Torque machine, install the latest version of Condor, but don't start any of the daemons. Then, create a script with these contents:
    #!/bin/sh
    export GLITE_LOCATION=/path/to/condor/lib/glite
    exec $GLITE_LOCATION/bin/batch_gahp "$@"
  • Name the script batch_gahp.wrapper. Modify the filepath in the script to point into your Condor installation.
  • NOTE The PBS/LSF glite code is only available on linux.

Installation on the submit machine

...

Now, you're ready to submit a job. File transfer isn't supported at the moment, so you'll need to set up the executable, input files, and directory to hold output files on the PBS machine first. Then, you can submit a job using a description file like this:<pre>

  • Polling Interval for status of jobs in the remote queue
    Condor polls the remote batch queue periodically for the status of all the jobs. The default interval is 5 minutes. You can change this by setting INFN_JOB_POLL_INTERVAL in your Condor config file. The value is the time between polling in seconds.

Sample Submit File to submit to PBS using SSH

universe=grid
grid_resource=pbs sukhna.isi.edu
skip_filechecks=true
transfer_executable=false
+remote_iwd="/lfs1/work/pbs/condor-ssh"
+remote_queue="batch"
executable=/bin/date
#arguments=300
output=/lfs1/work/pbs/condor-ssh/out.$(cluster).$(process)
error=/lfs1/work/pbs/condor-ssh/err.$(cluster).$(process)
log=ssh.log
queue </pre>

+remote_queue indicates the remote PBS queue
+remote_iwd is the remote directory in which you want the job to execute
output and error keys point to a directory on the remote PBS machine where you want stdout and stderr to go.