镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

cannot remove ‘BeagleCUDA_kernels.h’: No such file or directory #150

Open

Description

@biozhajie

Hi, Doctor

I encountered an error when I am compling beagle-lib, as the prompt below:

nvcc fatal : Value 'compute_30' is not defined for option 'gpu-architecture'
rm: cannot remove ‘BeagleCUDA_kernels.h’: No such file or directory
make[4]: *** [BeagleCUDA_kernels.h] Error 1
make[4]: Leaving directory /usr/local/beagle-lib-3.1.2/libhmsbeagle/GPU/kernels' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory /usr/local/beagle-lib-3.1.2/libhmsbeagle/GPU'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/local/beagle-lib-3.1.2/libhmsbeagle' make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/local/beagle-lib-3.1.2/libhmsbeagle'
make: *** [all-recursive] Error 1

Please help me fix this issue, thanks!

Jie

Activity

  1. ayamadanu commented on Aug 19, 2020

    @ayamadanu

    I also found the same error. In my case, this was because "compute_30" was not allowed by installed version of cuda (11.0.2). In addition, SM supported by my GPU (RTX 2070 super) was not "compute_30" but "compute_75". Accordingly, I modified ./beagle-lib-3.1.2/libhmsbeagle/GPU/kernels/Makefile as follows:

    NVCCFLAGS = -O3 -arch compute_30 -Wno-deprecated-gpu-targets
    ->
    NVCCFLAGS = -O3 -arch compute_75 -Wno-deprecated-gpu-targets

    Then, I could build beagle 3.1.2 without errors, while I'm not sure beagle can work properly or not.
    You can check gpu-code supported by your cuda by "nvcc --help", and know gpu arch on site below:
    http://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

  2. nlabrad commented on Mar 1, 2021

    @nlabrad

    I can confirm this is an issue. I ran into the same thing with an NVIDIA 1070. Changed it to compute_61 and it compiled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions