Dictionary generation failed

Hi,

I have a root class that I can load and run in root using the command line without any problem by doing:
root -b batchScript.C

where, batchScript.C contains:

.gROOT->ProcessLine(“L tbSim.C+”);
tbSim t;
t.Loop();

but when I include root -b batchScript.C in a script that is submitted to a batch system I get the error:

Error in : Dictionary generation failed!
Info in : Invoking compiler to check macro’s validity
Info in : The compiler has not found any problem with your macro.
Probably your macro uses something rootcint can’t parse.

Why do I not see this error when using the command line?

Cheers,

Lisa

Hi,

For ACLiC to work it needs to find on the patch both rootcint and gcc (or which ever your compiler is). Possible problem on your batch system include the possible that rootcint or gcc in not in your PATH and/or that you have no writeable space available.

Cheers,
Philippe