Table Of Contents:

Last Updated September 16th , 2011

Introduction

This page lists on how to submit a job from Condor to a remote PBS cluster using SSH credentials.

Setup

To setup Condor to submit a job to a remote machine via SSH, installations need to be done both on the submit host and the remote machine that runs PBS/Torque

Installation on the Remote PBS machine

Installation on the submit machine

The submit machine needs modified remote_gahp and condor_gridmanager

We have binaries for MACOSX running snow leopard 10.6.8

corbusier:local.corbusier vahi$ uname -a
Darwin corbusier.isi.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

Note: Make sure you set the executable bits on the files.

Condor Configuration on submit host

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:

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

+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.