#2757: NSIMD tries to download sleef when compiling
Reporter: Roland Haas Status: new Milestone: Version: Type: bug Priority: major Component: EinsteinToolkit thorn
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.
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2757/nsimd-tries-to-dow...