Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jan 31, 2006 SEE-GRID Nis Training Session Hands-on V: Standard Grid Usage Dušan Vudragović SCL and ATLAS group Institute of Physics, Belgrade.

Similar presentations


Presentation on theme: "Jan 31, 2006 SEE-GRID Nis Training Session Hands-on V: Standard Grid Usage Dušan Vudragović SCL and ATLAS group Institute of Physics, Belgrade."— Presentation transcript:

1 Jan 31, 2006 SEE-GRID Nis Training Session Hands-on V: Standard Grid Usage Dušan Vudragović SCL and ATLAS group Institute of Physics, Belgrade

2 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Getting a proxy certificate Get onto a machine that understand grid commands To create proxy $ voms-proxy-init --voms To get information about proxy $ voms-proxy-info To destroy proxy $ voms-proxy-destroy To create long-term proxy $ myproxy-init -s -d -n To get information about a long-term $ myproxy-info -s –d Deleting a stored long-term proxy $ myproxy-destroy -s -d

3 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Data menagment GUIDGrid Unique Identifier guid:bbffd56a-eff0-4b59-af7b-2a235986001c LFNLogical File Name lfn:TestFile.dat SURLStorage URL sfn://castorgrid.cern.ch/castor/cern.ch TURLTransport URL gsiftp://castorgrid.cern.ch/castor/cern.ch

4 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Low Level Data Management Tools Checks the existence of a file or directory on a SE $ edg-gridftp-exists URL Lists a directory on a SE $ edg-gridftp-ls URL Creates a directory on a SE $ edg-gridftp-mkdir URL Renames a file on a SE $ edg-gridftp-rename sourceURL destURL Removes a file from a SE $ edg-gridftp-rm URL Removes a directory on a SE $ edg-gridftp-rmdir URL Copies files between SEs $ globus-url-copy sourceURL destURL

5 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session LCG Data Management Client Tools Copies a Grid file to a local destination lcg-cp --vo Copies a file to a SE and registers the file lcg-cr --vo -d SURL –l Registers in the the catalog lcg-rf --vo -l Unregisters in the the catalog lcg-uf --vo Gets the GUID for a given LFN or SURL. lcg-lg --vo Lists the replicas for a given LFN, GUID or SURL. lcg-lr --vo

6 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Some JDL attributes Type for LCG2 only “Job” type supported JobType values: “Normal”, “MPICH”, “Interactive”… Executable command name Arguments command line arguments StdOutput file where the job standard output goes StdError file where the job standard error goes InputSandbox files for transfer from UI to the WN OutputSandbox files for transfer from WN to the UI

7 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Requirements to send a job to a particular CE Requirements = other.GlueCEUniqueID == “ce.phy.bg.ac.yu:2119/jobmanager-pbs-seegrid”; job must run on a CE where a particular experiment software is installed Requirements = Member("VO-atlas-release-11.0.2", other.GlueHostApplicationSoftwareRunTimeEnvironment); for MPI job Requirements = Member("MPICH", other.GlueHostApplicationSoftwareRunTimeEnvironment) Simple JDL file Executable= "/bin/sh"; Arguments= "HelloWorld.sh"; Stdoutput = "stdoutput"; StdError = "stderror"; InputSandbox={"HelloWorld.c","HelloWorld.sh"}; OutputSandbox={"stdoutput","stderror"}; Requirements = other.GlueCEUniqueID == “ce.phy.bg.ac.yu:2119/jobmanager-pbs-seegrid”;

8 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Job submission To submit a job $ edg-job-submit $ edg-job-submit –o $ edg-job-submit –r Retrieving status of a job $ edg-job-status $ edg-job-status –i Retrieving the output of a job $ edg-job-get-output $ edg-job-get-output –i $ edg-job-get-output –dir Canceling a job $ edg-job-cancel $ edg-job-cancel –i Listing CE that match a job description $ edg-job-list-match

9 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Possible job states in the LCG-2

10 A E G I S Jan 31, 2006 SEE-GRID Nis Training Session Information Service Way to get information relative to the computing resources for certain VO $ lcg-infosites --vo ce To know the status of the storage resources $ lcg-infosites --vo se $ lcg-infosites --vo closeSE To retrieve the tags corresponding to the software installation of certain VO $ lcg-infosites --vo tag To have a list of the supported attributes $ lcg-info --list-attrs to find CEs with OS SL or SLC and list RunningJobs and FreeCPUs on them lcg-info --list-ce --query "OS=SC*" --attrs 'OS,RunningJobs,FreeCPUs'


Download ppt "Jan 31, 2006 SEE-GRID Nis Training Session Hands-on V: Standard Grid Usage Dušan Vudragović SCL and ATLAS group Institute of Physics, Belgrade."

Similar presentations


Ads by Google