Skip to content

Commit

Permalink
fix cuda compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhat Kumar committed Mar 27, 2024
1 parent 95751ef commit 70588cd
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 70588cd

Please sign in to comment.