Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU/CUDA Installation Not Detected #325

Open
tarak77 opened this issue Aug 29, 2023 · 2 comments
Open

GPU/CUDA Installation Not Detected #325

tarak77 opened this issue Aug 29, 2023 · 2 comments

Comments

@tarak77
Copy link

tarak77 commented Aug 29, 2023

Hi, I am trying to run HICCUPS on a test insitu hic data downloaded from 4DN portal on my LSF cluster. After loading the java and cuda modules, I try to run an interactive session on GPU and get the following error

[shisodet@lilac-ln02 insitu_hic]$ bsub -R "rusage[mem=40]" -q gpuqueue -R "gpu||A100||A40" -gpu "num=1" -W 4:00 -Is bash
Job <19519945> is submitted to queue <gpuqueue>.
<<Waiting for dispatch ...>>
<<Starting on lj14>>
[shisodet@lj14 insitu_hic]$ 
[shisodet@lj14 insitu_hic]$ java -Xmx10g -jar /data/deyk/tarak/juicer_tools_1.22.01.jar hiccups --ignore-sparsity ./test/4DNFI4OUMWZ8/4DNFI4OUMWZ8.hic ./test/4DNFI4OUMWZ8/
WARN [2023-08-29T14:13:00,285]  [Globals.java:138] [main]  Development mode is enabled
Reading file: ./test/4DNFI4OUMWZ8/4DNFI4OUMWZ8.hic
No valid configurations specified, using default settings
Using 1 CPU thread(s)
Default settings for 5kb, 10kb, and 25kb being used
Running HiCCUPS for resolution 5000
Data not available for Y at 5000 resolution
4% 
9% 
14% 
19% 
24% 
29% 
34% 
39% 
44% 
49% 
54% 
59% 
64% 
69% 
74% 
79% 
84% 
89% 
94% 
99% 
jcuda.CudaException: Failed to create a context: INVALID CUresult: 46
	at jcuda.utils.KernelLauncher.createContext(KernelLauncher.java:650)
	at jcuda.utils.KernelLauncher.initialize(KernelLauncher.java:626)
	at jcuda.utils.KernelLauncher.<init>(KernelLauncher.java:586)
	at jcuda.utils.KernelLauncher.create(KernelLauncher.java:393)
	at jcuda.utils.KernelLauncher.create(KernelLauncher.java:321)
	at jcuda.utils.KernelLauncher.compile(KernelLauncher.java:270)
	at juicebox.tools.utils.juicer.hiccups.GPUController.<init>(GPUController.java:72)
	at juicebox.tools.clt.juicer.HiCCUPS.buildGPUController(HiCCUPS.java:578)
	at juicebox.tools.clt.juicer.HiCCUPS.runCoreCodeForHiCCUPS(HiCCUPS.java:505)
	at juicebox.tools.clt.juicer.HiCCUPS.access$200(HiCCUPS.java:158)
	at juicebox.tools.clt.juicer.HiCCUPS$1.run(HiCCUPS.java:434)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
GPU/CUDA Installation Not Detected
Exiting HiCCUPS

Any help will be great

@adamcatto
Copy link

Hey @tarak77 did you end up resolving this issue? Our lab is running into the same issue. nvidia-smi can find the GPU (V100) but HiCCUPS is giving the same GPU/CUDA Installation Not Detected error.

@tarak77
Copy link
Author

tarak77 commented Feb 14, 2024

@adamcatto unfortunately no. I don't remember exactly now but I think I used the CPU version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants