Thank you @wtempel
The command I used for installing is:
./install.sh --standalone
–license $LICENSE_ID
–worker_path /Software/cryosparc/cryosparc_worker/
–cudapath /usr/local/cuda
–ssdpath /scratch/cryosparc_cache
–initial_email “xxxxx@gmail.com”
–initial_password “xxxxxx”
–initial_username “vijay”
–initial_firstname “Vijay”
–initial_lastname “kumar”
–port 61000
The output of above command is really big and may be repetitive. So I am pasting last part of the output.
src/cpp/cuda.hpp:143:27: note: in definition of macro ‘CUDAPP_CALL_GUARDED’
143 | cu_status_code = NAME ARGLIST; \
| ^~~~~~~
In file included from src/cpp/cuda.hpp:23,
from src/wrapper/wrap_cudadrv.cpp:3:
/usr/local/cuda/include/cudaProfiler.h:143:36: note: declared here
143 | __CUDA_DEPRECATED CUresult CUDAAPI cuProfilerInitialize(const char *configFile, const char *outputFile, CUoutput_mode outputMode);
| ^~~~~~~~~~~~~~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In function ‘pycudaboost::python::tuple {anonymous}::mem_alloc_pitch_wrap(size_t, size_t, unsigned int)’:
src/wrapper/wrap_cudadrv.cpp:121:10: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
121 | std::auto_ptr<device_allocation> da;
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from bpl-subset/bpl_subset/boost/config/no_tr1/memory.hpp:21,
from bpl-subset/bpl_subset/boost/smart_ptr/shared_ptr.hpp:27,
from bpl-subset/bpl_subset/boost/shared_ptr.hpp:17,
from src/cpp/cuda.hpp:30,
from src/wrapper/wrap_cudadrv.cpp:3:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In function ‘pycuda::module* {anonymous}::module_from_buffer(pycudaboost::python::api::object, pycudaboost::python::api::object, pycudaboost::python::api::object)’:
src/wrapper/wrap_cudadrv.cpp:357:30: warning: ‘int PyObject_AsCharBuffer(PyObject*, const char**, Py_ssize_t*)’ is deprecated [-Wdeprecated-declarations]
357 | if (PyObject_AsCharBuffer(buffer.ptr(), &mod_buf, &len))
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Software/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/include/python3.8/Python.h:147,
from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:142,
from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
from bpl-subset/bpl_subset/boost/python/args.hpp:8,
from bpl-subset/bpl_subset/boost/python.hpp:11,
from src/cpp/cuda.hpp:36,
from src/wrapper/wrap_cudadrv.cpp:3:
/Software/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/include/python3.8/abstract.h:320:17: note: declared here
320 | PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
| ^~~~~~~~~~~~~~~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In member function ‘void {anonymous}::Linker::add_data(pycudaboost::python::api::object, CUjitInputType, pycudaboost::python::str)’:
src/wrapper/wrap_cudadrv.cpp:502:34: warning: ‘int PyObject_AsCharBuffer(PyObject*, const char**, Py_ssize_t*)’ is deprecated [-Wdeprecated-declarations]
502 | if (PyObject_AsCharBuffer(py_data.ptr(), &data_buf, &data_buf_len) != 0) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /Software/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/include/python3.8/Python.h:147,
from bpl-subset/bpl_subset/boost/python/detail/wrap_python.hpp:142,
from bpl-subset/bpl_subset/boost/python/detail/prefix.hpp:13,
from bpl-subset/bpl_subset/boost/python/args.hpp:8,
from bpl-subset/bpl_subset/boost/python.hpp:11,
from src/cpp/cuda.hpp:36,
from src/wrapper/wrap_cudadrv.cpp:3:
/Software/cryosparc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/include/python3.8/abstract.h:320:17: note: declared here
320 | PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj,
| ^~~~~~~~~~~~~~~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In function ‘pycudaboost::python::handle<> {anonymous}::numpy_empty(pycudaboost::python::api::object, pycudaboost::python::api::object, pycudaboost::python::api::object, unsigned int)’:
src/wrapper/wrap_cudadrv.cpp:574:10: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
574 | std::auto_ptr<Allocation> alloc(
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from bpl-subset/bpl_subset/boost/config/no_tr1/memory.hpp:21,
from bpl-subset/bpl_subset/boost/smart_ptr/shared_ptr.hpp:27,
from bpl-subset/bpl_subset/boost/shared_ptr.hpp:17,
from src/cpp/cuda.hpp:30,
from src/wrapper/wrap_cudadrv.cpp:3:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In function ‘pycudaboost::python::handle<> {anonymous}::register_host_memory(pycudaboost::python::api::object, unsigned int)’:
src/wrapper/wrap_cudadrv.cpp:615:10: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations]
615 | std::auto_ptr<registered_host_memory> regmem(
| ^~~~~~~~
In file included from /usr/include/c++/11/memory:76,
from bpl-subset/bpl_subset/boost/config/no_tr1/memory.hpp:21,
from bpl-subset/bpl_subset/boost/smart_ptr/shared_ptr.hpp:27,
from bpl-subset/bpl_subset/boost/shared_ptr.hpp:17,
from src/cpp/cuda.hpp:30,
from src/wrapper/wrap_cudadrv.cpp:3:
/usr/include/c++/11/bits/unique_ptr.h:57:28: note: declared here
57 | template<typename> class auto_ptr;
| ^~~~~~~~
src/wrapper/wrap_cudadrv.cpp: In function ‘void init_module__driver()’:
src/wrapper/wrap_cudadrv.cpp:997:26: error: ‘CU_TARGET_COMPUTE_20’ was not declared in this scope; did you mean ‘CU_TARGET_COMPUTE_90’?
997 | .value("COMPUTE_20", CU_TARGET_COMPUTE_20)
| ^~~~~~~~~~~~~~~~~~~~
| CU_TARGET_COMPUTE_90
src/wrapper/wrap_cudadrv.cpp:1000:26: error: ‘CU_TARGET_COMPUTE_21’ was not declared in this scope; did you mean ‘CU_TARGET_COMPUTE_61’?
1000 | .value("COMPUTE_21", CU_TARGET_COMPUTE_21)
| ^~~~~~~~~~~~~~~~~~~~
| CU_TARGET_COMPUTE_61
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pycuda
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
check_install_deps.sh: 66: ERROR: installing python failed.
The output of nvidia-smi
command
$ nvidia-smi
Fri Jul 14 10:58:21 2023
±--------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.54.03 Driver Version: 535.54.03 CUDA Version: 12.2 |
|-----------------------------------------±---------------------±---------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 2080 Ti Off | 00000000:18:00.0 Off | N/A |
| 30% 29C P8 10W / 250W | 6MiB / 11264MiB | 0% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
| 1 NVIDIA GeForce RTX 2080 Ti Off | 00000000:3B:00.0 Off | N/A |
| 30% 32C P8 12W / 250W | 6MiB / 11264MiB | 0% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
| 2 NVIDIA GeForce RTX 2080 Ti Off | 00000000:86:00.0 Off | N/A |
| 30% 31C P8 5W / 250W | 6MiB / 11264MiB | 0% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
| 3 NVIDIA GeForce RTX 2080 Ti Off | 00000000:AF:00.0 On | N/A |
| 30% 31C P8 28W / 250W | 321MiB / 11264MiB | 1% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
±--------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 3453 G /usr/lib/xorg/Xorg 4MiB |
| 1 N/A N/A 3453 G /usr/lib/xorg/Xorg 4MiB |
| 2 N/A N/A 3453 G /usr/lib/xorg/Xorg 4MiB |
| 3 N/A N/A 3453 G /usr/lib/xorg/Xorg 122MiB |
| 3 N/A N/A 3771 G /usr/bin/gnome-shell 29MiB |
| 3 N/A N/A 34650 G …irefox/2908/usr/lib/firefox/firefox 167MiB |
±--------------------------------------------------------------------------------------+