Versions Compared

Key

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

...

No Format
./bin/Linux-g++/slic [options]

What command-line options does SLIC support?

How do I get help on the command-line syntax?

...

The bsub command is used to run SLIC on LSF.

How do I run SLIC on the Condor batch system?

Can I run SLIC on the Grid?

No.

Why not?

Because getting things to run on the Grid is hard.

...

This is an example of submitting a job to run 1000 events through the sid00 detector on the xlong batch queue.

No Format

bsub -q xlong -o `pwd`/job.log -e `pwd`/err.log time slic -g sid00.lcdd -i events.stdhep -o events_sid00 -r 1000

LSF accepts plain bash scripts to start jobs. Mine usually use a few for loops to run combinations of geometries with StdHep files.

No Format

for g in $(ls *.lcdd); do
  for s in $(ls stdhep/*.stdhep); do
    fname=$(basename ${s%.*})_$(basename ${g%.*})
    bsub -o `pwd`/$fname.log -e `pwd`/$fname.err -q xlong time slic -g $g -i $i -o $fname
  done
done 

The stdhep directory should contain a symlink to the StdHep files used for input events.

Example LSF submission scripts can be found in Jeremy McCormick's jobs directory on the SLAC Linux machines at ~jeremym/work/jobs.

How do I run SLIC on the Condor batch system?

TODO: An old version works on Condor but probably not SimDist. I will get this running at NICADD.

Can I run SLIC on the Grid?

No. But I am working on it.

Why not?

Because getting things to run on the Grid is hard.

How can I make SLIC look for XML schemas in a local directory?

The current directory is always searched for the XSD files, first.

The GDML_SCHEMA_DIR environment variable may point to a single directory where all XSD files should be located. LCDD uses GDML for entity resolution, also, so the LCDD schemas can be placed in this directory, also.

How do I install the XML schemas to a local directory?

How can I automatically set the name of the LCIO file?

The -O switch turns on SLIC's auto-naming feature, which will give the output file a reasonable name based on the event generator used and the name (or tag) of the geometry. The /lcio/autoname command is the corresponding UI command.

How can I customize SLIC's autonaming feature?

How can I automatically delete an existing LCIO file?

...