Hi,
Sorry for the late replay.
It looks like you have a SETUP(double) signature in your SETUP function? This is not supported:
see root.cern.ch/drupal/content/work … iles#SETUP .
I am bit surprised that sometimes it works.
If this is not the case, can you post a bit more about your SETUP function and/or the structure of the PAR package? Also the ROOT version …
[quote=“ganis”]Hi,
Sorry for the late replay.
It looks like you have a SETUP(double) signature in your SETUP function? This is not supported:
see root.cern.ch/drupal/content/work … iles#SETUP .
I am bit surprised that sometimes it works.
If this is not the case, can you post a bit more about your SETUP function and/or the structure of the PAR package? Also the ROOT version …
Gerri[/quote]
Sorry, I don’t understand: my SETUP is Int_t SETUP()
#include <stdio.h>
Int_t SETUP()
{
int rtp = 0;
if ( gSystem->Load("libHist") == -1 ) {
std::cout<<"### ---> Library libHist could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libHist properly loaded."<<std::endl;
}
if ( gSystem->Load("libPhysics") == -1 ) {
std::cout<<"### ---> Library libPhysics could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libPhysics properly loaded."<<std::endl;
}
if ( gSystem->Load("libXMLParser") == -1 ) {
std::cout<<"### ---> Library libXMLParser could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libXMLParser properly loaded."<<std::endl;
}
if ( gSystem->Load("libPhotonID") == -1 ) {
std::cout<<"### ---> Library libPhotonID could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libPhotonID properly loaded."<<std::endl;
}
if ( gSystem->Load("libGRL") == -1 ) {
std::cout<<"### ---> Library libGRL could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libGRL properly loaded."<<std::endl;
}
if ( gSystem->Load("libOQ") == -1 ) {
std::cout<<"### ---> Library libOQ could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libOQ properly loaded."<<std::endl;
}
if ( gSystem->Load("libbins") == -1 ) {
std::cout<<"### ---> Library libbins could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libbins properly loaded."<<std::endl;
}
if ( gSystem->Load("libeventselector") == -1 ) {
std::cout<<"### ---> Library libeventselector could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libeventselector properly loaded."<<std::endl;
}
/* if ( gSystem->Load("libAnalysis") == -1 ) {
std::cout<<"### ---> Library libAnalysis could not be loaded !"<<std::endl;
rtp--;
} else {
std::cout<<"### ---> Library libAnalysis properly loaded."<<std::endl;
}*/
if ( rtp < 0 ) return -1;
return 0;
}