Skip to content

Commit

Permalink
add sundials_core to makefile templates
Browse files Browse the repository at this point in the history
  • Loading branch information
balos1 committed Nov 15, 2023
1 parent b680e30 commit 581941a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/templates/makefile_openmp_C_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LINKFLAGS_SLUMT = ${LINKFLAGS}:@SUPERLUMT_LIBRARY_DIR@

TMP_INCS = ${includedir} ${INCLUDES_SLUMT} ${INCLUDES_KLU}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecopenmp ${LIBS}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecopenmp ${LIBS}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_openmpdev_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ LINKFLAGS_SLUMT = ${LINKFLAGS}:@SUPERLUMT_LIBRARY_DIR@

TMP_INCS = ${includedir} ${INCLUDES_SLUMT} ${INCLUDES_KLU}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecopenmpdev ${LIBS}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecopenmpdev ${LIBS}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_parallel_CXX_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ MPI_FLAGS = @MPI_FLAGS@

TMP_INCS = ${includedir} ${MPI_INC_DIR}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecparallel -lsundials_nvecserial \
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecparallel -lsundials_nvecserial \
-lsundials_nvecmpimanyvector -lsundials_nvecmpiplusx ${LIBS}

EXAMPLES = $(basename @EXAMPLES@)
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_parallel_C_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ MPI_FLAGS = @MPI_FLAGS@

TMP_INCS = ${includedir} ${MPI_INC_DIR}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecparallel -lsundials_nvecserial \
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecparallel -lsundials_nvecserial \
-lsundials_nvecmpimanyvector -lsundials_nvecmpiplusx ${LIBS}

EXAMPLES = @EXAMPLES@
Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_parhyp_CXX_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ LINKFLAGS_HYPRE = ${LINKFLAGS}:@HYPRE_LIBRARY_DIR@

TMP_INCS = ${includedir} ${MPI_INC_DIR} ${INCLUDES_HYPRE}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecparhyp -lsundials_nvecparallel ${LIBS} ${LIBRARIES_HYPRE}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecparhyp -lsundials_nvecparallel ${LIBS} ${LIBRARIES_HYPRE}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_parhyp_C_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ LINKFLAGS_HYPRE = ${LINKFLAGS}:@HYPRE_LIBRARY_DIR@

TMP_INCS = ${includedir} ${MPI_INC_DIR} ${INCLUDES_HYPRE}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecparhyp ${LIBS} ${LIBRARIES_HYPRE}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecparhyp ${LIBS} ${LIBRARIES_HYPRE}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_petsc_C_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LINKFLAGS_PETSC = ${LINKFLAGS}

TMP_INCS = ${includedir} ${MPI_INC_DIR} ${INCLUDES_PETSC}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecpetsc -lsundials_sunnonlinsolpetscsnes ${LIBS} ${LIBRARIES_PETSC}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecpetsc -lsundials_sunnonlinsolpetscsnes ${LIBS} ${LIBRARIES_PETSC}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_pthreads_C_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LINKFLAGS_SLUMT = ${LINKFLAGS}:@SUPERLUMT_LIBRARY_DIR@

TMP_INCS = ${includedir} ${INCLUDES_SLUMT} ${INCLUDES_KLU}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecpthreads ${LIBS}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecpthreads ${LIBS}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_serial_C_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ LINKFLAGS_SLUMT = ${LINKFLAGS}:@SUPERLUMT_LIBRARY_DIR@

TMP_INCS = ${includedir} ${INCLUDES_SLUMT} ${INCLUDES_KLU}
INCLUDES = $(addprefix -I, ${TMP_INCS})
LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecserial -lsundials_nvecmanyvector ${LIBS}
LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecserial -lsundials_nvecmanyvector ${LIBS}

# -----------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion examples/templates/makefile_xbraid_CXX_ex.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ LDFLAGS = @CMAKE_EXE_LINKER_FLAGS_RELEASE@
# SUNDIALS includes and libraries
SUNDIALS_INCLUDES = @CMAKE_INSTALL_PREFIX@/include
SUNDIALS_LIB_DIR = @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
SUNDIALS_LIBRARIES = -l@SOLVER_LIB@ -lsundials_nvecparallel -l@SOLVER_LIB@_xbraid
SUNDIALS_LIBRARIES = -lsundials_core -l@SOLVER_LIB@ -lsundials_nvecparallel -l@SOLVER_LIB@_xbraid

# XBraid includes and libraries
XBRAID_INCLUDES = @XBRAID_INCS@
Expand Down

0 comments on commit 581941a

Please sign in to comment.