Submitingjobs

From MediaWiki

(Difference between revisions)
Jump to: navigation, search
(New page: Here are some simple examples how to submit jobs on grid. This examples are committed to new users, and people who want to try EGEE grid. There are examples for every tipe of job on grid....)
Line 1: Line 1:
 +
Here are some simple examples how to submit jobs on grid.Examples are committed to new users, and people who want to try EGEE grid.
 +
This how-to is ideal for users who don`t know how to work on grid, and know little about linux/unix environments.There are examples for every tipe of job on grid.
-
Here are some simple examples how to submit jobs on grid.
+
-Simple job
-
This examples are committed to new users, and people who want to try EGEE grid.
+
-Job collection
-
There are examples for every tipe of job on grid.
+
-DAG job
-
 
+
-Interactive job
-
'''Submiting single job how to'''
+
-Parametric job
-
 
+
-MPI job
-
 
+
-
This is simple single job submiting example.
+
-
It does not requre some high skills and knowing JDL language.
+
-
For demonstration use attached file.
+
-
 
+
-
1.Extract file with:
+
-
 
+
-
  [ngrkic@ui ~]$ tar -xzf single.tar.gz
+
-
 
+
-
2.Enter directory single with:
+
-
 
+
-
  [ngrkic@ui ~]$ cd single
+
-
 
+
-
3.List directory:
+
-
 
+
-
  [ngrkic@ui single]$ ll
+
-
+
-
-rw-rw-r--  1 ngrkic ngrkic  23 Sep 30 23:43 fileA
+
-
-rw-rw-r--  1 ngrkic ngrkic  23 Sep 30 23:43 fileB
+
-
-rw-rw-r--  1 ngrkic ngrkic 184 Oct  1 13:00 single.jdl
+
-
-rw-rw-r--  1 ngrkic ngrkic  63 Sep 30 23:42 test.sh
+
-
 
+
-
4.Creating VOMS proxy:
+
-
 
+
-
[ngrkic@ui single]$ voms-proxy-init -voms aegis
+
-
 
+
-
Cannot find file or dir: /home/ngrkic/.glite/vomses
+
-
Enter GRID pass phrase:
+
-
Your identity: /C=RS/O=AEGIS/OU=Institute of Physics Belgrade/CN=Nikola Grkic
+
-
Creating temporary proxy ......................... Done
+
-
Contacting  voms.ipb.ac.rs:15001 [/C=RS/O=AEGIS/OU=Institute of Physics Belgrade/CN=host/voms.ipb.ac.rs] "aegis" Done
+
-
Creating proxy ..................................................... Done
+
-
Your proxy is valid until Fri Oct  2 01:11:00 2009 </code>
+
-
 
+
-
 
+
-
Now we are ready to submit job.
+
-
 
+
-
 
+
-
5.Submiting single job:
+
-
 
+
-
[ngrkic@ui single]$ glite-wms-job-submit -a single.jdl
+
-
 
+
-
Connecting to the service https://wms-aegis.ipb.ac.rs:7443/glite_wms_wmproxy_server
+
-
+
-
====================== glite-wms-job-submit Success ======================
+
-
+
-
The job has been successfully submitted to the WMProxy
+
-
Your job identifier is:
+
-
+
-
https://wms-aegis.ipb.ac.rs:9000/aV8X3jGTiR0cRSsfxhr3nA
+
-
+
-
==========================================================================
+
-
 
+
-
 
+
-
Copy the job ID.Job is running now, and it should finish in few moments...
+
-
 
+
-
 
+
-
6.Requesting Job status:
+
-
 
+
-
[ngrkic@ui single]$ glite-wms-job-status https://wms-aegis.ipb.ac.rs:9000/aV8X3jGTiR0cRSsfxhr3nA
+
-
+
-
+
-
*************************************************************
+
-
BOOKKEEPING INFORMATION:
+
-
Status info for the Job : https://wms-aegis.ipb.ac.rs:9000/aV8X3jGTiR0cRSsfxhr3nA
+
-
Current Status:    Done (Success)
+
-
Logged Reason(s):
+
-
    -
+
-
    - Job terminated successfully
+
-
Exit code:          0
+
-
Status Reason:      Job terminated successfully
+
-
Destination:        grid01.rcub.bg.ac.rs:2119/jobmanager-pbs-aegis
+
-
Submitted:          Thu Oct  1 13:38:10 2009 CEST
+
-
*************************************************************
+
-
 
+
-
7.Requesting Job output:
+
-
+
-
[ngrkic@ui single]$ glite-wms-job-output --dir /home/ngrkic/test https://wms-aegis.ipb.ac.rs:9000/aV8X3jGTiR0cRSsfxhr3nA
+
-
 
+
-
================================================================================
+
-
+
-
JOB GET OUTPUT OUTCOME
+
-
+
-
Output sandbox files for the job:
+
-
https://wms-aegis.ipb.ac.rs:9000/aV8X3jGTiR0cRSsfxhr3nA
+
-
have been successfully retrieved and stored in the directory:
+
-
/home/ngrkic/test
+
-
+
-
================================================================================
+
-
+
-
8.Go to test directory and see output with commands:
+
-
 
+
-
[ngrkic@ui single]$ cd
+
-
[ngrkic@ui ~]$ cd test
+
-
[ngrkic@ui ~]$ cat std.out
+

Revision as of 11:17, 2 October 2009

Here are some simple examples how to submit jobs on grid.Examples are committed to new users, and people who want to try EGEE grid. This how-to is ideal for users who don`t know how to work on grid, and know little about linux/unix environments.There are examples for every tipe of job on grid.

-Simple job -Job collection -DAG job -Interactive job -Parametric job -MPI job

Personal tools