Skip to content

Commit

Permalink
Fix sundials link order. (AMReX-Combustion#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrood-nrel authored Jun 7, 2024
1 parent b17d6b7 commit 19ccf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ThirdParty/Make.ThirdParty
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 19ccf85

Please sign in to comment.