Skip to content

Error using outside docker environment #5

@ShaoxiongYao

Description

@ShaoxiongYao

I have built PyFlex in the docker environment and the outputs are like
-- Configuring done -- Generating done -- Build files have been written to: /workspace/PyFleX/bindings/build
after cmake .. and
[100%] Built target pyflex
after make -j

However, when I moved out of the docker environment and try to use PyFleX, I first executed commands to export environment paths and I can import pyflex in python. When I try to run pyflex.init(), this error happens,
Reshaping Flex: Could not open CUDA driver, ensure you have the latest driver (nvcuda.dll) installed and an NVIDIA GPU present on the system - ./../../../src/cuda/util.cpp:124 Flex: Could not initialize CUDA driver - ../../../src/cuda/flex.cu:4624 Could not initialize Flex, exiting.

But I checked I have the CUDA driver installed by running cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 440.82 Wed Apr 1 20:04:33 UTC 2020 GCC version: gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)

I wonder if you had a similar experience before and I am looking forward to your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions