You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Archlinux, I wasn't able to compile the FFT example.
I made a specific config.nims file in the example directory from the nimble file and echo'ed all the pathes included.
It turns out that the current nimble file expects cuda to be installed under /usr/local.
Actually, on Archlinux, the CUDA library is installed under /opt/cuda. See GPGPU - ArchWiki
My config.nims file looks like the following:
As mentioned in the ArchWiki, one wants to setup environment variables by running a similar script to cuda.sh and using CUDA_PATH in place of the currently hardcoded paths in nimble.
export CUDA_PATH=/opt/cuda
append_path '/opt/cuda/bin'
append_path '/opt/cuda/nsight_compute'
append_path '/opt/cuda/nsight_systems/bin'export PATH
# Set the default host compiler for nvcc. This will need to be switched back# and forth between the latest and previous GCC version, whatever nvcc# currently supports.export NVCC_CCBIN='/usr/bin/g++-13'
The text was updated successfully, but these errors were encountered:
On Archlinux, I wasn't able to compile the FFT example.
I made a specific config.nims file in the example directory from the nimble file and echo'ed all the pathes included.
It turns out that the current nimble file expects cuda to be installed under
/usr/local
.Actually, on Archlinux, the CUDA library is installed under /opt/cuda. See GPGPU - ArchWiki
My config.nims file looks like the following:
As mentioned in the ArchWiki, one wants to setup environment variables by running a similar script to cuda.sh and using CUDA_PATH in place of the currently hardcoded paths in nimble.
The text was updated successfully, but these errors were encountered: