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

Python Development module really needed? #28

Open
abouteiller opened this issue Sep 2, 2020 · 1 comment
Open

Python Development module really needed? #28

abouteiller opened this issue Sep 2, 2020 · 1 comment
Labels
bug Something isn't working low priority Nice to have at some point

Comments

@abouteiller
Copy link
Contributor

Original report by Joseph Schuchart (Bitbucket: jschuchart, GitHub: jschuchart).


I'm building current DPLASMA master on our new system, which provides CMake 3.16.4 and python 2.7.16 installations. Running CMake ends in the following error:

CMake Error at /sw/hawk-rh8/hlrs/non-spack/development/cmake/3.16.4/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Could NOT find Python (missing: Python_LIBRARIES Python_INCLUDE_DIRS
  Development) (found version "2.7.16")
Call Stack (most recent call first):
  /sw/hawk-rh8/hlrs/non-spack/development/cmake/3.16.4/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /sw/hawk-rh8/hlrs/non-spack/development/cmake/3.16.4/share/cmake-3.16/Modules/FindPython.cmake:347 (find_package_handle_standard_args)
  tools/PrecisionGenerator/CMakeLists.txt:5 (find_package)

The problem is that the call to find_package requests the Development module, which for some reason cannot be found on this system. If I remove Development from the call the detection succeeds. The build then runs cleanly. I wonder if this module is really needed in DPLASMA? I see the same problem in the PaRSEC submodule, with the same fix.

@abouteiller
Copy link
Contributor Author

I think we need it strongly only when using the profiling. In non-profiling cases, the standard python install should be enough to get going and run the tooling we need to do the precision generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Nice to have at some point
Projects
None yet
Development

No branches or pull requests

1 participant