This page details what's required to successfully submit a CRAB job during CCRC08 using the glideinWMS system from glidein-2.

For the impatient

cd ~fkw/CCRC08
source setup.sh
cd exev2/CMSSW_1_6_11/src/
source source_me
cd ~fkw/CCRC08/submitDir1/T2_US_UCSD
./script
./submit

Basic directory structure

Everything is in ~fkw/CCRC08

[1740] fkw@glidein-2 ~/CCRC08$ ls -altr
total 2032
drwxrwxr-x   3 fkw fkw    4096 Apr 23 21:52 exev2
drwxr-xr-x  11 fkw fkw    4096 Apr 24 21:13 CRAB-HEAD
-rw-rw-r--   1 fkw fkw     643 Apr 24 21:23 README
drwxrwxr-x   2 fkw fkw    4096 Apr 29 12:54 condorTest
-rwxrwxr-x   1 fkw fkw     660 Apr 29 13:32 setup.sh
drwxrwxr-x   3 fkw fkw    4096 Apr 29 16:46 submitDir1

The exev2 directory has the executable we are using.

The setup.sh file in this directory is the basic environment setup we need to source for any CRAB job submission. It looks like this:

[1743] fkw@glidein-2 ~/CCRC08$ less setup.sh
## setup CMS env
export CMS_PATH=/code/osgcode/cmssoft/cms
export SCRAM_ARCH=slc4_ia32_gcc345
export CERN=$CMS_PATH/lcg/external/cern
export CERN_LEVEL=2004
export CERN_ROOT=$CERN/$CERN_LEVEL/slc4_ia32_gcc345
export GROUP_DIR=$CMS_PATH/setup
export CMS_SYS=slc4_ia32_gcc345
export PATH=${CMS_PATH}/bin/${CMS_SYS}:${CMS_PATH}/utils:${CERN_ROOT}/bin:$PATH

source ${CMS_PATH}/cmsset_default.sh
source /code/osgcode/cmssoft/cms/setup/group_aliases.sh

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/data/vdt/glite/lib/
export PATH=${PATH}:/data/vdt/glite/bin/
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/data/vdt/globus/lib/
export PATH=${PATH}:/data/vdt/globus/bin/

-- FkW - 30 Apr 2008

Topic revision: r1 - 2008/04/30 - 00:53:51 - FkW
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback