enhance patch file to show output when LAMMPS Python package failed to install#23774
enhance patch file to show output when LAMMPS Python package failed to install#23774boegel merged 1 commit intoeasybuilders:developfrom
Conversation
|
Test report by @Flamefire Build OK, failures are due to building on a CPU node without CUDA drivers. |
|
@boegelbot please test @ jsc-zen3-a100 |
|
@boegel: 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 3273595603 processed Message to humans: this is just bookkeeping information for me, |
|
Test report by @boegelbot |
|
Test build for Doesn't look related to the changes in this PR at all, so we can follow up on this through a dedicated PR/issue... |
|
Going in, thanks @Flamefire! |
We patch LAMMPS but exit with success (Error code 0) when the Python package failed to install causing the issue to be hidden and the sanity check then fails with the root cause missing.
Adapt the patch to show the stdout/stderr and exit with an error code != 0. See similar code in newer lammps versions: https://github.com/lammps/lammps/blob/48e49bcc862cfbd4535609c0d08cdbf15ce9a956/python/install.py#L159C1-L159C90
For us the cause was
PIP_REQUIRE_VIRTUALENV=1being set by the Python module. See easybuilders/easybuild-easyblocks#3915 for a fix