Skip to content

[Issue]: AOMP-22.0-1 : No available targets are compatible with triple "nvptx64-nvidia-cuda #1687

@JuanEscobarMunoz

Description

@JuanEscobarMunoz

Problem Description

Hello .

I have installed the last version of AOMP-22.0-1 from your rpm depot
https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_20.0-2/aomp_SLES15_SP5-22.0-1.x86_64.rpm

Does this version support Nvidia GPUs ?
I have a Nvidia GPU

nvptx-arch 
sm_61

For example going to "aomp_22.0-1/examples/fortran/bigloop"

make
WARNING:  Setting LLVM_INSTALL_DIR=/workdir/escj/PATCH/AOMP/aomp_SLES15_SP5-22.0-1.x86_64/usr/lib/aomp_22.0-1/lib/llvm
/workdir/escj/PATCH/AOMP/aomp_SLES15_SP5-22.0-1.x86_64/usr/lib/aomp_22.0-1/lib/llvm/bin/flang -O3 -fopenmp --offload-arch=sm_61 bigloop.f95 -o bigloop
error: unable to create target: 'No available targets are compatible with triple "nvptx64-nvidia-cuda"'
make: *** [Makefile:53: bigloop] Error 1

No problem if a force AMD-GPU ( that I have not)

LLVM_GPU_ARCH=gfx90a make
WARNING:  Setting LLVM_INSTALL_DIR=/workdir/escj/PATCH/AOMP/aomp_SLES15_SP5-22.0-1.x86_64/usr/lib/aomp_22.0-1/lib/llvm
/workdir/escj/PATCH/AOMP/aomp_SLES15_SP5-22.0-1.x86_64/usr/lib/aomp_22.0-1/lib/llvm/bin/flang -O3 -fopenmp --offload-arch=gfx90a bigloop.f95 -o bigloop

Where should be 'sm_61.bc' Nvidia libs ?
Did the come with AOMP or with CUDA ?

Thank's

Juan, Méso-NH Support Team

Operating System

OpenSuse 15.3/6

CPU

Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz

GPU

Nvidia Quadro P2200

ROCm Version

CUDA Version: 11.4

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions