PGI, cuda 11 and Jetson Nano

Hi,

I recently bought a Jetson Nano rev b01. I saw that the last version of PGI compiler (provides by NVIDIA HPC SDK Version 20.9) work on arm64 architecture (ubuntu 18.04 version only) and I tried to install it since I want to developp some code using CudaFortran an openACC.

So I install the Ubuntu 18.04 provide for jetson Nano et I test some simple cuda code. All work fine.

However, I see into the documentation that this last version of PGI needs cuda 11, so I tried to install it using this tuto :

The installation failed since some packages tried to overwrite files provides by l4t packages (sorry, in french):
dpkg: erreur de traitement de l’archive /tmp/apt-dpkg-install-6MHPL7/11-libnvidia-compute-450_450.51.05-0ubuntu1_arm64.deb (–unpack) :
tentative de remplacement de « /usr/lib/aarch64-linux-gnu/libcuda.so », qui appartient aussi au paquet nvidia-l4t-cuda 32.4.4-20201027211359
dpkg: erreur de traitement de l’archive /tmp/apt-dpkg-install-6MHPL7/15-libnvidia-gl-450_450.51.05-0ubuntu1_arm64.deb (–unpack) :
tentative de remplacement de « /usr/share/glvnd/egl_vendor.d/10_nvidia.json », qui appartient aussi au paquet nvidia-l4t-3d-core 32.4.4-20201027211359

I force the installation with --force-overwrite option of dpkg and the installation proceed, including cuda 11.

However, at this point, cuda code do not work any more (no threads) and X is not available on boot.

Does anyone whos how to :

  • correctly install cuda 11 on jetson nano ?
    or
  • make PGI (provides by NVIDIA HPC SDK Version 20.9) run with cuda 10.02 ?

Thanks

B-

Hi bastien.di-pierro,

I can’t answer it due to that’s current not official JetPack can support, may other developers share experiences with you.