Difference between revisions of "Grid@Nikhef"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 1: Line 1:
The EGEE grid infrastructure can be accessed from any Nikhef desktop running Scientific Linux 3, 4 or 5. In order to use the EGEE gLite grid middleware, type
+
The EGI / WLCG grid infrastructure can be accessed from any Nikhef-managed machine running a variant of Red Hat Enterprise Linux 6 (e.g. Scientific Linux 6, CentOS 6). In order to use the grid middleware tools, type
   . /global/ices/lcg/current/etc/profile.d/grid-env.sh        ## bash/ksh/zsh
+
   source /cvmfs/grid.cern.ch/etc/profile.d/setup-cvmfs-ui.sh        ## bash/ksh/zsh
or
+
first. Csh users will have to first run
   source /global/ices/lcg/current/etc/profile.d/grid-env.csh  ## csh/tcsh
+
   /bin/bash
first. This will set up all required environment variables for running the gLite middleware commands.
+
or perhaps even better, change their login shell to bash or zsh.
(with special thanks to Egge van der Poel for finding all csh related errors ;-))
 
  
Depending on  your operating system the appropriate version of the gLite grid middleware will be selected:
+
Sourcing the setup script will set up all required environment variables for running the middleware commands.
* Scientific Linux 3 : glite 3.0 (deprecated!)
 
* Scientific Linux 4 32bit and 64bit: glite 3.1
 
* Scientific Linux 5 32bit: glite 3.1
 
* Scientific Linux 5 64bit: glite 3.2
 
  
 
Type
 
Type
Line 24: Line 19:
 
   ................................................................... Done
 
   ................................................................... Done
 
   Your proxy is valid until Fri Dec  7 00:08:49 2007
 
   Your proxy is valid until Fri Dec  7 00:08:49 2007
If you see a warning similar to
 
  Wrong ownership on file: /global/ices/lcg/glite3.0.21/glite/etc/vomses
 
  Expected: either (0,0) or (UID, GID) = (0, 0)
 
then you safely ignore it. This is a ''feature'' of the voms software.
 
  
Congratulations! You are now ready to submit jobs to the EGEE grid using
+
Congratulations! You are now ready to use grid middleware tools.
  glite-wms-job-list-match myjob.JDL
 
and
 
  glite-wms-job-delegate-proxy
 
  glite-wms-job-submit myjob.JDL
 
  glite-wms-job-status
 
  glite-wms-job-get-output
 
...
 
 
 
Sample output:
 
 
 
  $ glite-wms-job-delegate-proxy -d janjust
 
  Connecting to the service https://graszode.nikhef.nl:7443/glite_wms_wmproxy_server
 
  ================== glite-wms-job-delegate-proxy Success ==================
 
  Your proxy has been successfully delegated to the WMProxy:
 
  https://graszode.nikhef.nl:7443/glite_wms_wmproxy_server
 
  with the delegation identifier: janjust
 
  ==========================================================================
 
 
 
  $ glite-wms-job-submit -d janjust HelloWorld.jdl
 
  Connecting to the service https://graszode.nikhef.nl:7443/glite_wms_wmproxy_server
 
  ====================== glite-wms-job-submit Success ======================
 
  The job has been successfully submitted to the WMProxy
 
  Your job identifier is:
 
    https://grasveld.nikhef.nl:9000/WlhqlLNLgnYc0tCqwiIM5A
 
  ==========================================================================
 
 
 
etc...
 

Revision as of 11:28, 17 May 2017

The EGI / WLCG grid infrastructure can be accessed from any Nikhef-managed machine running a variant of Red Hat Enterprise Linux 6 (e.g. Scientific Linux 6, CentOS 6). In order to use the grid middleware tools, type

 source /cvmfs/grid.cern.ch/etc/profile.d/setup-cvmfs-ui.sh        ## bash/ksh/zsh

first. Csh users will have to first run

 /bin/bash

or perhaps even better, change their login shell to bash or zsh.

Sourcing the setup script will set up all required environment variables for running the middleware commands.

Type

 voms-proxy-init --voms <YOUR-VO>

to create a voms proxy. Sample output:

 $ voms-proxy-init -voms pvier
 Enter GRID pass phrase:
 Your identity: /O=dutchgrid/O=users/O=nikhef/CN=Some User
 Creating temporary proxy .......................................... Done
 Contacting  voms.grid.sara.nl:30000
 [/O=dutchgrid/O=hosts/OU=sara.nl/CN=voms.grid.sara.nl] "pvier" Done
 Creating proxy
 ................................................................... Done
 Your proxy is valid until Fri Dec  7 00:08:49 2007

Congratulations! You are now ready to use grid middleware tools.