Batch mode issue

From: Marco Calviani <marco.calviani_at_gmail.com>
Date: Mon, 5 Feb 2007 19:33:07 +0100


Hi,
i need to run a program in batch mode via LSF. In order to accomplish this i've created a small script called produci_diff like this:

{

gROOT->ProcessLine(".L gamma.cpp++");
gROOT->ProcessLine("lanciarun(8207,0,4)");
gROOT->ProcessLine("lanciarun(8207,1,4)");
gROOT->ProcessLine("lanciarun(8207,2,4)");
}

and another file called produci_diff.batch like

bsub -q 1nw 'root -b -q -l produci_diff'

if i run the program with the simple line

$ root -b -q -l produci_diff

everything works fine, while with produci_diff.batch the program ends even before performing the '.L gamma.cpp++' command.

Is anything wrong with this structure?

Regards,
m Received on Mon Feb 05 2007 - 19:33:22 CET

This archive was generated by hypermail 2.2.0 : Tue Feb 06 2007 - 11:50:00 CET