Issues with B1 on HPC

I am trying to run the B1 example on an HPC, I have done it on my own laptop and it works fine but when trying on HPC I get the following error:

Any ideas what the issue might be? Thank you in advance!

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!

_Geant4 Version: 11.1.1
_Operating System: linux
_Compiler/Version: 8.6
_CMake Version:3.23.1


It looks like the Geant4 install was built with GCC 12.1 by the spack path, but the example is being built with GCC 8.6? If so, the build should be setup to use GCC 12.1, which I’d guess is available through the same spack stack (Any GCC/stdc++ that supplies GLIBCXX_3.4.26 might work, but I’d recommend matching the compiler just in case).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.