Lxplus Grid

From LHCB-LAPP

Jump to: navigation, search

This is basically on Lxplus.

Either you can work on batch [1] or on the grid.

If you want to use a version of Ganga before the 5.*, you firstly have to set your LHCb environment for the application you want to run with :

lbcmt
setenv[Application] [Version]
source setup.csh (in the application cmt)

I all cases go back to ~/gangadir make GridEnv and GangaEnv. Having doing that you can go to Ganga

cd ~/gangadir
GridEnv
GangaEnv [Version]
ganga

And launch the .py you've made. Here's an very simply and very short example :

app = DaVinci(platform = "slc4_ia32_gcc34",version = 'v19r7',optsfile = 'optsfile.py')
j = Job(name='MyJob',application=app,backend=Dirac())
j.outputsandbox = ['PilotCluster.root']
print j
j.submit()

The documentation is available at [[2]]

Personal tools