-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update Perlmutter env #1587
Update Perlmutter env #1587
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to get that debugged; and cray libs are the worst. Thanks @esseivaju !
@pcanal the missing dl
might be a RDC link magic issue 😬
I checked a verbose CI run, and you can see that orange links to |
I would not be surprised ;( ... sigh ... |
@@ -19,6 +19,7 @@ | |||
"CELERITAS_USE_MPI": {"type": "BOOL", "value": "OFF"}, | |||
"CELERITAS_USE_ROOT": {"type": "BOOL", "value": "ON"}, | |||
"CELERITAS_USE_VecGeom": {"type": "BOOL", "value": "ON"}, | |||
"CMAKE_EXE_LINKER_FLAGS": {"type": "STRING", "value": "-ldl"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also ${CMAKE_DL_LIBS}
that can be used instead of literal -ldl
libsci
was being linked twice, from OpenMP and the libsci module. This caused a warning at runtime which which was making the regression test fail to parse the JSON output... Disabling that module results in another error: a few CUDA test fail to link with the following error:test/celeritas/CMakeFiles/celeritas_phys_Particle.dir/phys/Particle.test.cu.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
. I looked at the symbolParticle.test.cu.o
and there is indeeddlclose
, it is not clear to me who is bringing that symbol there.The failure only happens with VecGeom build, the ORANGE build has
-ldl
in the linker invocation, I don't know why it's different for VecGeom. Just work around it by settingCMAKE_EXE_LINKER_FLAGS
...