Displaying 4 results from an estimated 4 matches for "libcudart".
Did you mean:
libcuda
2023 Feb 01
2
dyn.load(now = FALSE) not actually lazy?
On Linux, if I have a .so file that has a dependency on another .so, and I
`dyn.load(now=FALSE)` the first one, R seems to try to resolve the symbols
immediately, causing the load to fail.
For example, I have `libtorch` installed on my HPC. Note that it links to
various libs such as `libcudart.so` and `libmkl_intel_lp64.so.2` which
aren't currently in my library path:
? ~ ldd
/stornext/System/data/nvidia/libtorch-gpu/libtorch-gpu-1.12.1/lib/libtorch_cpu.so
linux-vdso.so.1 => (0x00007ffcab58c000)
libgomp.so.1 =>
/stornext/System/data/apps/gcc/gcc-11.2.0/lib64/...
2017 Aug 03
2
fatal error: clang/Basic/Version.inc: No such file or directory
...4/libelf.so"
\
-DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR:STRING="/usr/include" \
-DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES:STRING="/usr/lib64/libffi.so" \
-DCUDA_INCLUDE_DIRS:STRING="/usr/local/cuda/include" \
-DCUDA_LIBRARIES:STRING="/usr/local/cuda/lib64/libcudart.so" \
-DBUILD_SHARED_LIBS:BOOL=ON \
../llvm \
|& tee log.cmake
cmake --build . |& tee log.cmake-build
...
[ 41%] Linking CXX shared library ../../../../../lib64/libclangRewriteFrontend.so
[ 41%] Built target clangRewriteFrontend
[ 41%] Generating SVNVersion.inc
-- Found Subv...
2017 Aug 02
2
llvm-trunk errors with gcc-5.3.0 on SuSE Linux
...4/libelf.so"
\
-DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR:STRING="/usr/include" \
-DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES:STRING="/usr/lib64/libffi.so" \
-DCUDA_INCLUDE_DIRS:STRING="/usr/local/cuda/include" \
-DCUDA_LIBRARIES:STRING="/usr/local/cuda/lib64/libcudart.so" \
-DBUILD_SHARED_LIBS:BOOL=ON \
../llvm \
|& tee log.cmake
cmake --build . |& tee log.cmake-build
Unfortunately I get the following errors. Is it necessary to change my
configuration to avoid the errors?
...
[ 66%] Building CXX object
tools/clang/lib/Basic/CMakeFiles/c...
2018 Feb 15
4
llvm-6.0.0rc2: fatal error: clang/Basic/Version.h: No such file or directory
...4/libelf.so"
\
-DLIBOMPTARGET_DEP_LIBFFI_INCLUDE_DIR:STRING="/usr/include" \
-DLIBOMPTARGET_DEP_LIBFFI_LIBRARIES:STRING="/usr/lib64/libffi.so" \
-DCUDA_INCLUDE_DIRS:STRING="/usr/local/cuda/include" \
-DCUDA_LIBRARIES:STRING="/usr/local/cuda/lib64/libcudart.so" \
-DBUILD_SHARED_LIBS:BOOL=ON \
../llvm-6.0.0rc2.src \
|& tee log.cmake
ninja |& tee log.ninja-build
Unfortunately, I get the following error, although the missing file is
available.
loki build 188 tail -12 log.ninja-build
[3186/4317] Building CXX object
tools/llvm-ob...