Skip to content

Can't install flang or gcc variants with CUDA support #18939

@rosenbe2

Description

@rosenbe2

I am a complete beginner to using spack.

Both flang and gcc support OpenMP offloading - this is the future of supercomputing - just one version of your code with OpenMP offloading to support any accelerator device, GPU, Vector Engine, etc.

I have not had any problems installing gcc or flang, with CUDA support, using install scripts dowloaded from the web.

However, with spack, I have had problems in both cases:
pgmath.txt
gcc_cuda.txt
flang_cuda.txt

When I try to install flang, the installation errors out with pgmath install.

When I try to install flang +cuda, the installation does not even begin due to 'conflict' diagnostics.

I can install gcc, but gcc +nvptx errors out.

  • Spack: 0.15.4-1058-84dbf69
  • Python: 3.6.8
  • Platform: linux-centos7-skylake_avx512

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions