Skip to content

Commit

Permalink
Merge pull request #114 from prkkumar/main
Browse files Browse the repository at this point in the history
fix cuda compilation
  • Loading branch information
ajnonaka authored Mar 27, 2024
2 parents 690e588 + 70588cd commit 17d4be5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ExampleCodes/SUNDIALS/Exec/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ LIBRARY_LOCATIONS += $(SUNDIALS_LIB_DIR)
LIBRARIES += -L$(SUNDIALS_LIB_DIR) -lsundials_cvode
LIBRARIES += -L$(SUNDIALS_LIB_DIR) -lsundials_arkode
LIBRARIES += -L$(SUNDIALS_LIB_DIR) -lsundials_nvecmanyvector

ifeq ($(USE_CUDA),TRUE)
LIBRARIES += -L$(SUNDIALS_LIB_DIR) -lsundials_nveccuda
endif

endif

include $(AMREX_HOME)/Src/Base/Make.package
Expand Down

0 comments on commit 17d4be5

Please sign in to comment.