Presentation is loading. Please wait.

Presentation is loading. Please wait.

GENIUS Grid portal Hands on

Similar presentations


Presentation on theme: "GENIUS Grid portal Hands on"— Presentation transcript:

1 GENIUS Grid portal Hands on
Domenico Vicinanza CERN

2 Practical Information
GENIUS Tutorial website: Tutorial accounts on glite-tutor: Username: santiagoXX where XX goes from 01 to 60 Password: GridSANXX where XX goes from 01 to 60 when issuing the myproxy-init command Myproxy password: SANTIAGO for all the accounts Santiago, Chile, EELA Tutorial,

3 Introduction: the two-layers Authentication
1. Authentication with the User Interface 2. Authentication to the Grid. Input password of the user account: GridSANXX Input password of the proxy (specified when you shall execute myproxy-init) Santiago, Chile, EELA Tutorial,

4 GENIUS logging in and base settings
Preliminary Exercise GENIUS logging in and base settings Santiago, Chile, EELA Tutorial,

5 Outline of the exercise 1/2
Login at your UI account (passwd: GridSANXX) Store a proxy on a remote Myproxy Server machine with the command (using the passphrase SANTIAGO): >myproxy-init --voms gilda Retrieve a local proxy from MyProxy server: > myproxy-get-delegation (must use your new MyProxy passphrase) Verify your new local proxy: >voms-proxy-info --all Santiago, Chile, EELA Tutorial,

6 myproxy-init --voms gilda
Password: SANTIAGO Choose a new password; This password will be referred as myproxy password Santiago, Chile, EELA Tutorial,

7 Get credentials from the MyProxy server
Santiago, Chile, EELA Tutorial,

8 GRID authentication Santiago, Chile, EELA Tutorial,

9 Launch a job described by a JDL which already exists in the UI
First Exercise Launch a job described by a JDL which already exists in the UI We suppose to have the JDL file and all the other required data (input sandbox files) on the UI and we shall try to submit the job on the GRID Santiago, Chile, EELA Tutorial,

10 Selecting job Santiago, Chile, EELA Tutorial,

11 Submitting job Santiago, Chile, EELA Tutorial,

12 Submitting job Santiago, Chile, EELA Tutorial,

13 Submitting job Santiago, Chile, EELA Tutorial,

14 Checking the status Santiago, Chile, EELA Tutorial,

15 Retrieving job results 3/3
Santiago, Chile, EELA Tutorial,

16 Preapare a job described by a JDL and store it on the UI
Second Exercise Preapare a job described by a JDL and store it on the UI In this exercise we are going to create a new file on the UI called helloworld.jdl describing a simple job Santiago, Chile, EELA Tutorial,

17 First step: create the JDL file
[ JobType = "Normal"; Executable = "/bin/echo"; Arguments = "Hello World !"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ] Santiago, Chile, EELA Tutorial,

18 Inspecting our JDL Santiago, Chile, EELA Tutorial,

19 Submit the job described by the JDL created in the previous exercise
Third Exercise Submit the job described by the JDL created in the previous exercise In this exercise we are going to submit the job described by the JDL file edited in the previous step Santiago, Chile, EELA Tutorial,

20 Submitting the JDL 1/4 Santiago, Chile, EELA Tutorial,

21 Submitting the JDL 2/4 Santiago, Chile, EELA Tutorial,

22 Submitting the JDL 2/4 Santiago, Chile, EELA Tutorial,

23 Retrieving job results
Santiago, Chile, EELA Tutorial,

24 Fourth Exercise Preparing a job described by the JDL with a file to ship in the input sandbox In this exercise we are going prepare the JDL description for a job which executes a shell script. The .sh file will be shipped to the CE through the input sendbox Santiago, Chile, EELA Tutorial,

25 Step 1: Create the shell script
#!/bin/sh MY_NAME="Your name" WORKER_NODE_NAME=glite-tutor.ct.infn.it echo "Hello $MY_NAME, from $WORKER_NODE_NAME" ls -a echo "This job is running on this CE: " /opt/edg/bin/edg-brokerinfo getCE Santiago, Chile, EELA Tutorial,

26 Step2: create the JDL file
[ Executable = "startScript.sh"; StdOutput = "std.out"; StdError = "std.err"; VirtualOrganisation = "gilda"; InputSandbox = {"startScript.sh"}; OutputSandbox = {"std.out","std.err",".BrokerInfo"}; RetryCount = 7; ] Santiago, Chile, EELA Tutorial,

27 Submitting the job prepared in the previous exercise
Fifth Exercise Submitting the job prepared in the previous exercise In this exercise we are going submit the job which executes a shell script, prepared in the previous exercise. The .sh file will be shipped to the CE through the input sendbox Santiago, Chile, EELA Tutorial,

28 (List of available resources)
Santiago, Chile, EELA Tutorial,

29 Step 3: submitting job Santiago, Chile, EELA Tutorial,

30 Step 4: retrieving the results
Santiago, Chile, EELA Tutorial,

31 Sixth Exercise Preparing a set of three aggregated jobs with dependencies (DAG) and submitting it In this exercise we are going prepare the JDL description for a three-jobs aggregate with dependencies (Directed Acyclic Graph, or DAG) and submit it to the GRID Santiago, Chile, EELA Tutorial,

32 DAG execution Node2 Node1 {node1, {node2, node3}} Node3 Each node carries out a job described by its own JDL file node1=[        file=“myjob.jdl";       ]; Santiago, Chile, EELA Tutorial,

33 DAG JDL file [ Type = "dag"; VirtualOrganisation="GILDA"; nodes = [
file="helloworld.jdl"; ]; node2=[ node3=[ dependencies = {{node1, {node2, node3}}}; ] Santiago, Chile, EELA Tutorial,

34 DAG file creation Node2 Node1 Node3
Santiago, Chile, EELA Tutorial,

35 DAG job submission Santiago, Chile, EELA Tutorial,

36 Running according to dependecies
Node1 Click on “dagman” link to Inspect the DAG execution Since we have specified a dependency among the nodes: {node1, {node2, node3}} the job execution on node2 and node3 will start right after the end of the node1 job Santiago, Chile, EELA Tutorial,


Download ppt "GENIUS Grid portal Hands on"

Similar presentations


Ads by Google