Docker-in-Docker (DinD) capabilities of public runners deactivated. More info

Commit 65c6bc9d authored by dino's avatar dino
Browse files

femul prints version of boost libraries (if used)

git-svn-id: svn://gal-serv.lnl.infn.it/agata/trunk/narval_emulator@1098 170316e4-aea8-4b27-aad4-0380ec0519c9
parent 05f01598
......@@ -176,6 +176,10 @@ int main(int argc, char **argv)
cout << "# Using Narval actors without Narval #" << endl;
cout << "######################################" << endl;
#ifdef WCT_THREADED
cout << "\nBoost C++ Library Version " << BOOST_VERSION/100000 << "_" << (BOOST_VERSION/100)%1000 << "_" << BOOST_VERSION%100 << endl;
#endif
bool ok;
ok = checkADFpath();
......@@ -384,22 +388,27 @@ void numparams(char * cmd, int nn)
bool checkADFpath()
{
bool found = false;
string adfpath;
if(getenv("ADF_CONF_PATH")) {
adfpath = getenv("ADF_CONF_PATH");
forceTailSlash(adfpath);
adfpath += "ADF.conf";
found = fileExists(adfpath);
}
else {
cout << "\nWARNING: ADF_CONF_PATH is not set. Looking into cwd";
cout << "\nThe symbol ADF_CONF_PATH is not set" << endl;
cout << "Looking for ADF.conf in cwd ...";
adfpath = "./ADF.conf";
found = fileExists(adfpath);
if(found)
cout << " found";
}
bool found = fileExists(adfpath);
if(found)
cout << "\n The ADF configuration file is\n " << adfpath << endl;
cout << "\nThe ADF configuration file is " << adfpath << endl;
else
cout << "\n ERROR: The ADF configuration file ADF.conf was not found." << endl;
cout << "\nERROR: The ADF configuration file ADF.conf was not found" << endl;
return found;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment