NorduGrid Tutorial. Client Installation and Job Examples

Similar documents
NorduGrid Tutorial Exercises

Grid Computing with NorduGrid-ARC

GRID COMPUTING A HANDS-ON EXPERIENCE

Architecture Proposal

Atlas Data-Challenge 1 on NorduGrid

Introduction to Programming and Computing for Scientists

The NorduGrid Architecture and Middleware for Scientific Applications

Usage statistics and usage patterns on the NorduGrid: Analyzing the logging information collected on one of the largest production Grids of the world

Eerola, Paula; Konya, Balazs; Smirnova, Oxana; Ekelof, T; Ellert, M; Hansen, JR; Nielsen, JL; Waananen, A; Konstantinov, A; Ould-Saada, F

FGI User Guide. Version Kimmo Mattila / CSC - IT center for science

ATLAS NorduGrid related activities

30 Nov Dec Advanced School in High Performance and GRID Computing Concepts and Applications, ICTP, Trieste, Italy

The NorduGrid/ARC Information System

ARC-XWCH bridge: Running ARC jobs on the XtremWeb-CH volunteer

The Grid Monitor. Usage and installation manual. Oxana Smirnova

GRID COMPANION GUIDE

Agent Teamwork Research Assistant. Progress Report. Prepared by Solomon Lane

Installing LittleJohn

Grid Computing. Olivier Dadoun LAL, Orsay. Introduction & Parachute method. Socle 2006 Clermont-Ferrand Orsay)

ALICE Grid/Analysis Tutorial Exercise-Solutions

Getting started with the CEES Grid

Client tools know everything

Information and monitoring

Grid Architectural Models

Gridbus Portlets -- USER GUIDE -- GRIDBUS PORTLETS 1 1. GETTING STARTED 2 2. AUTHENTICATION 3 3. WORKING WITH PROJECTS 4

Using the MyProxy Online Credential Repository

Slurm and Abel job scripts. Katerina Michalickova The Research Computing Services Group SUF/USIT October 23, 2012

Slurm and Abel job scripts. Katerina Michalickova The Research Computing Services Group SUF/USIT November 13, 2013

A New Grid Manager for NorduGrid

GROWL Scripts and Web Services

glite Grid Services Overview

Introduction to Programming and Computing for Scientists

Layered Architecture

Minimum intrusion Grid Tutorial

Extended Resource Specification Language Reference Manual for ARC versions 0.8 and above

Batch system usage arm euthen F azo he Z J. B T

Introduction to Grid Computing!

Introduction to Programming and Computing for Scientists

EGI-InSPIRE. ARC-CE IPv6 TESTBED. Barbara Krašovec, Jure Kranjc ARNES. EGI-InSPIRE RI

Scientific data management

Using MATLAB on the TeraGrid. Nate Woody, CAC John Kotwicki, MathWorks Susan Mehringer, CAC

