Usage of CMS CRAB

This segment introduces how to use CRAB and the bugs of some CRAB versions I met when I do the tests on our UI.

How to use crab?

There are two ways. one way is to use CRAB installed at CERN, the other is to install CRAB in our UI.
*Use CRAB installed at CERN:
1.The last version of CRAB is already installed at CERN, just do:
      source  /afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.(c)sh
2.Then copy locally the crab.cfg file from dir $CRABDIR/python/crab.cfg.
*Use CRAB installed in cmsui01 or lcg003:
   1.download the last CRAB_X_Y_Z tgz archive from [[http://cmsdoc.cern.ch/cms/ccs/wm/www/Crab/download.html][Download]] or from the CERN afs server:
     /afs/cern.ch/cms/ccs/wm/scripts/Crab/      
   2. untar the tgz file in a directory "YOUR_DIR" of your UI
   3. run the configure file you can find in "YOUR_DIR"/CRAB_X_Y_Z/ from a clean shell: 
       cd YOUR_DIR/CRAB_X_Y_Z/
       ./configure 
   4. source YOUR_DIR/CRAB_X_Y_Z/crab.(c)sh.

The bugs found in some CRAB versions

I have tried to install three CRAB versions in cmsui01. I am successful with CRAB_2_0_4, CRAB_2_1_2, but failed with CRAB_2_2_1.
*the following error found when I use crab_2_2_1 in lcg003
crab: Scheduler Session: 'Cannot create scheduler SchedulerGLiteAPI  \t \n         missing glite environment.\n         Try export PYTHONPATH=$PYTHONPATH GLITE_LOCATION/lib\n         No module named SOAPpy.Client'
*the following error found when I use crab_2_2_1 in cmsui01
Error: Unable to find pyOpenSSL module

Please feel free to give some comments.

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2008-06-05 - ZhangXiaomei
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback