Presentation is loading. Please wait.

Presentation is loading. Please wait.

Nadia LAJILI User Interface User Interface 4 Février 2002.

Similar presentations


Presentation on theme: "Nadia LAJILI User Interface User Interface 4 Février 2002."— Presentation transcript:

1 Nadia LAJILI nlajili@in2p3.fr User Interface User Interface 4 Février 2002

2 Nadia LAJILI 2 Contents  Installation  User Interface  UI Commands  Examples  Related Links

3 Nadia LAJILI 3 Installation  RPM available in the package repository : http://datagrid.in2p3.fr/distribution/datagrid/wp1/RPMS/  Requirements : Python 2.1 Globus libraries  Configuration à through only one file : /opt/edg/UI_ConfigENV.cfg  Setup environment variables : $PYTHONPATH,$GLOBUS_LOCATION, etc… edg_env script

4 Nadia LAJILI 4 User Interface The main functionalities : - Submit a job - Find the list of the resources suitable to run a specific job - Cancel one or more submitted jobs - Retrieve the output files of a completed job Indeed the others main services needed such as : the resource broker, the information service, the job submission service, the logging and bookkeeping service, are already installed on the CERN testbed.

5 Nadia LAJILI 5 UI Commands  You need a user certificate delivered by one of the CA of the DataGRID project  Authentication via “grid-proxy-init”  Create a Job Description file using the JDL Language.

6 Nadia LAJILI 6 MyJob.jdl # The name of the executable to be run Executable = "script.sh"; # The absolute path of the executable from the executing machine InputSandbox = {"$HOME/script.sh"}; # This file will contain the standard output of the job. StdOutput = "result.out"; # This file will contain the standard error of the job. StdError = "result.err"; # This attribute specifies the list of the files generated by the job # which will be retrieved after execution. OutputSandbox = {"result.out","result.err"};

7 Nadia LAJILI 7 MyJob.jdl  To have more information about the values of these parameters and their meaning, please refer to the "JDL Attributes" document.  http://server11.infn.it/workload-grid/documents.htm

8 Nadia LAJILI 8 UI Commands  To submit a job on the testbed platform : $ dg-job-submit MyJob.jdl main options : - resource the job will be submitted to this CE node. - notify basic information and status of the job are sent by email. - hours user proxy duration in hours needed for submitting the job.  Returned values : The job Id and the result of the submission

9 Nadia LAJILI 9 UI Commands  Pour know about the status of the job : $ dg-job-status « »  To retrieve the output of the job : $ dg-job-get-output « »  Displays the list of identifiers of he resources accessible by the user And satisfying the job requirements included in the job description file. $ dg-job-list-match MyJob.jdl

10 Nadia LAJILI 10 UI Commands  To cancel a job previously submitted with the dg-job-submit command : $ dg-job-cancel « »  To have the formatted information contained in the : $ dg-job-id-info « »

11 Nadia LAJILI 11 Examples  edg_env  $ grid-proxy-init  -------------------------------------------------------------------------------------------------  Your identity: /C=FR/O=CNRS/OU=CC-LYON/CN=xxxxxxx/Email=xxxxxxxx  Enter GRID pass phrase for this identity:  Creating proxy.................................. Done  Your proxy is valid until Thu Jan 31 04:18:25 2002  ---------------------------------------------------------------------------------------------------  $ dg-job-submit MyJob.jdl  ***************************************************************************************************  JOB SUBMIT OUTCOME  The job has been successfully submitted to the Resource Broker.  Use dg-job-status command to check job current status. Your job identifier (dg_jobId) is:  - https://testbed013.cern.ch:7846/134.158.105.136/091708299848905?testbed013.cern.ch:7771  ***************************************************************************************************

12 Nadia LAJILI 12 Examples  $ dg-job-get output «https://testbed013.cern.ch:7846/134.158.105.136/091708299848905?testbed013.cern.ch:7 771» Retrieving OutputSandbox files...  **************************************************************************  JOB GET OUTPUT OUTCOME  Output sandbox files for the job:  - https://testbed013.cern.ch:7846/134.158.105.136/091708299848905?testbed013.cern.ch:7771  have been successfully retrieved and stored in the directory:  /scratch/091708299848905  **************************************************************************

13 Nadia LAJILI 13 Examples  S dg-job-list-match MyJob.jdl ***************************************************************************  COMPUTING ELEMENT IDs LIST  The following CE(s) matching your job requirements have been found:  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-A  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-C  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-G  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-I  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-J  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-P  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-R  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-S  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-T  - ccrdli05.in2p3.fr:2119/jobmanager-bqs-V  - lxshare0220.cern.ch:2119/jobmanager-pbs-long  - lxshare0220.cern.ch:2119/jobmanager-pbs-medium  - lxshare0220.cern.ch:2119/jobmanager-pbs-short  ***************************************************************************

14 Nadia LAJILI 14 Related Links  WMS Software http://server11.infn.it/workload-grid/documents.htm  Le site Web DataGRID au centre de calcul: http://ccgrid.in2p3.fr  Le site Web du WP6-Testbed : http://marianne.in2p3.fr  Le site officiel du projet DataGRID : http://www.datagrid-eu.org


Download ppt "Nadia LAJILI User Interface User Interface 4 Février 2002."

Similar presentations


Ads by Google