Presentation is loading. Please wait.

Presentation is loading. Please wait.

Enabling Grids for E-sciencE www.eu-egee.org Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi.

Similar presentations


Presentation on theme: "Enabling Grids for E-sciencE www.eu-egee.org Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi."— Presentation transcript:

1 Enabling Grids for E-sciencE www.eu-egee.org Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi (Vietnam) November 5th, 2007

2 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Create a proxy : voms-proxy-init –voms – Enter your certificate’s password – Get your proxy Submit the job: edg-job-submit mytest.jdl – You get your job unique identifier (JobId) Get the job status : edg-job-status JobId – Request the L&B in order to know the status of your job When the job status is “OutputReady” you cabn get the output : edg-job-get-output JobId – The system returns the output in a temporary folder on the UI

3 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Minimal version ( helloworld.jdl) We specify : – The executable – STDOUT and STDERR Executable = “/bin/echo”; Arguments = “Hello world”; StdError = “hello.out”; StdOutput = “hello.err”; OutputSandbox = {“hello.out”, “hello.err”};

4 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Get the proxy [reichma@clrlcgui01 reichma]$ voms-proxy-init --voms auvergrid:/Role=lcgadmin Your identity: /O=GRID-FR/C=FR/O=CNRS/OU=LPC/CN=Matthieu Reichstadt Enter GRID pass phrase: Creating temporary proxy.................................................... Done Contacting cclcgvomsli01.in2p3.fr:15002 [/O=GRID- FR/C=FR/O=CNRS/OU=CC- LYON/CN=cclcgvomsli01.in2p3.fr] "auvergrid" Done Creating proxy................................................ Done Your proxy is valid until Sun Nov 4 19:58:21 2007

5 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Job submission [reichma@clrlcgui01 test]$ edg-job-submit --vo auvergrid helloworld.jdl Selected Virtual Organisation name (from --vo option): auvergrid Connecting to host lapp-rb01.in2p3.fr, port 7772 Logging to host lapp-rb01.in2p3.fr, port 9002 ************************************************************************************** JOB SUBMIT OUTCOME The job has been successfully submitted to the Network Server. Use edg-job-status command to check job current status. Your job identifier (edg_jobId) is: - https://lapp-rb01.in2p3.fr:9000/zGuUkhru2xQzZZzPAbB2H ************************************************************************************** JobId

6 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Get the Job status [reichma@clrlcgui01 test]$ edg-job-status https://lapp- rb01.in2p3.fr:9000/zGuUkhru2xQzZZzPAbB2H ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://lapprb01.in2p3.fr:9000/zGuUkhru2xQzZZzPAbB2H Current Status: Done (Success) Exit code: 0 Status Reason: Job terminated successfully Destination: iut15auvergridce01.univ-bpclermont.fr:2119/jobmanager- lcgpbs-auvergrid reached on: Sun Nov 4 07:08:33 2007 *************************************************************

7 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Get the job output [reichma@clrlcgui01 test]$ edg-job-get-output https://lapp- rb01.in2p3.fr:9000/zGuUkhru2xQzZZzPAbB2H Retrieving files from host: lapp-rb01.in2p3.fr ( for https://lapp- rb01.in2p3.fr:9000/zGuUkhru2xQzZZzPAbB2H ) ********************************************************************************* JOB GET OUTPUT OUTCOME Output sandbox files for the job: - https://lapp-rb01.in2p3.fr:9000/zGuUkhru2xQzZZzPAbB2H have been successfully retrieved and stored in the directory: /tmp/jobOutput/reichma_zGuUkhru2xQzZZzPAbB2Hw ********************************************************************************* [reichma@clrlcgui01 test]$ cat /tmp/jobOutput/reichma_zGuUkhru2xQzZZzPAbB2Hw/hello.out Hello World

8 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE edg-job-submit [–r ] [-c ] [-o ] [--vo ] – -r : the job is directly submitted to the CE identified by – -c : uses the configuration file in order to overload the default values of the UI – -o : returns the jobID in – --vo : the virtual organization on which the job is submitted

9 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE edg-job-list-match  Lists the resources corresponding to the job description  Allows he user to know the result of the scheduling without submitting the job.  edg-job-cancel [–i ]  Cancels the job.  edg-job-status [–i ]  Gets the job status. edg-job-get-output [--dir ] [–i ]  Gets the content of the OutputSandbox edg-job-get-logging-info [–i ]  Displays the informations on the status taken by the job during his life cycle.

10 ACGrid School 5-9/11 2007 Enabling Grids for E-sciencE Thank you


Download ppt "Enabling Grids for E-sciencE www.eu-egee.org Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi."

Similar presentations


Ads by Google