Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This is an example shows how to run jobs and especially  SLIC, the Simulator for the Linear Collider, on the FermiGrid which is part of the Open Science Grid. SLIC is a Geant4-based simulations package that uses an XML geometry input format called LCDD to describe geometry, sensitive detectors and readout geometry. 

Warning

Note! The examples are written in a way that one can just cut and paste from your browser window to the terminal session on ILCSIM. Do not cut and paste into an editor (It wouldn't work unless you remove a lot of back slashes: \ ). Instead copy and edit the files that are created and modify them to to fit your own needs.

Prerequisites

  1. get Obtain a DOE grid certificate from http://security.fnal.gov/pki/Get-Personal-DOEGrids-Cert.html
    This page , which also explains how to export the certificate from the browser and how to deal with directory permissions and such, etc.
  2. register to Register with the ILC VO (Virtual organization) at http://cd-amr.fnal.gov/ilc/ilcsim/ilcvo-registration.shtml that will guide you to:
    https://voms.fnal.gov:8443/vomrs/ilc/vomrs
  3. get Get an account on ILCSIM/ and ILCSIM2, using the following form  http://cd-amr.fnal.gov/ilc/ilcsim/ilcsim.shtml. This machines serve as our a portals to the GRIDgrid.
Note

Setting up your own gateway to the grid is beyond the scope of this write-up. It involves installing and configuring the Virtual Data Toolkit (VDT) ,

...

installing a host certificate for the

...

gateway machine, etc.

...

For an

...

administrative guide see the Fermi Grid web page.

Setting up the Environment at Fermilab

To set up the environment and to get the necessary grid proxy certificate, log into onto ILCSIM and issue the following commands:

...

No Format
voms-proxy-info -all

External Sites (non-Fermilab)

If you want to use a grid-enabled node outside Fermilab, you may only need to add a single configuration file containing the ilc VOMS server information.

The following should be put into a file that we will call ilc-fermilab-voms.

No Format

"ilc" "fermigrid2.fnal.gov" "15023" "/DC=org/DC=doegrids/OU=Services/CN=host/fermigrid2.fnal.gov" "ilc"

Now a certificate can be obtained by referencing this configuration when running voms-proxy-init.

No Format

voms-proxy-init ilc:/ilc -userconf ./ilc-fermilab-voms
Warning

The file ilc-fermilab-voms must be owned by your account. The command will fail if this file has some other owner.

Provided that your local node is configured correctly, this should allow you to start a grid session on an external node outside Fermilab.

Submitting the

...

First Example Jobs

Now you should be all setup to submit a first trivial test job just to make sure that everything is working.   Just cut Cut and paste the following lines into your terminal window. This will submit a grid job which starts 5 separate processes. The processes will not do anything exciting but just execute sleep for 10 seconds  before  they terminateseconds before terminating. Since no output is created the sleep_grid.out.$(Cluster).$(Process) and sleep_grid.err.$(Cluster).$(Process) files should be empty.

(Note!: $(Cluster) represents the job number and $(Process) represents the (5) process  numbers)
The condor log files are:   sleep_grid.log.\$(Cluster).\$(Process)

...