Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FairRoot v-17.10 and FairSoft oct17 fails all tests of Geant3 and Geant4 #673

Closed
TobiasStockmanns opened this issue Nov 10, 2017 · 6 comments

Comments

@TobiasStockmanns
Copy link
Contributor

Dear all,
I am running FairRoot v-17.10 and FairSoft oct17 on a OpenSuse 42.3 machine. The compilation of both packages runs without error but when I call "make test" all tests with geant3 and 4 fail.

The reason why they fail is a problem in the libraries of TGeant3:

Loading Geant3 libraries ...
cling::DynamicLibraryManager::loadLibrary(): /private/PandaSoftware/FairSoft/oct17/build/lib/libgeant321.so: undefined symbol: ZN4ROOT14DefineBehaviorEPvS0
Loading Geant3 libraries ... finished

For Geant4 the error message is:

Loading VGM libraries ...
Error in TUnixSystem::Load: version mismatch, /private/PandaSoftware/FairSoft/oct17/build/lib/libRootGM.so = 60406, ROOT = 61008

This indicates to me that in the compilation of Geant3/4 the wrong root version was used which is strange because the proper version should come from FairSoft itself. Are the path variable properly set in the compilation process of FairSoft?

Cheers,
Tobias

@TobiasStockmanns TobiasStockmanns changed the title FairRoot v-17.10 and FairSoft oct17 fails all tests after load_all_libs FairRoot v-17.10 and FairSoft oct17 fails all tests of Geant3 and Geant4 Nov 10, 2017
@fuhlig1
Copy link
Member

fuhlig1 commented Nov 10, 2017 via email

@TobiasStockmanns
Copy link
Contributor Author

Hi Florian,

I removed all entries from PATH and LD_LIBRARAY_PATH before the installation of FairSoft. Nevertheless I get many times in the installation process the message: found ROOT 6.04/06 in /usr/local/root.
How do I tell the configure script that it should take the newly installed ROOT 6.10 from FairSoft and not the existing one?

Cheers,

Tobias

@fuhlig1
Copy link
Member

fuhlig1 commented Nov 10, 2017 via email

@TobiasStockmanns
Copy link
Contributor Author

TobiasStockmanns commented Nov 15, 2017 via email

@miharenthas
Copy link
Contributor

Hi Tobias, I might have some insight here...

  1. When recompiling FairSoft, you should manually purge all the Makefiles: the script won't rewrite them with updated information --I have no idea if this is by mistake or by design.
    So you should basically $ rm -f $( find -name 'Makefile' ) in your FairSoft home directory. And no, removing the installation directory won't do: if you recompile, you're still getting the wrong paths because you're using some old Makefiles.

  2. I've been running on OpenSuSE for a while with like 3 different installation of ROOT, counting FairSoft, and it's never been a problem. On an RPM distribution, ideally, you can create modules to load and unload path extensions and switch --this is not the case by default, and there are the thisroot.sh and config.sh scripts hanging around which you source... Also, check in them if they rewrite the paths or append to them, which can also lead to problems.
    I've also been running ROOT@FairSoft compiled with 2 different versions of GCC, switched by modules (on Fedora 26), and nothing strange happened.

I think your problem is of point 1): you probably configured FairSoft once and for some reason your local ROOT was in your path, and it stuck.

@TobiasStockmanns
Copy link
Contributor Author

TobiasStockmanns commented Nov 17, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants