From 19ccf8557a69d18cec8354ddde4af8e97d384cef Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Fri, 7 Jun 2024 14:55:44 -0600 Subject: [PATCH] Fix sundials link order. (#508) --- ThirdParty/Make.ThirdParty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThirdParty/Make.ThirdParty b/ThirdParty/Make.ThirdParty index 45795dc97..6c70fea08 100644 --- a/ThirdParty/Make.ThirdParty +++ b/ThirdParty/Make.ThirdParty @@ -16,7 +16,7 @@ LIBRARIES += -L$(SUNDIALS_LIB_DIR) -lsundials_core -lsundials_nvecserial ifeq ($(USE_CUDA),TRUE) LIBRARY_LOCATIONS += $(SUNDIALS_LIB_DIR) LIBRARIES += -L$(SUNDIALS_LIB_DIR) -lsundials_nveccuda - LIBRARIES += -lsundials_sunlinsolcusolversp -lsundials_sunmatrixcusparse -lcusolver -lcusparse + LIBRARIES += -lcusolver -lcusparse -lsundials_sunlinsolcusolversp -lsundials_sunmatrixcusparse else ifeq ($(USE_HIP),TRUE) LIBRARY_LOCATIONS += $(SUNDIALS_LIB_DIR)