Versions Compared

Key

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

Here's a bunch of random tricks I use, some SLAC-related, but many are general to ATLAS.

If you need a particular database release, for running over data typically, you can set the database release you want to use by adding to your cmthome/requirements file:

Code Block
 set DBRELEASE_OVERRIDE 7.1.1

I still get a "Word too long" message sometimes after setting up an ATLAS release. It seems to be from the PATH variable getting over a certain length that even bash can't handle. You can fix it with this, which turns all the /afs/slac.stanford.edu to just /afs/slac, which works just as well:

Code Block

export PATH=`echo $PATH | sed s%.stanford.edu%%g`

To kill ALL your batch jobs at SLAC:

Code Block

for j in `bjobs | cut -f 1 -d " "`; do bkill $j; echo $j; done

To run eclipse:

Code Block

unset _JAVA_OPTIONS
/afs/slac.stanford.edu/g/atlas/work/a/ahaas/eclipse/eclipse

There's a lot more space in /nfs/slac/g/atlas/u01/users:

Code Block

mkdir /nfs/slac/g/atlas/u01/users/<username>
cd; ln -s /nfs/slac/g/atlas/u01/users/<username> nfs2