1 / 8

The BbgUtils package

The BbgUtils package. Roger Barlow. BaBarGrid Workshop Ferrara, 13 th July 2005. To use it. addpkg BbgUtils gmake BbgUtils.bin Do this one and once only. BbgWho. Wrapper for unmemorable ldap bash-2.05b$ BbgWho Names of BaBar VO members =========================== Artem Trunov

shana-logan
Download Presentation

The BbgUtils package

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The BbgUtils package Roger Barlow BaBarGrid Workshop Ferrara, 13th July 2005

  2. To use it • addpkg BbgUtils • gmake BbgUtils.bin Do this one and once only

  3. BbgWho Wrapper for unmemorable ldap bash-2.05b$ BbgWho Names of BaBar VO members =========================== Artem Trunov Walter Toki Dr J A Nash Dominique Boutigny ….. Is your name there?

  4. BbgWhere bash-2.05b$ BbgWhere List of all sites available to the BaBar VO ====================================== gridce.sns.it: with 10 CPUs available gridba2.ba.infn.it: with 88 CPUs available ce3.egee.unile.it: with 3 CPUs available Grid10.fe.infn.it: with 20 CPUs available lcg-gridka-ce.fzk.de: with 1145 CPUs available ……………..

  5. BbgCERNUI Sets up the user interface even in a grid-free environment (e.g.SLAC) [noric08]~/analysis25 > grid-proxy-init grid-proxy-init: Command not found. [noric08]~/analysis25 > source BbgUtils/BbgCERNUI your operating system is sl3 your shell is tcsh [noric08]~/analysis25 > grid-proxy-init Your identity: /O=Grid/O=UKHEP/OU=hep.man.ac.uk/CN=Roger Barlow Enter GRID pass phrase for this identity:

  6. BbgSubZero Minimal grid based job submission (hence the name) BbgSubZero <command> <file> <site> Job does a cd to the directory it was submitted from before <command> so it’s “just like home” <file> is the only environment variable passed. Usable in .tcl files <site> is ral or man1 or man2. Host name and queue, local BFROOT and BOOT inserted in the script by hand. Inelegant but it works. Does not use RB or SE sandboxes. So Grid experts scorn it. But it works

  7. Use of $FILENAME for f in skimfiles/data-*.tcl do FILENAME=“${f##skimfiles/}” FILENAME=“{FILENAME%%.tcl}” BbgSubZero “BetaMiniApp my.tcl” $FILENAME ral done my.tcl contains set histFileName $env(FILENAME).hz sourceFoundFile skimfiles/$env(FILENAME).tcl

  8. Coming soon • BbgSub – the AliBaBar job submission system. (Better than BbgSubZero) • EasyGrid – even better than BbgSub • Any other grid scripts people want to put in.

More Related