Skip to content

[BUG] Installation error : nvcc fatal : Unsupported gpu architecture 'compute_50' #5435

@m44guy

Description

@m44guy

Bug summary

Installation from source following documentation

Failling step : 2.2.1.2. Install the DeePMD-kit’s python interface

Command : "pip install ."

*** Building project with Ninja...
[1/19] Building CUDA object lib/src/gpu/CMakeFiles/deepmd_op_cuda.dir/coord.cu.o
FAILED: [code=1] lib/src/gpu/CMakeFiles/deepmd_op_cuda.dir/coord.cu.o
/gnu/store/i3z3lxkyvakyq3cf3bj72if8fqbx77g8-profile/bin/nvcc ...
-c '/scratch/.../LAMMPS/guix _lammps_22Jul2025_avec_gpu/DeepMD/deepmd-kit/source/lib/src/gpu/coord.cu' -o lib/src/gpu/CMakeFiles/deepmd_op_cuda.dir/coord.cu.o
nvcc fatal : Unsupported gpu architecture 'compute_50'

DeePMD-kit Version

git tag > v3.1.3

Backend and its version

n/a

How did you download the software?

Built from source

Input Files, Running Commands, Error Log, etc.

see log file :
deepmd_error.txt

Steps to Reproduce

error during installation from source files. see log file above.

Further Information, Files, and Links

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions