Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-istl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-istl
Commits
093460d3
Commit
093460d3
authored
2 years ago
by
Simon Praetorius
Browse files
Options
Downloads
Patches
Plain Diff
Add solver requirement to solverfactorytest
parent
26be1a13
No related branches found
No related tags found
1 merge request
!509
Add flags to tests explicitly
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/istl/test/CMakeLists.txt
+16
-7
16 additions, 7 deletions
dune/istl/test/CMakeLists.txt
with
16 additions
and
7 deletions
dune/istl/test/CMakeLists.txt
+
16
−
7
View file @
093460d3
...
...
@@ -92,9 +92,18 @@ function(add_factory_test BLOCK)
configure_file
(
solverfactorytest.cc.in solverfactorytest_
${
BLOCK_CLEAN
}
.cc
)
dune_add_test
(
NAME solverfactorytest_
${
BLOCK_CLEAN
}
SOURCES
${
CMAKE_CURRENT_BINARY_DIR
}
/solverfactorytest_
${
BLOCK_CLEAN
}
.cc
CMAKE_GUARD HAVE_MPI
)
CMAKE_GUARD
HAVE_MPI
SuiteSparse_CHOLMOD_FOUND
SuiteSparse_LDL_FOUND
SuiteSparse_SPQR_FOUND
SuiteSparse_UMFPACK_FOUND
SuperLU_FOUND
)
add_dune_mpi_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
)
add_dune_parmetis_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
)
add_dune_suitesparse_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
)
add_dune_superlu_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
)
string
(
REGEX MATCH
"LoopSIMD"
_matched
"
${
BLOCK
}
"
)
if
(
NOT _matched
)
set
(
DEFINE_DEACTIVATE_AMG_DIRECTSOLVER
""
)
...
...
@@ -104,12 +113,12 @@ function(add_factory_test BLOCK)
MPI_RANKS 1 2 4
TIMEOUT 600
CMAKE_GUARD
HAVE_MPI
SuiteSparse_CHOLMOD_FOUND
SuiteSparse_LDL_FOUND
SuiteSparse_SPQR_FOUND
SuiteSparse_UMFPACK_FOUND
SuperLU_FOUND
)
HAVE_MPI
SuiteSparse_CHOLMOD_FOUND
SuiteSparse_LDL_FOUND
SuiteSparse_SPQR_FOUND
SuiteSparse_UMFPACK_FOUND
SuperLU_FOUND
)
add_dune_mpi_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
_direct
)
add_dune_parmetis_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
_direct
)
add_dune_suitesparse_flags
(
solverfactorytest_
${
BLOCK_CLEAN
}
_direct
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment