Versions Compared

Key

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

...

(This does not slow down the database access for the job significantly...)

If you're running on the batch queue, you don't have access to outside afs however, so you need to use a local copy.

Code Block

export ATLAS_POOLCOND_PATH="/u/at/ahaas/"

I have made a local poolcond directory in my home directory which has a PoolFileCatalog.xml file in it which points
to the conditions data on the xrootd hotdisk, as follows:

Code Block

#!/bin/bash
#get a grid ticket first!
mkdir /u/at/ahaas/poolcond
cd /u/at/ahaas/poolcond
pwd
dq2-ls -P cmccond.*
dq2-ls -P comcond.*
dq2-ls -P oflcond.*
dq2-ls -P cond08_data.*
dq2-ls -P cond08_mc.*
dq2-ls -P cond09_mc.*
dq2-ls -P cond09_data.*
sed -i "s%srm://osgserv04.slac.stanford.edu:8443/srm/v2/server?SFN=/xrootd/atlas/%root://atl-xrdr//atlas/xrootd/%g" PoolFileCatalog.xml

See: https://twiki.cern.ch/twiki/bin/view/Atlas/AthenaDBAccess

...