Git Product home page Git Product logo

Comments (8)

maleadt avatar maleadt commented on August 20, 2024

Found binary nvcc at /sw/software/cuda/9.1/centos7.3_binary

Can you look at that path and see if nvcc exists and what it is? Maybe a broken symlink?

from cudaapi.jl.

ChelseaTrotter avatar ChelseaTrotter commented on August 20, 2024

Can you look at that path and see if nvcc exists and what it is? Maybe a broken symlink?

Yes, it is in /sw/software/cuda/9.1/centos7.3_binary/bin/nvcc
and libdevice is in here: /sw/software/cuda/9.1/centos7.3_binary/nvvm/libdevice/libdevice.10.bc.

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

No, I meant, what is /sw/software/cuda/9.1/centos7.3_binary/nvcc. Does it exist, is anything there.

from cudaapi.jl.

ChelseaTrotter avatar ChelseaTrotter commented on August 20, 2024

/sw/software/cuda/9.1/centos7.3_binary/nvcc does not exist, nvcc is in /sw/software/cuda/9.1/centos7.3_binary/bin/nvcc folder.

$ ls /sw/software/cuda/9.1/
centos7.3_binary

$ ls /sw/software/cuda/9.1/centos7.3_binary/
bin        build-notes  doc     include  lib    libnsight  nsightee_plugins         nvml  pkgconfig  relink    retest   share  tools
build.log  cuda         extras  jre      lib64  libnvvp    NVIDIA_CUDA-9.1_Samples  nvvm  rebuild    remodule  samples  src    version.txt

$ ls /sw/software/cuda/9.1/centos7.3_binary/bin/
bin2c        cudafe    cuda-gdbserver               cuobjdump            nsight                       nvcc.profile  nvprof   ptxas
computeprof  cudafe++  cuda-install-samples-9.1.sh  fatbinary            nsight_ee_plugins_manage.sh  nvdisasm      nvprune  uninstall_cuda_9.1.pl
crt          cuda-gdb  cuda-memcheck                gpu-library-advisor  nvcc                         nvlink        nvvp

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

/sw/software/cuda/9.1/centos7.3_binary/nvcc does not exist

Well, it gets detected as a valid path. What's the output of ispath("/sw/software/cuda/9.1/centos7.3_binary/nvcc")?

from cudaapi.jl.

ChelseaTrotter avatar ChelseaTrotter commented on August 20, 2024

What's the output of ispath("/sw/software/cuda/9.1/centos7.3_binary/nvcc")?

The output is false.

julia> ispath("/sw/software/cuda/9.1/centos7.3_binary/nvcc")
false
julia> ispath("/sw/software/cuda/9.1/centos7.3_binary/bin/nvcc")
true

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

Then you must have a broken symlink pointing to that path somewhere (or at least, that's seems like the only remaining possibility):

CUDAapi.jl/src/discovery.jl

Lines 117 to 135 in b178d40

all_paths = [joinpath(location, name) for name in all_names, location in all_locations]
paths = String[]
for path in all_paths
try
if ispath(path)
push!(paths, path)
end
catch
# some system disallow `stat` on certain paths
end
end
if isempty(paths)
return nothing
else
path = resolve(first(paths))
@debug "Found binary $(basename(path)) at $(dirname(path))"
return path
end

Try adding a @show first(paths) before that @debug statement, ie. without the call to resolve, it should point you towards the broken link.

from cudaapi.jl.

maleadt avatar maleadt commented on August 20, 2024

Closing due to inactivity.

from cudaapi.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.