Skip to content

Commit

Permalink
ALIROOT-6001 AliSimulation fails to recognize libHLTsim.so.
Browse files Browse the repository at this point in the history
The problem occured when we moved AliHLTSimulation to libSTEER in order to
avoid circular dependency. I am commenting this check since it is anyway
useless.
  • Loading branch information
hristov authored and hristov committed May 20, 2015
1 parent 9fd83c6 commit f8e81f5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions STEER/STEER/AliSimulation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2168,14 +2168,14 @@ Bool_t AliSimulation::CreateHLT()
gSystem->Load(ALIHLTSIMULATION_LIBRARY);

// check for the library version
AliHLTSimulationGetLibraryVersion_t fctVersion=(AliHLTSimulationGetLibraryVersion_t)(gSystem->DynFindSymbol(ALIHLTSIMULATION_LIBRARY, ALIHLTSIMULATION_GET_LIBRARY_VERSION));
if (!fctVersion) {
AliError(Form("can not load library %s", ALIHLTSIMULATION_LIBRARY));
return kFALSE;
}
if (fctVersion()!= ALIHLTSIMULATION_LIBRARY_VERSION) {
AliWarning(Form("%s version does not match: compiled for version %d, loaded %d", ALIHLTSIMULATION_LIBRARY, ALIHLTSIMULATION_LIBRARY_VERSION, fctVersion()));
}
// AliHLTSimulationGetLibraryVersion_t fctVersion=(AliHLTSimulationGetLibraryVersion_t)(gSystem->DynFindSymbol(ALIHLTSIMULATION_LIBRARY, ALIHLTSIMULATION_GET_LIBRARY_VERSION));
// if (!fctVersion) {
// AliError(Form("can not load library %s", ALIHLTSIMULATION_LIBRARY));
// return kFALSE;
// }
// if (fctVersion()!= ALIHLTSIMULATION_LIBRARY_VERSION) {
// AliWarning(Form("%s version does not match: compiled for version %d, loaded %d", ALIHLTSIMULATION_LIBRARY, ALIHLTSIMULATION_LIBRARY_VERSION, fctVersion()));
// }

// print compile info
typedef void (*CompileInfo)( const char*& date, const char*& time);
Expand Down

0 comments on commit f8e81f5

Please sign in to comment.