Hello,
I am trying to use ROOT to fit curves on a cluster. When I run my program on the interactive node, everything works correctly. However, when I run my program on the computation nodes, I get a segmentation fault when I call :
histo->Fit(“Poly2L”,"","",histo->GetBinCenter(maxbin_2_L-2),histo->GetBinCenter(maxbin_2_L+2));
As I said, the parameters are all correct, since it works well on the interactive node.
The error I’m getting is this :
*** Break *** segmentation violation
Generating stack trace…
0x40e132db in TH1::Fit(char const*, char const*, char const*, double, double) + 0x1a7 from /opt/root40402/lib/libHist.so
0x0804c6d2 in from ./JJSimulator.out
0x0804bd9c in from ./JJSimulator.out
0x415a1748 in __libc_start_main + 0xf8 from /lib/tls/libc.so.6
0x08049ba1 in operator new(unsigned int) + 0x41 from ./JJSimulator.out
/var/spool/torque/mom_priv/jobs/7343.ss1.ms.SC: line 10: 18182 Aborted ./JJSimulator.out
Is there something in the ROOT installation on the cluster that can produce such fault ? For example, the fact that they are computation nodes, they don’t have UI interface…
Thank you,
Maxime Boissonneault