ComparativeGenomicsToolkit / cactus

Official home of genome aligner based upon notion of Cactus graphs
Other
505 stars 111 forks source link

v2.8.1 GPU failture! help #1343

Closed song984888 closed 5 months ago

song984888 commented 5 months ago

[songht@compate187 cactus]$ docker run -v $(pwd):/data --rm -it cactus_songht:v281-gpu --gpu 7 cactus /data/examples/jobStore /data/examples/evolverMammals.txt /data/examples/evolverMammals.hal

========== == CUDA ==

CUDA Version 11.4.3

Container image Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License. By pulling and using the container, you accept the terms and conditions of this license: https://developer.nvidia.com/ngc/nvidia-deep-learning-container-license

A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.

WARNING: The NVIDIA Driver was not detected. GPU functionality will not be available. Use the NVIDIA Container Toolkit to start this container with GPU support; see https://docs.nvidia.com/datacenter/cloud-native/ .

/opt/nvidia/nvidia_entrypoint.sh: line 67: exec: --: invalid option exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]

song984888 commented 5 months ago

it works! after installed cuda tool kit ref to https://www.howtogeek.com/devops/how-to-use-an-nvidia-gpu-with-docker-containers/#:~:text=To%20use%20your%20GPU%20with%20Docker%2C%20begin%20by,system%20using%20the%20example%20command%3A%20distribution%3D%24%28.%20%2Fetc%2Fos-release%3Becho%20%24ID%24VERSION_ID%29