add patch to recent LAMMPS easyconfigs to ensure that system Python packages are used and not updated in Python virtual environment#25127
Conversation
LAMMPS creates a virtual environment to build a python wheel of its python interface. The required packages are not pinned, causing possible future incompatibilities since pip downloads the latest versions. This patch ensures that the system packages installed by EasyBuild are used in the virtual environment whenever possible, and deactivates automatic updates by pip. Furthermore, it constrains the dependency `build<1.4` that would otherwise cause build errors for `2023a` and `2023b` toolchains. Fixes easybuilders#25089 Signed-off-by: Loris Ercole <[email protected]>
|
@boegelbot please test @ jsc-zen3 EB_ARGS="LAMMPS-22Jul2025-foss-2024a-kokkos.eb LAMMPS-29Aug2024-foss-2023b-kokkos.eb LAMMPS-29Aug2024_update2-foss-2023a-kokkos.eb LAMMPS-29Aug2024_update2-foss-2024a-kokkos.eb LAMMPS-2Aug2023_update2-foss-2023a-kokkos.eb" |
|
@boegelbot please test @ jsc-zen3-a100 EB_ARGS="LAMMPS-2Aug2023_update2-foss-2024a-kokkos-CUDA-12.6.0.eb LAMMPS-2Aug2023_update2-foss-2023a-kokkos-CUDA-12.1.1.eb LAMMPS-29Aug2024_update2-foss-2024a-kokkos-CUDA-12.6.0.eb LAMMPS-29Aug2024_update2-foss-2023b-kokkos-CUDA-12.4.0.eb LAMMPS-28Oct2024-foss-2023a-kokkos-mace-CUDA-12.1.1.eb LAMMPS-22Jul2025-foss-2024a-kokkos-CUDA-12.6.0.eb" |
|
@laraPPr: 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 3799914275 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
@boegelbot please test @ jsc-zen3-a100 EB_ARGS="LAMMPS-2Aug2023_update2-foss-2024a-kokkos-CUDA-12.6.0.eb LAMMPS-2Aug2023_update2-foss-2023a-kokkos-CUDA-12.1.1.eb LAMMPS-29Aug2024_update2-foss-2024a-kokkos-CUDA-12.6.0.eb LAMMPS-29Aug2024_update2-foss-2023b-kokkos-CUDA-12.4.0.eb LAMMPS-28Oct2024-foss-2023a-kokkos-mace-CUDA-12.1.1.eb LAMMPS-22Jul2025-foss-2024a-kokkos-CUDA-12.6.0.eb" |
|
@laraPPr: 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 3803927060 processed Message to humans: this is just bookkeeping information for me, |
Looks like these have already been tested successfully by the bot... |
|
Ah yes your correct. sorry thought only the CPU ran. will trigger the other command again. |
|
@boegelbot please test @ jsc-zen3 EB_ARGS="LAMMPS-22Jul2025-foss-2024a-kokkos.eb LAMMPS-29Aug2024-foss-2023b-kokkos.eb LAMMPS-29Aug2024_update2-foss-2023a-kokkos.eb LAMMPS-29Aug2024_update2-foss-2024a-kokkos.eb LAMMPS-2Aug2023_update2-foss-2023a-kokkos.eb" |
|
@laraPPr: 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 3804141008 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @laraPPr |
|
Test report by @boegelbot |
|
Test report by @laraPPr |
Weird that this time one test failed. But I notice that this time it used EasyBuild 5.1.2 instead of 5.2.1 or 5.2.0 like in the successful runs. Maybe that's the reason? |
|
Ah forgot to update the easybuild version on that cluster, Thanks for pointing it out. I though it might have something to do with the core pinning on our cluster. So it is running again right now. |
|
Test report by @laraPPr |
|
Going in, thanks @lorisercole! |
|
Test report by @boegelbot |
LAMMPS creates a virtual environment to build a python wheel of its python interface. The required packages are not pinned, causing possible future incompatibilities since pip downloads the latest versions. This patch ensures that the system packages installed by EasyBuild are used in the virtual environment whenever possible, and deactivates automatic updates by pip.
Furthermore, it constrains the dependency
build<1.4that would otherwise cause build errors for2023aand2023btoolchains.Fixes #25089