Skip to content

[CMakeFiles/Makefile2:2672: src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP.dir/all] Error 2 #1

Description

@Jihong528

Dear Amber Support Team,

I hope this message finds you well.

I am currently trying to compile Amber 24 on my system, but I am encountering an issue during the compilation of CUDA-related files. Specifically, I am seeing the following error:

make[1]: *** [CMakeFiles/Makefile2:2672: src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:2698: src/pmemd/src/cuda/CMakeFiles/pmemd_cuda_DPFP_mpi.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I am using CUDA version 12.0 (as confirmed by nvcc --version), which is shown below:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2023 NVIDIA Corporation
Built on Fri_Jan__6_16:45:21_PST_2023
Cuda compilation tools, release 12.0, V12.0.140
Build cuda_12.0.r12.0/compiler.32267302_0

Could you please help me understand why this error is occurring and suggest possible solutions? Any insights regarding potential compatibility issues with CUDA 12.0 or configuration errors would be greatly appreciated.

Thank you for your time and assistance.

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