Procedures on how to enter the GRID Christos Papachristos (cpapachr@ics.forth.gr) Site Manager of the HG-05-FORTH and GR-04-FORTH-ICS nodes Distributed.

Slides:



Advertisements
Similar presentations
EGEE is a project funded by the European Union under contract IST EGEE Tutorial Turin, January Hands on Job Services.
Advertisements

INFSO-RI Enabling Grids for E-sciencE Workload Management System and Job Description Language.
FP7-INFRA Enabling Grids for E-sciencE EGEE Induction Grid training for users, Institute of Physics Belgrade, Serbia Sep. 19, 2008.
The Grid Constantinos Kourouyiannis Ξ Architecture Group.
Job Submission The European DataGrid Project Team
SEE-GRID-SCI User Interface (UI) Installation and Configuration Branimir Ackovic Institute of Physics Serbia The SEE-GRID-SCI.
Steve LloydGridPP13 Durham July 2005 Slide 1 Using the Grid Steve Lloyd Queen Mary, University of London.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Tutorial Getting started with GILDA.
Andrew McNab - EDG Access Control - 14 Jan 2003 EU DataGrid security with GSI and Globus Andrew McNab University of Manchester
INFSO-RI Enabling Grids for E-sciencE EGEE Middleware The Resource Broker EGEE project members.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Job Submission Fokke Dijkstra RuG/SARA Grid.
Basic Grid Job Submission Alessandra Forti 28 March 2006.
Security Mechanisms The European DataGrid Project Team
Joining the Grid Andrew McNab. 28 March 2006Andrew McNab – Joining the Grid Outline ● LCG – the grid you're joining ● Related projects ● Getting a certificate.
FESR Consorzio COMETA - Progetto PI2S2 Using MPI to run parallel jobs on the Grid Marcello Iacono Manno Consorzio COMETA
08/11/908 WP2 e-NMR Grid deployment and operations Technical Review in Brussels, 8 th of December 2008 Marco Verlato.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Luciano Díaz ICN-UNAM Based on Domenico.
Elisabetta Ronchieri - How To Use The UI command line - 10/29/01 - n° 1 How To Use The UI command line Elisabetta Ronchieri by WP1 elisabetta.ronchieri.
The gLite API – PART I Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals GILDA Tutors INFN Catania ICTP/INFM-Democritos Workshop on Porting Scientific.
GRID Computing: Ifrastructure, Development and Usage in Bulgaria M. Dechev, G. Petrov, E. Atanassov.
Computational grids and grids projects DSS,
:: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: ::::: :: GridKA School 2009 MPI on Grids 1 MPI On Grids September 3 rd, GridKA School 2009.
Nadia LAJILI User Interface User Interface 4 Février 2002.
INFSO-RI Enabling Grids for E-sciencE Workload Management System Mike Mineter
Group 1 : Grid Computing Laboratory of Information Technology Supervisors: Alexander Ujhinsky Nikolay Kutovskiy.
August 13, 2003Eric Hjort Getting Started with Grid Computing in STAR Eric Hjort, LBNL STAR Collaboration Meeting August 13, 2003.
Responsibilities of ROC and CIC in EGEE infrastructure A.Kryukov, SINP MSU, CIC Manager Yu.Lazin, IHEP, ROC Manager
E-science grid facility for Europe and Latin America gLite MPI Tutorial for Grid School Daniel Alberto Burbano Sefair, Universidad de Los.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Next steps with EGEE EGEE training community.
June 24-25, 2008 Regional Grid Training, University of Belgrade, Serbia Introduction to gLite gLite Basic Services Antun Balaž SCL, Institute of Physics.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE The GILDA training infrastructure.
Portal Update Plan Ashok Adiga (512)
Enabling Grids for E-sciencE Workload Management System on gLite middleware - commands Matthieu Reichstadt CNRS/IN2P3 ACGRID School, Hanoi.
EGEE-0 / LCG-2 middleware Practical.
INFSO-RI Enabling Grids for E-sciencE GILDA and GENIUS Guy Warner NeSC Training Team An induction to EGEE for GOSC and the NGS NeSC,
Tier 3 Status at Panjab V. Bhatnagar, S. Gautam India-CMS Meeting, July 20-21, 2007 BARC, Mumbai Centre of Advanced Study in Physics, Panjab University,
DTI Mission – 29 June LCG Security Ian Neilson LCG Security Officer Grid Deployment Group CERN.
Workload Management System Jason Shih WLCG T2 Asia Workshop Dec 2, 2006: TIFR.
INFSO-RI Enabling Grids for E-sciencE GILDA Praticals Giuseppe La Rocca INFN – Catania gLite Tutorial at the EGEE User Forum CERN.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA Special Jobs Valeria Ardizzone INFN - Catania.
Enabling Grids for E-sciencE Sofia, 17 March 2009 INFSO-RI Introduction to Grid Computing, EGEE and Bulgarian Grid Initiatives –
Evangelos Markatos and Charalampos Gkikas FORTH-ICS Athens, th Mar Institute of Computer Science - FORTH Christos.
User Interface UI TP: UI User Interface installation & configuration.
A GANGA tutorial Professor Roger W.L. Jones Lancaster University.
LCG2 Tutorial Viet Tran Institute of Informatics Slovakia.
Satellital Image Clasification with neural networks Susana Arias, Héctor Gómez UNIVERSIDAD TÉCNICA PARTICULAR DE LOJA ECUADOR
EGI-InSPIRE RI Grid Training for Power Users EGI-InSPIRE N G I A E G I S Grid Training for Power Users Institute of Physics Belgrade.
Presentation of the results khiat abdelhamid
EGEE-II INFSO-RI Enabling Grids for E-sciencE Overview of gLite, the EGEE middleware Mike Mineter Training Outreach Education National.
Trusted Organizations In the grid world one single CA usually covers a predefined geographic region or administrative domain: – Organization – Country.
II EGEE conference Den Haag November, ROC-CIC status in Italy
EGEE is a project funded by the European Union under contract IST GENIUS and GILDA Guy Warner NeSC Training Team Induction to Grid Computing.
Claudio Grandi INFN Bologna Virtual Pools for Interactive Analysis and Software Development through an Integrated Cloud Environment Claudio Grandi (INFN.
INFN/IGI contributions Federated Clouds Task Force F2F meeting November 24, 2011, Amsterdam.
FESR Consorzio COMETA - Progetto PI2S2 Using MPI to run parallel jobs on the Grid Marcello Iacono Manno Consorzio Cometa
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Enabling Grids for E-sciencE Work Load Management & Simple Job Submission Practical Shu-Ting Liao APROC, ASGC EGEE Tutorial.
CNAF - 24 September 2004 EGEE SA-1 SPACI Activity Italo Epicoco.
Accessing the VI-SEEM infrastructure
Stephen Childs Trinity College Dublin
Advanced Topics: MPI jobs
Special jobs with the gLite WMS
CRC exercises Not happy with the way the document for testbed architecture is progressing More a collection of contributions from the mware groups rather.
5. Job Submission Grid Computing.
Special Jobs: MPI Alessandro Costa INAF Catania
login: clermont-ferrandxx password: GridCLExx
gLite Job Management Christos Theodosiou
WMS+LB Server Installation and Configuration
Presentation transcript:

Procedures on how to enter the GRID Christos Papachristos (cpapachr@ics.forth.gr) Site Manager of the HG-05-FORTH and GR-04-FORTH-ICS nodes Distributed Computing Systems Lab Crete, 19th Jun 06 - 1

Answers provided to… Who can apply for registration? What is the registration procedure? Who should be contacted? What are the Virtual Organizations? What tools do I need and where can I find them? How do I submit jobs to the Grid? What is the procedure of submitting jobs? Tutorials on job submission. Failed jobs. Who should be contacted? Where can I see the status of the Grid? What does the infrastructure look like? Is there any user support? ..and some other Grid related issues. Crete, 19th Jun 06 - 2

Who can apply for registration? The whole Greek research community Universities Technical Education Centers Research Centers The Eligible (global) Grid User Community is defined to be people from:  the academic research and education community; public funded bodies, institutes and research laboratories working in areas related to research and education; other bodies and organisations, such as commercial companies, who are collaborating on academic research and education with the above institutes. EGEE Access Users Policy (AUP) Crete, 19th Jun 06 - 3

Registration procedure Register yourself as a HellasGRID user Get an account to a User Interface node (UI) Acquire a digital certificate from your accredited National Certification Authority (CA) Join an existing Virtual Organization (VO) Crete, 19th Jun 06 - 4

HellasGRID registration. Step 1 The first step in order to enroll is to fill the User Registration form at the HellasGrid website http://www.hellasgrid.gr/user-request This will send a notification to the User Support Team which will get in touch with you in order to clarify your needs and help you with your first steps in joining the EGEE Grid infrastructure. Crete, 19th Jun 06 - 5

Get a UI account. Step 2 In order to become a user of the EGEE Grid Infrastructure you should: Gain access to a User Interface (UI) machine which hosts the required client software for developing and running applications in the EGEE Grid A UI is a Linux box having the appropriate client software that will help you send and execute your applications in the Grid The choices on how to obtain a UI account are: Set up your own UI node Obtain access to a local UI, already installed in your organization hellasgrid-ui.ics.forth.gr. Send an email at {cpapachr, hargikas}@ics.forth.gr Request for a UI account in the GRNET node Crete, 19th Jun 06 - 6

Get a UI account. Step 2.1 In practice everyone can install and setup a UI with the required EGEE tools following the instructions in the LCG-2 Installation Guide. Also the Italian SA1 EGEE Activity has made available a package called UIPnP which can be installed in any Linux machine and turn it into a User Interface (you can even install it as a regular non-root user). Note though that it is pre-configured for accessing the Italian EGEE sites and some manual configuration steps are required at the moment in order to be useful for EGEE-SEE users (for instructions see How to customize UIPnP for SEE-VO). Crete, 19th Jun 06 - 7

Acquire a Digital Certificate. Step 3 In order to access the Grid you need a Digital Certificate. First of all a fax has to be sent to the National Certification Authority (fax: 2310 99 43 09) with names and IDs. Then: Login to your UI account and execute the following $grid-cert-request The command will produce a .globus directory with 3 files: .globus/usercert.pem size=0 .globus/usercert_request.pem size<>0 .globus/userkey.pem size<>0 The user-cert-request.pem file has to be emailed to the HellasGrid-CA (hellasgrid-ca@physics.auth.gr). Crete, 19th Jun 06 - 8

Acquire a Digital Certificate. Step 3.1 After you receive your signed certificate Overwrite the usercert.pem file with the signed certificate (e.g #cp cpapachr@ics.forth.gr.pem /home/cpapachr/.globus/usercert.pem Import your certificate to your email and web browsers Transform the certificate to pkcs12 format by executing the following command in the UI: #openssl pkcs12 -in usercert.pem -inkey userkey.pem -export -out certkey.p12 Follow the instructions to import the certificate to the browser http://lcg.web.cern.ch/LCG/users/registration/load-cert.html Return a signed email to the HellasGRID CA accepting the certificate. Crete, 19th Jun 06 - 9

Join an existing VO. Step 4 VO=Virtual Organization. A group of scientists with common research interests. Most popular VOs can be found here, https://lcg-registrar.cern.ch/virtual_organization.html Most VOs are those of CERN dealing with experiments based on data that will be produced from the LHC (Large Hadron Collider) which will be fully operational in 2007. In our region we have the SEE VO which is supported by 27 sites. http://mon.egee-see.org Crete, 19th Jun 06 - 10

Our SEE VO In order to make life easier for the regional users, speed up and simplify the process of new application induction, SEE has established its own VO called SEE-VO. This VO will be the most adequate for SEE users that do not fit in any of the existing VOs. In order to request acceptance to the SEE-VO as a user you have to fill the following request form: https://www.grid.auth.gr/services/voms/SEE/request.php Please note that this page has to be visited using the browser on which you have already loaded your digital certificate otherwise the process cannot be completed. Crete, 19th Jun 06 - 11

Brief summary of the procedure… login %HOME/.globus/usercert-request.pem %HOME/.globus/userkey.pem %HOME/.globus/usercert.pem Start using the GRID CA UI Acceptance email Fax your ID Usercert.pem usercert-request.pem Import pkcs12 file into mailer/browser Generate pkcs12 file grid-cert-request Public key is signed and the Certificate is issued Crete, 19th Jun 06 - 12

Ready to use the infrastructure! Crete, 19th Jun 06 - 13

A simplified overview of a job workflow UI JDL Input “sandbox” grid-proxy-init Storage Element Compute Output “sandbox” Resource Broker Output “sandbox” Input “sandbox” + Broker Info Author. &Authen. Storage Element Compute Storage Element Compute Storage Element Compute Crete, 19th Jun 06 - 14

How do I submit jobs to the Grid? Create a proxy certificate Write your own .jdl file (JDL:Job Description Language file) Submit your job Retrieve the status of the job Get the output of the job Crete, 19th Jun 06 - 15

Step 1- Creating a proxy certificate [cpapachr@hellasgrid-ui cpapachr]$ grid-proxy-init -debug -verify User Cert File: /home/cpapachr/.globus/usercert.pem User Key File: /home/cpapachr/.globus/userkey.pem Trusted CA Cert Dir: /etc/grid-security/certificates Output File: /tmp/x509up_u0 Your identity: /C=GR/O=HellasGrid/OU=ics.forth.gr/CN=Christos Papachristos Enter GRID pass phrase for this identity: Creating proxy ..++++++++++++ ......++++++++++++ Done Proxy Verify OK Your proxy is valid until: Wed Jun 14 02:49:17 2006 [cpapachr@hellasgrid-ui cpapachr]$ Crete, 19th Jun 06 - 16

Step 2 – Creating the JDL file test.jdl test.sh Executable = "test.sh"; StdOutput = "test.out"; StdError = "test.err"; InputSandbox = {"./test.sh"}; OutputSandbox = {"test.out","test.err"}; Requirements = other.GlueCEUniqueID=="grid001.ics.forth.gr:2119/jobmanager-lcgpbs-dteam"; RetryCount = 0; #!/bin/bash echo Hostname: `hostname` echo Working Directory: `pwd` echo Running As: `id` echo Executed in: `date` echo Enviroment Variables: `env` Crete, 19th Jun 06 - 17

Step 3 – Submitting the job [cpapachr@hellasgrid-ui cpapachr]$ edg-job-submit --vo dteam test.jdl Selected Virtual Organisation name (from --vo option): dteam Connecting to host rb.isabella.grnet.gr, port 7772 Logging to host rb.isabella.grnet.gr, 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://rb.isabella.grnet.gr:9000/GgfNDFsgB0L3btK_2CRfKQ Keep this URL for further reference to the job already submitted [cpapachr@hellasgrid-ui cpapachr]$ Crete, 19th Jun 06 - 18

Step 4 – Querying the job status [cpapachr@hellasgrid-ui cpapachr]$ edg-job-status https://rb.isabella.grnet.gr:9000/GgfNDFsgB0L3btK_2CRfKQ ************************************************************* BOOKKEEPING INFORMATION: Status info for the Job : https://rb.isabella.grnet.gr:9000/GgfNDFsgB0L3btK_2CRfKQ Current Status: Scheduled Status Reason: Job successfully submitted to Globus Destination: grid001.ics.forth.gr:2119/jobmanager-lcgpbs-dteam reached on: Tue Jun 13 15:54:26 2006 Finally after a couple of minutes… Current Status: Done (Success) Exit code: 0 Status Reason: Job terminated successfully reached on: Tue Jun 13 16:00:07 2006 Crete, 19th Jun 06 - 19

Step 5 – Retrieving the results [cpapachr@hellasgrid-ui cpapachr]$ edg-job-get-output https://rb.isabella.grnet.gr:9000/GgfNDFsgB0L3btK_2CRfKQ Retrieving files from host: rb.isabella.grnet.gr ( for https://rb.isabella.grnet.gr:9000/GgfNDFsgB0L3btK_2CRfKQ ) ********************************************************************************* JOB GET OUTPUT OUTCOME Output sandbox files for the job: - https://rb.isabella.grnet.gr:9000/GgfNDFsgB0L3btK_2CRfKQ have been successfully retrieved and stored in the directory: /tmp/jobOutput/cpapachr_GgfNDFsgB0L3btK_2CRfKQ Crete, 19th Jun 06 - 20

Tutorials on job submission The LCG-2 User Guide describing almost everything https://edms.cern.ch/file/454439//LCG-2-UserGuide.html A small tutorial with information on JDL files and job submission https://edms.cern.ch/file/498081//UserScenario2.pdf There is also MPI support (MPICH v1.2.5). A test example can be found here http://quattor.web.lal.in2p3.fr/packages/mpi/ Crete, 19th Jun 06 - 21

Failed job submissions Who do I contact if my jobs fail? GGUS system is the main user support framework. https://gus.fzk.de/pages/home.php Contact via email as well: <MyVO>-user-support@ggus.org (<MyVO>=atlas, biomed, ...) helpdesk@ggus.org Crete, 19th Jun 06 - 22

Monitoring the Grid Where can I see the status of the Grid? The Grid Operations Centre (GOC) maintains a map with the overall state of the grid and links to various monitoring pages. http://goc.grid-support.ac.uk/gridsite/monitoring/ http://goc02.grid-support.ac.uk/googlemaps/lcg.html Our ROC also keeps track of the regional Grid resources of the SEE http://goc.grid.sinica.edu.tw/gstat/SouthEasternEurope.html http://mon.egee-see.org/gridice/site/site.php Crete, 19th Jun 06 - 23

Monitoring services to check GridICE monitoring server http://mon.egee-see.org General status of the Grid http://goc.grid.sinica.edu.tw/gstat/ Network latency monitoring http://mon.egee-see.org/cgi-bin/smokeping.cgi Crete, 19th Jun 06 - 24

A closer look at the infrastructure The HG-05-FORTH site Crete, 19th Jun 06 - 25

HG-05-FORTH Hardware Software 60 nodes with dual Intel xeon processors 3.4GHz each SATA disk 80GB 4 nodes with dual Intel xeon processors 2 SCSI disks RAID (80GB each) 4.2TB of storage (300GBx12disks) 6 CISCO 3750 switches Software 1 CE 1 SE (SE_dpm_mysql) 1 MON BOX 1 Quattor 60 WNs GPFS on SE and quattor (storage) All running: LCG middleware v. 2_7_0 Operating System: SL3.05 Crete, 19th Jun 06 - 26

User Support Team Operated by NCSR “Demokritos” - Institute of Nuclear Physics (http://grid.inp.demokritos.gr/) Responsibilities – To guide new users in their first steps in the Grid and provide continuous support in their activities. Email (egee-user-support@inp.demokritos.gr) Wiki (http://wiki.egee-see.org/index.php/Users) Mailing list (user-info@grnet.gr) – Includes all registered grid users Newsletter – Published every ~2 months in Greek. Provides local and EGEE-wide news update (http://grid.inp.demokritos.gr/indexegeenewsletter.htm) Crete, 19th Jun 06 - 27

For urgent matters {cpapachr, hargikas}@ics,forth.gr The site managers can be contacted. {cpapachr, hargikas}@ics,forth.gr Crete, 19th Jun 06 - 28

MPI example: MPItest.c #include "mpi.h" #include <stdio.h> int main(int argc, char *argv[]) { int numprocs; /* Number of processors */ int procnum; /* Processor number */ /* Initialize MPI */ MPI_Init(&argc, &argv); /* Find this processor number */ MPI_Comm_rank(MPI_COMM_WORLD, &procnum); /* Find the number of processors */ MPI_Comm_size(MPI_COMM_WORLD, &numprocs); printf ("Hello world! from processor %d out of %d\n", procnum, numprocs); /* Shut down MPI */ MPI_Finalize(); return 0; } Crete, 19th Jun 06 - 29

MPI example: MPItest.jdl Type = "Job"; JobType = "MPICH"; NodeNumber = 10; Executable = "MPItest.sh"; Arguments = "MPItest"; StdOutput = "test.out"; StdError = "test.err"; InputSandbox = {"MPItest.sh","MPItest.c"}; OutputSandbox = {"test.err","test.out","mpiexec.out"}; Requirements = (other.GlueCEInfoLRMSType == "PBS") && RegExp("grid.*.lal.in2p3.fr.*",other.GlueCEUniqueID); Crete, 19th Jun 06 - 30

MPI example: MPItest.sh #!/bin/sh -x # the binary to execute EXE=$1 echo "********************************** echo "Running on: $HOSTNAME" echo "As: " `whoami` echo "Compiling binary: $EXE" echo mpicc -o ${EXE} ${EXE}.c mpicc -o ${EXE} ${EXE}.c if [ "x$PBS_NODEFILE" != "x" ] ; then echo "PBS Nodefile: $PBS_NODEFILE" HOST_NODEFILE=$PBS_NODEFILE fi if [ "x$LSB_HOSTS" != "x" ] ; then echo "LSF Hosts: $LSB_HOSTS" HOST_NODEFILE=`pwd`/lsf_nodefile.$$ for host in ${LSB_HOSTS} do echo $host >> ${HOST_NODEFILE} done if [ "x$HOST_NODEFILE" = "x" ]; then echo "No hosts file defined. Exiting..." exit echo "************************************ CPU_NEEDED=`cat $HOST_NODEFILE | wc -l` echo "Node count: $CPU_NEEDED" echo "Nodes in $HOST_NODEFILE: " cat $HOST_NODEFILE echo "Checking ssh for each node:" NODES=`cat $HOST_NODEFILE` for host in ${NODES} do echo "Checking $host..." ssh $host hostname done echo "Executing $EXE with mpiexec" chmod 755 $EXE mpiexec `pwd`/$EXE > mpiexec.out 2>&1 echo "Executing $EXE with mpirun" mpirun -np $CPU_NEEDED -machinefile $HOST_NODEFILE `pwd`/$EXE Crete, 19th Jun 06 - 31