g-eclipse A Framework for Accessing Grid Infrastructures Nicholas Loulloudes Trainer, University of Cyprus (loulloudes.n_at_cs.ucy.ac.

Advanced Job Submission on the Grid

Grid services. Enabling Grids for E-sciencE. Dusan Vudragovic Scientific Computing Laboratory Institute of Physics Belgrade, Serbia

Setup Desktop Grids and Bridges. Tutorial. Robert Lovas, MTA SZTAKI

History of SURAgrid Deployment

JOB SUBMISSION ON GRID

dcache Introduction Course

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions

Installation of CMSSW in the Grid DESY Computing Seminar May 17th, 2010 Wolf Behrenhoff, Christoph Wissing

Extended Resource Specification Language Reference Manual for ARC versions 0.8 and above

CycleServer Grid Engine Support Install Guide. version

Tenant Coordination Website User Guide For Mall Management

NAREGI Middleware Mediator

First evaluation of the Globus GRAM Service. Massimo Sgaravatto INFN Padova

GEMS: A Fault Tolerant Grid Job Management System

Linux Administration

Release Date August 31, Adeptia Inc. 443 North Clark Ave, Suite 350 Chicago, IL 60654, USA

NUSGRID a computational grid at NUS

Day 1 : August (Thursday) An overview of Globus Toolkit 2.4

Installing AX Server with PostgreSQL (multi-server)

Workspace ONE UEM Notification Service 2. VMware Workspace ONE UEM 1811

Installation and Administration

Grid security and NREN CERTS in the Nordic Countries

Getting Started with XSEDE. Dan Stanzione

Introduction to HPC Using zcluster at GACRC

ARC middleware. The NorduGrid Collaboration

Risk and Security Management for Distributed Supercomputing with Grids

Allinea DDT Debugger. Dan Mazur, McGill HPC March 5,

STARTING THE DDT DEBUGGER ON MIO, AUN, & MC2. (Mouse over to the left to see thumbnails of all of the slides)

Grid Authentication and Authorisation Issues. Ákos Frohner at CERN

Simics Installation Guide for Linux/Solaris

GT-OGSA Grid Service Infrastructure

VMware Notification Service v2.0 Installation and Configuration Guide Configure ENS2 for cloud and on-premises deployments

How to install Condor-G

An Introduction to Cluster Computing Using Newton

Performing Maintenance Operations

Installation Guide. Contents. Overview. Dell SonicWALL Advanced Reporting Installation Guide. Secure Remote Access. SonicOS

Installation and Configuration Guide Simba Technologies Inc.

XSEDE New User Tutorial

Ganga The Job Submission Tool. WeiLong Ueng

Cisco Unified Serviceability

Introduction to GT3. Overview. Installation Pre-requisites GT3.2. Overview of Installing GT3

M5 simulator system TDT4260 Computer Architecture User documentation

The EU DataGrid Fabric Management

Globus Toolkit Manoj Soni SENG, CDAC. 20 th & 21 th Nov 2008 GGOA Workshop 08 Bangalore

Grid Examples. Steve Gallo Center for Computational Research University at Buffalo

Message Networking 5.2 Administration print guide

VMware Notification Service v2.0 Installation and Configuration Guide Configure ENS2 for cloud and on-premises deployments

Graham vs legacy systems

Using Resources of Multiple Grids with the Grid Service Provider. Micha?Kosiedowski

New User Seminar: Part 2 (best practices)

AGATA Analysis on the GRID

An Introduction to the Java Image Science Toolkit

Connect using Putty to a Linux Server

Data Movement and Storage. 04/07/09 1

Altair. PBS Professional 9.1. Quick Start Guide. for UNIX, Linux, and Windows

UGP and the UC Grid Portals

P.Buncic, A.Peters, P.Saiz for the ALICE Collaboration

FAQs for the Cisco Aironet Conversion Tool Version 2.1 for Cisco IOS Software

Transcription:

NorduGrid Tutorial Client Installation and Job Examples Linux Clusters for Super Computing Conference Linköping, Sweden October 18, 2004 Arto Teräs arto.teras@csc.fi

Steps to Start Using NorduGrid 1) Install the client software 2) Request a certificate from a Certificate Authority (CA) 3) Install the certificate 4) Log in to the Grid 5) Test the installation 6) Write a job description using xrsl language 7) Submit the job 8) Monitor the progress of the job 9) Fetch the results NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 2(18)

Installing the NorduGrid Client Required to submit jobs to NorduGrid Download from http://ftp.nordugrid.org/download/ Binaries for various Linux distributions, source code also available Easiest way to get started is to install the standalone client Uncompress in a directory (no root privileges required): $ tar zxvf nordugrid-standalone-0.4.3-1.i386.tgz Run the environment setup script: $ cd nordugrid-standalone-0.4.3 $../setup.sh RPM packages are recommended for multi-user installations NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 3(18)

Requesting and Installing the Certificate Create a certificate request $ grid-cert-request -int This generates directory.globus in your home directory and inside it a file named usercert_request.pem which should be sent to a Certification Authority (CA) Check the instructions at your local site / country which CA to contact Wait for an answer from the CA Signed certificate sent by the Certificate Authority should be saved as file.globus/usercert.pem NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 4(18)

What Does a Certificate Look Like? Consists of two files: Private key is protected by a password and kept secret Public key is given out to third parties Certificate Authorities sign the public key, even they never see the private key Look like a string of random numbers and letters, but tools can be used to convert the information in readable form $ grid-cert-info -file <certificate file> For example, my identity stored in my NorduGrid certificate is O=Grid, O=NorduGrid, OU=csc.fi, CN=Arto Teras NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 5(18)

Logging in and Testing the Installation Log in to the Grid $ grid-proxy-init Use command ngtest to test the installation $ ngtest 1 -d 1 (send test job 1, show level 1 debug info) $ ngget ngtest-job-1 (fetch result files of the test job) In case of problems, read the manual and frequently asked questions list (FAQ), ask the mailing list... NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 6(18)

NorduGrid User Interface Set of command line utilities: ngsub to submit a task ngstat to obtain the status of jobs and clusters ngcat to display the stdout or stderr of a running job ngget to retrieve the result from a finished job ngkill to cancel a job request ngclean to delete a job from a remote cluster ngrenew to renew user's proxy ngsync to synchronize the local job info with the MDS ngcopy to transfer files to, from and between clusters ngremove to remove files NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 7(18)

