Submits a GRAM job to a unique working directory.



[jobhandle,uniquedir] = gd_submitunique(RSL,host)

[jobhandle,uniquedir] = gd_submitunique(RSL,host,files)

[jobhandle,uniquedir] = gd_submitunique(RSL,host,files, remotedir)

[jobhandle,uniquedir] gd_submitunique(RSL,host,files, remotedir,ispassive)



This command creates a unique working directory on a Globus server, transferring files as required, and submits the compute job to the GRAM job manager. Upon a successful submission the command returns a job handle and the name of the unique directory.


[jobhandle,uniquedir] = gd_submitunique(RSL,host) where RSL is a string describing the submitted job, and host is the name of the Globus server. jobhandle is the handle for a successfully submitted job and uniquedir is the location of the working directory created on host.


[jobhandle,uniquedir] = gd_submitunique(RSL,host,files)

as above, where files is a cell array containing a list of the files to be transferred to the working directory on the host.


[jobhandle,uniquedir] = gd_submitunique(RSL,host,files, remotedir) as above, where remotedir is the directory on the host within which the unique working directory is created. files can be empty if no files are required.


[jobhandle,uniquedir] = gd_submitunique(RSL,host,files, remotedir,ispassive) where if ispassive is false the active FTP mode will be used, otherwise the default passive FTP mode will be used.  



This command creates a directory '20040427T130607_643492' in the user's home directory on the machine host. The working directory in the user supplied RSL string is set to the unique directory.


[jobhandle,dirname] = gd_submitunique('&(executable=/bin/date) (stdout="test.out")',host)



jobhandle = 


dirname =





A valid proxy certificate is required to submit a GRAM job.  For more information about RSL see


See also

gd_jobsubmit, gd_createproxy, gd_jobkill, gd_jobstatus





Copyright © 2007, The Geodise Project, University of Southampton