How to submit a generic job?

From UGP-Wiki

Jump to: navigation, search

How to submit a generic job?

Location: Job Services - Generic Jobs Portlet

You have your own application or the application you runs does not appear in Application Portlet, you will use this Generic Jobs Portlet to submit your job.

Principle:

You can choose the application, as well as the directory from the interface. To make it simple. Executable is always relative to user home directory. If you don't specify absolute path for executable or directory, they are all relative to user home directory.

Examples:

1. Executable: myapp/a.out

  Arguments:     -i input.txt -o output.txt 
  Directory:    data
  Environment:  JA_HOME /aa/bb/c MPI_HOME /aa/cc/d
  When you specify directory, the input.txt, output.txt must/will be in $HOME/data/ 
  Environment is the runtime environment variables in format of [name value name value]. 
  Job submited: 
            cd data; $HOME/myapp/a.out -i input.txt -o output.txt

2. Executable: myapp/a.out

  Argument:     -i myapp/input.txt -out myapp/output.txt 
  Directory: 
  
  Environment: 
  Job submited: 
            cd $HOME; $HOME/myapp/a.out -i myapp/input.txt -o myapp/output.txt


3. Executable: /u/local/apps/mat/run.exe

  Arguments:    -i input.txt -o output.txt
  Directory:   mydata
  Job submited: 
            cd mydata; /u/local/apps/mat/run.exe -i input.txt -o output.txt

  Note that input.txt and output.txt are located in $HOME/mydata


4. Executable: /u/local/apps/mat/run.exe

  Arguments:    -i in/input.txt -o out/output.txt
  Directory:   /u/local/data
  Job submited: 
            cd /u/local/data; /u/local/apps/mat/run.exe -i in/input.txt -o out/output.txt
  
  Note that input.txt will be in /u/local/data/in/
  output.txt will be in /u/local/data/out

Any implicit read/write operation will be in the directory specified.

You can specify Job Name field. It will be saved in Database.

If you select "Save as your application", the form will be saved as "User Applications". It can be easily resubmit without filling the form again.

Personal tools