Nadia LAJILI [email protected] User Interface User Interface 4 Février 2002.
-
Upload
everett-nicholson -
Category
Documents
-
view
212 -
download
0
Transcript of Nadia LAJILI [email protected] User Interface User Interface 4 Février 2002.
2Nadia LAJILI
ContentsContents
Installation User Interface UI Commands Examples Related Links
3Nadia LAJILI
InstallationInstallation
RPM available in the package repository : http://datagrid.in2p3.fr/distribution/datagrid/wp1/RPMS/
Requirements :Python 2.1Globus libraries
Configuration à through only one file : /opt/edg/UI_ConfigENV.cfg
Setup environment variables : $PYTHONPATH,$GLOBUS_LOCATION, etc…edg_env script
4Nadia LAJILI
User InterfaceUser 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.
5Nadia LAJILI
UI CommandsUI 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.
6Nadia LAJILI
MyJob.jdlMyJob.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"};
7Nadia LAJILI
MyJob.jdlMyJob.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
8Nadia LAJILI
UI CommandsUI Commands
To submit a job on the testbed platform :$ dg-job-submit MyJob.jdl
main options :- resource <CE_id> 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 <dg_JobId> and the result of the submission
9Nadia LAJILI
UI CommandsUI Commands
Pour know about the status of the job : $ dg-job-status « <dg_JobId> »
To retrieve the output of the job : $ dg-job-get-output « <dg_JobId> »
Displays the list of identifiers of he resources accessible by the userAnd satisfying the job requirements included in the job description file.$ dg-job-list-match MyJob.jdl
10Nadia LAJILI
UI Commands UI Commands
To cancel a job previously submitted with the dg-job-submit command : $ dg-job-cancel « <dg_JobId> »
To have the formatted information contained in the <dg_jobId>:$ dg-job-id-info « <dg_JobId> »
11Nadia LAJILI
ExamplesExamples
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
***************************************************************************************************
12Nadia LAJILI
ExamplesExamples
$ dg-job-get output«https://testbed013.cern.ch:7846/134.158.105.136/091708299848905?testbed013.cern.ch:7771»
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 **************************************************************************
13Nadia LAJILI
ExamplesExamples
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 ***************************************************************************
14Nadia LAJILI
Related LinksRelated 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