Skip to content
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

VTK-9.0.1-foss-2021a.eb fails to build on top of EESSI #204

Closed
hmeiland opened this issue Nov 25, 2022 · 2 comments
Closed

VTK-9.0.1-foss-2021a.eb fails to build on top of EESSI #204

hmeiland opened this issue Nov 25, 2022 · 2 comments

Comments

@hmeiland
Copy link
Contributor

failing during compiling phase with:
In file included from /home/hpcadmin/.local/easybuild/build/VTK/9.0.1/foss-2021a/VTK-9.0.1/ThirdParty/mpi4py/vtkmpi4py/src/MPI.c:4: /home/hpcadmin/.local/easybuild/build/VTK/9.0.1/foss-2021a/VTK-9.0.1/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c: In function __pyx_tp_dealloc_6mpi4py_3MPI_Datatype: /home/hpcadmin/.local/easybuild/build/VTK/9.0.1/foss-2021a/VTK-9.0.1/ThirdParty/mpi4py/vtkmpi4py/src/mpi4py.MPI.c:154210:5: error: lvalue required as increment operand 154210 | ++Py_REFCNT(o);
this points to Python 3.10 usage as described here: https://gitlab.kitware.com/paraview/paraview/-/issues/21511
Even though the toolchain points to Python-3.9.5 (and is listed as dependency in the eb file)

@hmeiland
Copy link
Contributor Author

Python 3.10 is picked up from the base layer, and since this is the newest version, it is not dropped on finding the 3.9.5 dependency. This is fixed in the eb config file by pointing to the eb based / loaded python:
# Python configopts += "-DVTK_WRAP_PYTHON=ON -DVTK_PYTHON_VERSION=3 -DVTK_PYTHON_OPTIONAL_LINK=OFF -DPython3_EXECUTABLE=$EBROOTPYTHON/bin/python3 "
PR for this is created: easybuilders/easybuild-easyconfigs#16741

@hmeiland
Copy link
Contributor Author

VTK will now build and install on top of EESSI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant