sundials: remove sundials_nvecopenmp target from ARKODE SuperLU_DIST example (#24516)
This commit is contained in:
parent
03f54ea4bb
commit
3087d74ca7
@ -202,6 +202,8 @@ class Sundials(CMakePackage, CudaPackage, ROCmPackage):
|
|||||||
patch('FindPackageMultipass.cmake.patch', when='@5.0.0')
|
patch('FindPackageMultipass.cmake.patch', when='@5.0.0')
|
||||||
patch('5.5.0-xsdk-patches.patch', when='@5.5.0')
|
patch('5.5.0-xsdk-patches.patch', when='@5.5.0')
|
||||||
patch('0001-add-missing-README-to-examples-cvode-hip.patch', when='@5.6.0:5.7.0')
|
patch('0001-add-missing-README-to-examples-cvode-hip.patch', when='@5.6.0:5.7.0')
|
||||||
|
# remove sundials_nvecopenmp target from ARKODE SuperLU_DIST example
|
||||||
|
patch('remove-links-to-OpenMP-vector.patch', when='@5.5.0:5.7.0')
|
||||||
|
|
||||||
# ==========================================================================
|
# ==========================================================================
|
||||||
# SUNDIALS Settings
|
# SUNDIALS Settings
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
From 93f2a963e4c23c0acbcdbb349f157cf8c640ce14 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "David J. Gardner" <gardner48@llnl.gov>
|
||||||
|
Date: Wed, 31 Mar 2021 20:59:30 -0700
|
||||||
|
Subject: [PATCH] remove links to OpenMP vector
|
||||||
|
|
||||||
|
---
|
||||||
|
examples/arkode/CXX_superludist/CMakeLists.txt | 4 +---
|
||||||
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/examples/arkode/CXX_superludist/CMakeLists.txt b/examples/arkode/CXX_superludist/CMakeLists.txt
|
||||||
|
index 9c486b1cd..6de445851 100644
|
||||||
|
--- a/examples/arkode/CXX_superludist/CMakeLists.txt
|
||||||
|
+++ b/examples/arkode/CXX_superludist/CMakeLists.txt
|
||||||
|
@@ -45,7 +45,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
|
||||||
|
set(ARKODE_LIB sundials_arkode)
|
||||||
|
set(SUNMAT_LIB sundials_sunmatrixslunrloc)
|
||||||
|
set(SUNLS_LIB sundials_sunlinsolsuperludist)
|
||||||
|
-set(NVECP_LIB sundials_nvecopenmp)
|
||||||
|
|
||||||
|
# Set-up linker flags and link libraries
|
||||||
|
set(SUNDIALS_LIBS ${ARKODE_LIB} ${NVECP_LIB} ${SUNMAT_LIB} ${SUNLS_LIB} ${EXTRA_LINK_LIBS})
|
||||||
|
@@ -102,8 +101,7 @@ if(EXAMPLES_INSTALL)
|
||||||
|
set(SOLVER "ARKODE")
|
||||||
|
string(CONCAT SUNDIALS_LIBS "-lsundials_arkode "
|
||||||
|
"-lsundials_sunmatrixslunrloc "
|
||||||
|
- "-lsundials_sunlinsolsuperludist "
|
||||||
|
- "-lsundials_nvecopenmp")
|
||||||
|
+ "-lsundials_sunlinsolsuperludist")
|
||||||
|
|
||||||
|
examples2string(ARKODE_examples EXAMPLES)
|
||||||
|
|
||||||
|
--
|
||||||
|
2.24.3 (Apple Git-128)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user