Dashboard > Linear Collider > ... > SLIC FAQ > How do I run a file with Geant4 macro commands
  Linear Collider Log In View a printable version of the current page.  
  How do I run a file with Geant4 macro commands
Added by Jeremy McCormick, last edited by Jeremy McCormick on Dec 14, 2006  (view change)
Labels: 
(None)

There are two ways to run a file with Geant4 macro commands using slic.

First, a single non-option command line argument is treated as a macro.

slic run.macro

Secondly, the -m switch can be used one or more times to specify macros that will be executed in command line order.

slic -m init.macro -m run.macro

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.8 Build:#814 Oct 02, 2007) - Bug/feature request - Contact Administrators