Psubmit
Usage: psubmit <command-line> [options]
Requires: password access, must be on a shared diskJobs must be submitted from a shared disk, from the directory where input files can be found and where result files will be written. The user must have appropriate read and write permissions, as well as being registered as a user of the Peach system. As with other Peach commands, psubmit requires a password from the user for access. Asingle command line or script can be submitted, as well as a script with embedded psubmit commands.
The psubmit options are:
- -ip <machine>: target a specific machine by IP number or name
- -os <operating_system>: target a specific operating
system (defined as the return value of "uname")
- -mem <memory_size>: target a system with a minimum memory
size in GB
- -jn <job_name>: assign a user-defined name to the job
- -ss: submit the script immediately and execute embedded psubmit commands
- -email: send e-mail to the user on completion of the job
- Darwin
- Linux_i686
- Linux_x86_64
- IRIX64
- OSF1
- AIX
Output
The normal output for the command line will be generated, with the output to the shell captured in two files named after the submitted script and with the extensions .STDOUT and STDERR. If the -email option is used, these two files will be sent to the user on completion or termination of the job.Examples:
Bin an image on the computer Titan and call the job "examplejob":
psubmit bint -bin 3
test.tif output.tif
-ip Titan -jn examplejob
To run a script with embedded psubmit commands (such as in a loop):
psubmit queue10.pl -ss
To submit a command line which possess options which coincide with psubmit options:
psubmit
"testProgram -ss" -ip Titan
To submit a job to specific operating systems:
psubmit hello.pl -os irix64
psubmit hello.pl -os linux,darwinUsers should note once again that if this command is not executed on the shared disk and not performed on data on the shared disk, the operation will fail.