Writing a Job Description File Resource Specification Language (RSL) files are used to specify job requirements and parameters for submission NorduGrid uses an extended language (xrsl) based on the Globus RSL Similar to scripts for local queueing systems, but include some additional attributes Job name Executable location and parameters Location of input and output files of the job Architecture, memory, disk and CPU time requirements Library dependencies and version requirements NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 8(18)

xrsl example & (executable=hellogrid.sh) (jobname=hellogrid) (stdout=hello.out) (stderr=hello.err) (gmlog=gridlog) (architecture=i686) (cputime=10) (memory=32) (disk=1) NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 9(18)

Submitting a Job Submit the job $ ngsub -f hellogrid.xrsl => Job submitted with jobid gsiftp://morpheus. dcgc.dk:2811/jobs/1757591474592630108 Fetch the results $ ngget hellogrid => ngget: downloading files to /home/ajt/1757591474592630108 ngget: download successful - deleting job from gatekeeper. NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 10(18)

Monitoring the Jobs Status of jobs can be queried with command ngstat $ ngstat hellogrid => Job gsiftp://ingvar.nsc.liu.se:2811/jobs/5436235811735113812 Jobname: hellogrid Status: FINISHING Job gsiftp://datagrid3.csc.fi:2811/jobs/1593889897762957743 Jobname: hellogrid Status: ACCEPTED Grid monitor on the NorduGrid website is also a useful monitoring tool NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 11(18)

Grid Monitor on NorduGrid Website Shows currently connected resources Almost all elements "clickable" browse queues and job states by cluster list jobs belonging to a certain user No authentication, anyone can browse the info NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 12(18)

Using a Storage Element Storage Elements are disk servers accessible via the Grid Allows to store input files close to the cluster where the program is executed, on a high bandwith network Possibility to upload output files at a desired place: (inputfiles= (''input1''. ''/home/user/myexperiment'' (''input2'', ''gsiftp://se.somewhere.ee/files/commondata'')) (outputfiles= (''output'', ''gsiftp://se.somewhere.com/mydir/result1'') (''prog.out'', ''gsiftp://se.somewhere.com/mydir/stdout'')) (stdout=''prog.out'') NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 13(18)

xrsl Example Using a Storage Element xrsl file for the hellogrid example, uploading the job results to a storage element: & (executable=hellogrid.sh) (jobname=hellogrid-se) (stdout=gsiftp://grid.tsl.uu.se/tutorial/hello.out) (stderr=gsiftp://grid.tsl.uu.se/tutorial/hello.err) (gmlog=gridlog) (architecture=i686) (cputime=10) (memory=32) (disk=1) NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 14(18)

Gsincftp Can be used to transfer files to and from storage elements Based on the popular ncftp ftp client, but uses certificate based authentication instead of standard ftp authentication Example session: $ gsincftp grid.tsl.uu.se...logged in to grid.tsl.uu.se. $ cd tutorial $ get hello.out Already deprecated by the Globus project, does not work with their newest GridFTP server replacement: UberFTP (http://dims.ncsa.uiuc.edu/set/uberftp/) NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 15(18)

Runtime Environments Software packages which are preinstalled on a computing resource Avoid the need of sending the binary at the start of executing a job Allow local optimizations (e.g. compiling to the installed architecture using optimized compiler flags) Very useful if there are many users of the same software or if the same program is used frequently Required runtime environment(s) can be specified in the job description file (xrsl file), for example: (runtimeenvironment=povray-3.5) NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 16(18)

Real Jobs Real jobs usually send several subjobs to the Grid to solve a larger problem Parallel MPI jobs to a single cluster supported (if correct runtime environment installed), but no MPI between clusters Splitting the job to suitable parts and gathering the parts together is left to the user More error prone environment than traditional local systems => error checking and recovery important Fault reporting and debugging has room for improvements Leif Nixon's example: Rendering an image in slices using the povray tool NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 17(18)

References NorduGrid website: http://www.nordugrid.org The NorduGrid User Guide: http://www.nordugrid.org/documents/userguide.pdf Balazs Konya's presentation at the 4th International Workshop on Grid Computing: http://www.nordugrid.org/slides/20031117-balazs.pdf Povray example by Leif Nixon: http://www.nsc.liu.se/~nixon/ng-povray/ Thank you! NorduGrid Tutorial / Arto Teräs 2004-10-18 Slide 18(18)