Re: Batch mode issue

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Mon, 05 Feb 2007 20:16:59 +0100


Hi Macro,

sorry, for some reason the forum didn't tell me that you answered. Or, more probable, I didn't see it. I'll answer on the forum, though. http://root.cern.ch/phpBB2/viewtopic.php?t=4474

Cheers, Axel.

Marco Calviani wrote:
> 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 - 20:17:25 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 05 2007 - 23:50:00 CET