Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7953 Discussions

Error: illegal pointer to class object gClient 0x0 497

Sangamesh_B_
Beginner
560 Views
Hello All,

I've compiled a C++ application on Rocks 5.1 HPC cluster (CENTOS-5.2) with Intel-10.1.018 C++ compiler. The compilation was smooth with some warnings.

But during execution of the benchmark it failed with following message:

=== much_sim.C : Loading libraries ...
Error: illegal pointer to class object gClient 0x0 497 /opt/bench-intel/cbmroot/gconfig/basiclibs.C:8:
*** Interpreter error recovered ***
Error in : BadAtom (invalid Atom parameter) (XID: 39, XREQ: 18)

The basiclibs.C file contain following content:

# cat gconfig/basiclibs.C
// $Id: basiclibs.C,v 1.1.1.1 2005/06/23 07:14:09 dbertini Exp $
//
// Macro for loading basic libraries used with both Geant3 and Geant4

void basiclibs()
{
gSystem->Load("libGeom");
gSystem->Load("libGeomPainter");

gSystem->Load("libVMC");
gSystem->Load("libPhysics");
gSystem->Load("libEG");
gSystem->Load("libEGPythia6");
gSystem->Load("libPythia6");
gSystem->Load("libPluto");
gSystem->Load("libMinuit");
gSystem->Load("libMLP");

}

Any hint what's wrong going here?
0 Kudos
2 Replies
Sangamesh_B_
Beginner
560 Views
Is this a compiler pronlem or source code problem?
What can be done to get it working?

0 Kudos
Brandon_H_Intel
Employee
560 Views
Quoting - sangamesh
Is this a compiler pronlem or source code problem?
What can be done to get it working?


I'm not familiar enough with the application to give any hints here. Hopefully someone else who's more familiar can chip in. I did some googling on that error message, and it does show up in other situations, but it's hard for me to say which if any of them may apply in this case.
0 Kudos
Reply