How to submit your job?

From UGP-Wiki

Jump to: navigation, search

Generic Jobs Portlet

Principle

1. Directory is the directory in which your job will run. Every filename used in your job which is not specified as an absolute path will be relative to this directory.

2. If Directory is omitted, your home directory will be used by default.

3. If Directory is specified but does not include an absolute path, it will be relative to your home directory.

** The executable filename specified must have executable permission turned on. You can change file permission in data manager or chmod u+x file.

Sample 1:

   Executable:  a.out
   Directory:

Job Submitted:

    cd $HOME; run  $HOME/a.out 

Sample 2:

   Executable:  test1/test2/a.out
   Directory:

Job Submitted:

    cd $HOME; run  $HOME/test1/test2/a.out 

Sample 3:

   Executable:  /usr/bin/a.out
   Directory:

Job Submitted:

    cd $HOME; run  /usr/bin/a.out 



Sample 4:

   Executable:  test1/a.out  
   Directory:  test2 

Job Submitted:

    cd $HOME/test2; run $HOME/test1/a.out

Sample 5:

    Executable:  test1/a.out  
    Directory:  test1 

Job Submitted:

    cd $HOME/test1; run $HOME/test1/a.out

Sample 6:

    Executable:  test1/b/a.out  
    Directory:  test1/c

Job Submitted:

    cd $HOME/test1/c; run $HOME/test1/b/a.out

Sample 7:

    Executable:  /opt/bin/test1/a.out  
    Directory:  test1

Job Submitted:

     cd $HOME/test1; run /opt/bin/test1/a.out
Personal tools