NSIMD tries to download sleef when compiling
Issue #2757
resolved
NSIMD (required for CarpetX) tries to download sleef using Python requests while compiling. This fails eg if Python does not offer requests (or is too old), eg on expanse:
Traceback (most recent call last):
File "/home/rhaas/CarpetXCPU/configs/sim/scratch/build/NSIMD/nsimd-3.0.1/egg/hatch.py", line 54, in <module>
import get_sleef_code
File "/home/rhaas/CarpetXCPU/configs/sim/scratch/build/NSIMD/nsimd-3.0.1/egg/get_sleef_code.py", line 23, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
CMake Error at CMakeLists.txt:217 (set_property):
set_property could not find TARGET api_cpu. Perhaps it has not yet been
created.
CMake Error at CMakeLists.txt:218 (target_include_directories):
Cannot specify include directories for target "api_cpu" which is not built
by this project.
CMake Error at CMakeLists.txt:320 (target_compile_options):
Cannot specify compile options for target "api_cpu" which is not built by
this project.
-- Configuring incomplete, errors occurred!
but would also fail on LRZ’s SuperMUC which does not allow outgoing internet connections at all.
NSIMD should contain a copy of sleef, both to avoid this and to ensure that it gets a well defined version.
Comments (6)
-
-
reporter Pull request is here: https://github.com/EinsteinToolkit/ExternalLibraries-NSIMD/pull/2
-
reporter - changed status to open
-
reporter Please review.
-
reporter Applied as git hash bb6004f "NSIMD: include sleef zipfile in thorn" of ExternalLibraries-NSIMD
-
reporter - changed status to resolved
- Log in to comment
This happens on anvil too