Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,11 @@ if (CUOPT_BUILD_CUSTOM_CUDSS_MTLAYER)
INSTALL_RPATH "\$ORIGIN"
)
set(CUDSS_MT_LIB_FILE_NAME "libcudss_mtlayer_cuopt.so")
else ()
# Full path, not just the basename, so the runtime dlopen pin (sparse_cholesky.cuh) and
# cudssSetThreadingLayer() resolve the exact same file CMake found (#1883).
set(CUDSS_MT_LIB_FILE_NAME "${CUDSS_MT_LIB_FILE}")
endif ()
# else: keep the basename already computed above (line 740) -- glibc's dlopen matches an
# already-loaded library by name before searching paths, so the runtime pin (sparse_cholesky.cuh)
# and cudssSetThreadingLayer()'s own dlopen still resolve to the same mapping. A full,
# build-time-resolved path isn't needed for that, and can go stale after install.

# cuopt_routing: VRP / routing engine (omitted when SKIP_ROUTING_BUILD=ON)
#
Expand Down
5 changes: 2 additions & 3 deletions cpp/src/barrier/sparse_cholesky.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,8 @@ class sparse_cholesky_cudss_t : public sparse_cholesky_base_t<i_t, f_t> {
if (!detail::pin_cudss_threading_layer(cudss_mt_lib_file)) {
Comment thread
ramakrishnap-nv marked this conversation as resolved.
settings.log.printf(
"cuDSS Threading layer : could not pin '%s'; falling back to single-threaded "
"cuDSS to avoid a possible crash during teardown. Set the CUDSS_THREADING_LIB "
"environment variable to an absolute path, or ensure the host provides "
"libgomp.so.1, to enable multi-threaded cuDSS.\n",
"cuDSS. Set the CUDSS_THREADING_LIB environment variable to an absolute path, or "
"ensure the host provides libgomp.so.1, to enable multi-threaded cuDSS.\n",
cudss_mt_lib_file);
} else {
cudssStatus_t threading_status = cudssSetThreadingLayer(handle, cudss_mt_lib_file);
Expand Down
Loading