Re: ?: run ROOT as batch job

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Apr 02 1998 - 10:04:29 MEST


Dirk Meier wrote:
> 
> Hi,
> 
> I want to run root as a batch job.
> For that I need to give several macros to root like in the following
> command line (initialization, running and quit root again):
> 
> my_root .x Initialization.C .x Run.C .q
> 
> unfortunately this syntax seems not to work.
> 
> Later I need to pass this command to the Load Sharing Facilty (LSF) on
> an atlas machine at cern. Does anybody has experience using it (or any
> other batch facility with root)?
> 
> merci
> Dirk Meier

Root supports batch execution. To run a list of macros and quit, do:
  root -b -q mac1.C mac2.C    macN.C

This is explained in the Root course number 1
  see ftp:://root.cern.ch/root/course1.ps.gz
This is a Postscript file. Look at page 12

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET