Cuda drivers for Jetson server

Hello Team,

Kindly, help me in installation of libcudart.so.10.2

I’m receiving the error as mentioned below :
Could not load dynamic library 'libcudart.so.10.2'; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory;

I also installed below libraries.

sudo apt-get update
sudo apt-get upgrade
sudo reboot
sudo apt-get install libhdf5-serial-dev hdf5-tools libhdf5-dev zlib1g-dev zip libjpeg8-dev liblapack-dev libblas-dev gfortran
sudo apt-get install python3-pip
sudo pip3 install -U pip

I’m facing error in Jetson server regarding library issues.

>>> from tensorflow.python.client import device_lib
2021-10-12 15:05:58.580651: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.2'; dlerror: libcudart.so.10.2: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda-10.2/targets/aarch64-linux/lib:
2021-10-12 15:05:58.580732: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
>>> device_lib.list_local_devices()
2021-10-12 15:06:04.034976: W tensorflow/core/platform/profile_utils/cpu_utils.cc:106] Failed to find bogomips or clock in /proc/cpuinfo; cannot determine CPU frequency
2021-10-12 15:06:04.036132: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x38f10c10 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-10-12 15:06:04.036191: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2021-10-12 15:06:04.041306: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: /usr/lib/aarch64-linux-gnu/libcuda.so.1: file too short; LD_LIBRARY_PATH: /usr/local/cuda/lib64:/usr/local/cuda-10.2/targets/aarch64-linux/lib:
2021-10-12 15:06:04.041423: E tensorflow/stream_executor/cuda/cuda_driver.cc:313] failed call to cuInit: UNKNOWN ERROR (303)
2021-10-12 15:06:04.041530: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (tensorflow): /proc/driver/nvidia/version does not exist
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 15551370302623703870
, name: "/device:XLA_CPU:0"
device_type: "XLA_CPU"
memory_limit: 17179869184
locality {
}
incarnation: 232744539150130522
physical_device_desc: "device: XLA_CPU device"
]

Hi,

CUDA can be installed with the following command:

$ sudo apt install nvidia-cuda

Thanks.

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