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

Install Fail : CMake Error at cmake/Torch.cmake:416 (target_link_libraries) #1191

Open
HaoDreamlong opened this issue Dec 22, 2024 · 1 comment

Comments

@HaoDreamlong
Copy link

Issue Report

Install Fail

Please describe the issue:

Installing Dorado in Nvidia docker:
https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel_20-07.html#rel_20-07

Error Info:
'''
-- Configuring done (3.0s)
CMake Error at cmake/Torch.cmake:416 (target_link_libraries):
The link interface of target "torch_lib" contains:

CUDA::cublas_static

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Call Stack (most recent call first):
CMakeLists.txt:87 (include)

-- Generating done (0.2s)
Please provide a clear and concise description of the issue you are seeing and the result you expect.
'''

Steps to reproduce the issue:

Please list any steps to reproduce the issue.

Run environment:

  • Dorado version:
  • Dorado command:
  • Operating system:
  • Hardware (CPUs, Memory, GPUs):
  • Source data type (e.g., pod5 or fast5 - please note we always recommend converting to pod5 for optimal basecalling performance):
  • Source data location (on device or networked drive - NFS, etc.):
  • Details about data (flow cell, kit, read lengths, number of reads, total dataset size in MB/GB/TB):
  • Dataset to reproduce, if applicable (small subset of data to share as a pod5 to reproduce the issue):

Logs

  • Please provide output trace of dorado (run dorado with -v, or -vv on a small subset)
@malton-ont
Copy link
Collaborator

@HaoDreamlong,

That docker container looks to use CUDA 11.0 - dorado requires CUDA 11.8 (see here). You could try nvidia/cuda:11.8-devel-centos7 or nvidia/cuda:11.8-devel-ubuntu20.04. Ensure that you install the other required dependencies in there as well.

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