Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4427

ptxas fatal : Value 'sm_30' is not defined for option 'gpu-name'

$
0
0

Test case with gfortran-11-nvptx sm_60 works

But I need gfortran-13-nvptx sm_60 to work.

Specified -march=sm60, compiler/linker substitutes -misa=sm_30. Output ptxas fatal : Value 'sm_30' is not defined for option 'gpu-name'

COLLECT_GCC_OPTIONS='-v''-m64''-v''-fno-openmp''-fPIC''-fcf-protection=none''-g''-foffload-abi=lp64''-fopenacc''-o''/tmp/ccWHYaSg.mkoffload'-misa=sm_30'/usr/libexec/gcc/x86_64-linux-gnu/13/accel/nvptx-none/as -v -v -o /tmp/ccQtz4Uf.o /tmp/ccgZhjiA.sptxas fatal : Value 'sm_30' is not defined for option 'gpu-name'nvptx-as: ptxas returned 255 exit statusnvptx mkoffload: fatal error: x86_64-linux-gnu-accel-nvptx-none-gcc-13 returned 1 exit statuscompilation terminated

Used synaptic for nvptx packages; nvptx-tools might be dated. Tried nvptx-tools build per Wiki. This failed.

Stuck. Don't know what direction to take to get this working


Viewing all articles
Browse latest Browse all 4427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>