Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note: Make sure you set the executable bits on the files.Then, add these

Condor Configuration on submit host

  • Add lines to your Condor config file

...

  • to point to remote_gahp to use for PBS or LSF submissions
    PBS_GAHP=$(SBIN)/remote_gahp
    LSF_GAHP=$(SBIN)/remote_gahp
  • Set up ssh keys such that you can ssh from your Condor submit machine to the PBS machine by entering a passphrase to decrypt the ssh private key. Place the passphrase in a file with read permissions restricted to you.

...

  • Modify remote_gahp downloaded to tell it about the PBS machine and how to contact it. Near the top, you'll see a data structure named REMOTE_HOSTS. Add a new entry containing
    • the PBS machine's hostname

...

    • the path to the batch_gahp.wrapper script on the PBS

...

    • machine
    • the path to the passphrase file on your 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>
universe=grid
grid_resource=pbs remotesukhna.machineisi.nameedu
skip_filechecks=true
transfer_executable=false
+remote_iwd="/lfs1/pathwork/on/remote/machinepbs/condor-ssh"
+remote_queue="batch"
executable=/remotebin/path/myjobdate
arguments #arguments=300
output=/lfs1/work/remotepbs/pathcondor-ssh/out.$(cluster).$(process)
error=/remote/pathlfs1/work/pbs/condor-ssh/err.$(cluster).$(process)
log=ssh.log
queue
</pre>