Applications/LINUX
[NVIDIA] HPC_SDK "libatomic.so.1" 오류
CRAY KOREA Blog
2022. 11. 25. 21:17
- 원인: Nvidia HPC Sdk에서 "libatomic.so.1" 라이브러리를 필요로 하지만 RedHat 8의 "Development Tools" group에 libatomic 라이브러리 미포함
- 오류 내용#1
# mpicc --version /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/mpicc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory |
- 오류 내용#2
# ldd /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/opal_wrapper linux-vdso.so.1 (0x00007fffd037a000) libopen-pal.so.40 => /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/../../lib/libopen-pal.so.40 (0x00007faea1dfe000) librdmacm.so.1 => /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/../../lib/librdmacm.so.1 (0x00007faea1be9000) libibverbs.so.1 => /lib64/libibverbs.so.1 (0x00007faea19c9000) libm.so.6 => /lib64/libm.so.6 (0x00007faea1647000) libnuma.so.1 => /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/../../lib/libnuma.so.1 (0x00007faea143c000) libdl.so.2 => /lib64/libdl.so.2 (0x00007faea1238000) librt.so.1 => /lib64/librt.so.1 (0x00007faea1030000) libutil.so.1 => /lib64/libutil.so.1 (0x00007faea0e2c000) libz.so.1 => /lib64/libz.so.1 (0x00007faea0c14000) libatomic.so.1 => not found libpthread.so.0 => /lib64/libpthread.so.0 (0x00007faea09f4000) libnvcpumath.so => /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/../../../../../compilers/lib/libnvcpumath.so (0x00007faea05dc000) libnvc.so => /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/../../../../../compilers/lib/libnvc.so (0x00007faea0377000) libc.so.6 => /lib64/libc.so.6 (0x00007fae9ffb2000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fae9fd9a000) libnvhpcatm.so => /apps/nvidia/hpc_sdk/Linux_x86_64/22.11/comm_libs/openmpi/openmpi-3.1.5/bin/.bin/../../lib/../../../../compilers/lib/libnvhpcatm.so (0x00007fae9fb8f000) /lib64/ld-linux-x86-64.so.2 (0x00007faea232b000) libnl-route-3.so.200 => /lib64/libnl-route-3.so.200 (0x00007fae9f909000) libnl-3.so.200 => /lib64/libnl-3.so.200 (0x00007fae9f6e6000) |
- 해결: libatomic 라이브러리 설치
# yum install libatomic |