don't forcibly set $LD_LIBRARY_PATH in LAMMPS sanity check#3776
don't forcibly set $LD_LIBRARY_PATH in LAMMPS sanity check#3776Crivella merged 2 commits intoeasybuilders:developfrom
$LD_LIBRARY_PATH in LAMMPS sanity check#3776Conversation
With the `foss-2024a` toolchain (CUDA 12.6+), prepending `LD_LIBRARY_PATH` with `LIBRARY_PATH` causes LAMMPS to crash, likely because the dynamic linker gets pointed to the CUDA stubs libs instead of the system libs. Strangely, this is not a problem for older toolchains. At the same time, it appears that setting `LD_LIBRARY_PATH` has no effect on the functionality of the code (it seems that Python is able to retrieve `liblammps.so` without it), so I propose we just get rid of it, unless there are actual scenarios where it causes problems.
|
I'd agree with this, this is no longer needed due to #3352 |
|
I'm with Alan on this. The fact you can't reproduce the original issue is likely because indeed it was resolved in the meantime, likely by #3352 . And even if it isn't, I'd say it's a In the |
|
@boegelbot please test @ jsc-zen3-a100 |
|
@Crivella: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de PR test command '
Test results coming soon (I hope)... Details- notification for comment with ID 2981636876 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot Overview of tested easyconfigs (in order)
Build succeeded for 4 out of 4 (4 easyconfigs in total) |
|
I would say in conjunction with easybuilders/easybuild-easyconfigs#23117 (comment) this has been extensively tested, not sure what happened with the CI, some problem with the GH runners? |
Thanks. Not sure but it seems to be a temporary problem with the CI. Perhaps you can rerun them manually? |
…asyblocks into fix/lammps-tests-cuda
|
Going in, thanks @lorisercole! |
$LD_LIBRARY_PATH in LAMMPS sanity check
With the
foss-2024atoolchain (CUDA 12.6+), prependingLD_LIBRARY_PATHwithLIBRARY_PATHcauses LAMMPS to crash, likely because the dynamic linker gets pointed to the CUDA stubs libs instead of the system libs. Strangely, this is not a problem for older toolchains. At the same time, it appears that settingLD_LIBRARY_PATHhas no effect on the functionality of the code (it seems that Python is able to retrieveliblammps.sowithout it), so I propose we just get rid of it, unless there are actual scenarios where it causes problems.