Can't compile cuda fortran code on Jetson nano

Hello,

I wanted to compile cuda fortran code on Jetson nano but I got a error as below.

$ nvfortran -Mcuda cuforTest.f90
/usr/bin/ld: cannot find -lcudafor_102
pgacclnk: child process exit status 1: /usr/bin/ld

Looking for the cause, I found that although the HPC SDK for Linux x86_64 includes the library for cuda 10.2,
it does not include it for arm. Is this related to this error?

I have installed the SDK which includes 3 versions for both x86_64 and arm and checked β€œ/opt/nvidia/hpc_sdk/(target)/22.7/compilers/lib”.

Thank you.

Hi _seed,

Looking for the cause, I found that although the HPC SDK for Linux x86_64 includes the library for cuda 10.2,
it does not include it for arm. Is this related to this error?

Correct. ARM requires CUDA 11 or above. Please see our release notes for supported platforms and configurations:

-Mat

1 Like

Dear Mat,

Thank you very much for reply.
I understood that CUDA 11 is required for arm architecture.

-_seed

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.