Versions Compared

Key

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

...

How do I build SLIC and the packages it depends on from scratch?

What runtime dependencies does SLIC have?

Running SLIC

Does SLIC have any runtime dependencies?

...

How do I run a macro containing UI commands?

You can put Geant4 UI commands into one or more macro files that slic can execute. This is done with the "-m" switch. There can be any number of these switches given to slic at the commandline. For instance, this command will execute the two macros init.mac and run.mac.

No Format

slic -m init.mac -m run.mac

The macros are executed in the order given at the command-line.

How do I run in interactive mode?

SLIC can be started in interactive mode using the "-n" option.

This command will start Geant4 in PreInit mode where the geometry is not loaded.

No Format

slic -n

Other commands may also be executed before the interactive mode starts.

No Format

slic -g myGeom.lcdd -n

What is a typical command to run SLIC in batch mode?

The following command illustrates some of the options that could be used in a typical batch run.

No Format

slic -g myGeom.lcdd \              # geometry file
     -i events.stdhep \            # StdHep input file
     -p lcio/ \                    # path for LCIO output file
     -o output.slcio \             # name of LCIO output file
     -x \                          # delete existing LCIO file
     -r 1234 \                     # seed the random engine
     -s 100 \                      # number of events to skip
     -r 1000                       # number of events to run

How can I check on the progress of my SLIC job(s)?

In bash, direct all output to a file, as follows.

No Format

slic &> job.log &

Now use the tail command to look at the output file as the job progresses.

No Format

tail -f job.log

The BeginEvent and EndEvent markers are best indicators of the job's progress.

How do I run SLIC on a batch system such as LSF?

...