TIGRE
TIGRE copied to clipboard
Complie fail when intall TIGRE in the server
When I try to install TIGRE Python on the supercomputer the compiling failed and got this error:
(ss) exouser@sit-new:~/SiT/TIGRE/Python$ pip install .
Processing /home/exouser/SiT/TIGRE/Python
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [18 lines of output]
Traceback (most recent call last):
File "/home/exouser/.conda/envs/ss/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/exouser/.conda/envs/ss/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/exouser/.conda/envs/ss/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-ahxu88yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-ahxu88yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-ahxu88yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 487, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-ahxu88yn/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 127, in <module>
File "<string>", line 90, in locate_cuda
OSError: CUDA_HOME or CUDA_PATH not set
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
OS: ubuntu 22.04 GCC: x86_64-linux-gnu-gcc-12 CUDA:12.2
I guess there is some problem with the setup.py and he available cuda version for the server is:
(ss) exouser@sit-new:~/SiT/TIGRE/Python$ module spider cuda
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
nvhpc/23.11:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Versions:
nvhpc/23.11/nvhpc-byo-compiler
nvhpc/23.11/nvhpc-hpcx-cuda11
nvhpc/23.11/nvhpc-hpcx-cuda12
nvhpc/23.11/nvhpc-hpcx
nvhpc/23.11/nvhpc-nompi
nvhpc/23.11/nvhpc-openmpi3
nvhpc/23.11/nvhpc