-
Notifications
You must be signed in to change notification settings - Fork 707
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
147 changed files
with
3,097 additions
and
1,304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
#!groovy | ||
|
||
/* | ||
This Jenkins job compiles and tests deal.II with MPI enabled | ||
See https://ci.tjhei.info/job/dealii-serial/ for details. | ||
*/ | ||
|
||
/* | ||
Settings to apply inside Jenkins: | ||
- discover pull requests (remove branches/master) | ||
- Strategy: merged PR | ||
- enable "Disable GitHub Multibranch Status Plugin" | ||
- trigger build on pull request comment: .* /rebuild.* (without space!) | ||
- Jenkinsfile: choose contrib/ci/Jenkinsfile.serial | ||
- scan: every 4 hours | ||
- discard: 5+ items | ||
*/ | ||
|
||
// load library https://github.com/tjhei/jenkins-stuff to provide | ||
// killold.killOldBuilds() function: | ||
@Library('tjhei') _ | ||
|
||
pipeline | ||
{ | ||
agent none | ||
|
||
stages | ||
{ | ||
stage("abort old") | ||
{ | ||
agent none | ||
steps | ||
{ | ||
githubNotify context: 'Jenkins: serial', description: 'initializing...', status: 'PENDING' | ||
// kill older builds in this PR: | ||
script { killold.killOldBuilds() } | ||
} | ||
} | ||
|
||
stage("main") | ||
{ | ||
agent | ||
{ | ||
docker | ||
{ | ||
image 'tjhei/candi:v9.4.1-r1-ubuntu20.04' | ||
} | ||
} | ||
|
||
post { cleanup { cleanWs() } } | ||
|
||
stages | ||
{ | ||
stage("check") | ||
{ | ||
when { | ||
not { | ||
anyOf { | ||
branch 'master' | ||
branch pattern: "dealii-*", comparator: "GLOB" | ||
} | ||
} | ||
} | ||
|
||
steps | ||
{ | ||
githubNotify context: 'Jenkins: serial', description: 'pending...', status: 'PENDING' | ||
sh ''' | ||
wget -q -O - https://api.github.com/repos/dealii/dealii/issues/${CHANGE_ID}/labels | grep 'ready to test' || \ | ||
{ echo "This commit will only be tested when it has the label 'ready to test'. Trigger a rebuild by adding a comment that contains '/rebuild'..."; exit 1; } | ||
''' | ||
} | ||
post | ||
{ | ||
failure | ||
{ | ||
githubNotify context: 'Jenkins: serial', description: 'need ready to test label and /rebuild', status: 'PENDING' | ||
script | ||
{ | ||
currentBuild.result='NOT_BUILT' | ||
} | ||
} | ||
} | ||
} | ||
|
||
stage('build') | ||
{ | ||
steps | ||
{ | ||
timeout(time: 5, unit: 'HOURS') | ||
{ | ||
sh "echo \"building on node ${env.NODE_NAME}\"" | ||
sh '''#!/bin/bash | ||
set -e | ||
set -x | ||
export TEST_TIME_LIMIT=1200 | ||
export NP=`grep -c ^processor /proc/cpuinfo` | ||
mkdir -p /home/dealii/build | ||
cd /home/dealii/build | ||
cmake -G "Ninja" \ | ||
-D DEAL_II_CXX_FLAGS='-Werror' \ | ||
-D DEAL_II_CXX_FLAGS_DEBUG='-Og' \ | ||
-D DEAL_II_EARLY_DEPRECATIONS=ON \ | ||
-D CMAKE_BUILD_TYPE=Debug \ | ||
-D DEAL_II_WITH_MPI=OFF \ | ||
-D DEAL_II_UNITY_BUILD=ON \ | ||
$WORKSPACE/ | ||
time ninja -j 10 # 12 gives OOM | ||
time ninja test # quicktests | ||
time ninja setup_tests | ||
time ctest --output-on-failure -j $NP --no-compress-output -T test | ||
''' | ||
githubNotify context: 'Jenkins: serial', description: 'OK', status: 'SUCCESS' | ||
} | ||
} | ||
|
||
post | ||
{ | ||
always | ||
{ | ||
sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/.xml || true" | ||
xunit tools: [CTest(pattern: '*.xml')] | ||
sh "cp /home/dealii/build/detailed.log $WORKSPACE/detailed-serial.log || true" | ||
archiveArtifacts artifacts: 'detailed-serial.log', fingerprint: true | ||
} | ||
|
||
failure | ||
{ | ||
githubNotify context: 'Jenkins: serial', description: 'build failed', status: 'FAILURE' | ||
} | ||
} | ||
} | ||
|
||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
Improved: The quick_tests mechanism has been redesigned. The tests are now | ||
called <code>quick_tests/[tests].[build]</code> and can be invoked via | ||
ctest as well. | ||
Improved: The quick_tests mechanism has been redesigned. Quick tests are | ||
now part of the regular deal.II testsuite. This means they can be | ||
configured via the <code>setup_tests_quick_tests</code> target, and run via | ||
invoking ctest from the build directory. The <code>test</code> target will | ||
now ensure that the library is fully compiled and quick tests are | ||
configured prior to running all quick tests. | ||
|
||
<br> | ||
(Matthias Maier, 2022/11/29) | ||
(Matthias Maier, 2022/11/29, 2022/12/10) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Fixed: PETSc has no concept of ownership, but only shared ownership. Vec and Mat objects are | ||
reference counted, and automatically cleaned when no longer used. We do not need to keep track | ||
of ownership manually. | ||
<br> | ||
(Stefano Zampini, 2022/12/13) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Fixed: Add default MPI getter for PETSc Mat objects, that queries the underlying PETSc type. | ||
<br> | ||
(Stefano Zampini, 2022/12/13) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Improved: FEInterfaceValues objects can now also be constructed using hp-collections. | ||
<br> | ||
(Marco Feder, 2022/12/20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Fixed: Small fixes to commnicator handling in PETSc classes. Move from | ||
GetArray to GetArrayRead (threadsafe version). | ||
<br> | ||
(Stefano Zampini, 2022/12/20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
New: PETScWrappers:BlockSparseMatrix now is also a PETSc MATNEST type. | ||
<br> | ||
(Stefano Zampini, 2022/12/20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Improved: The FEInterfaceValues values public interface has been extended | ||
further to support hp-FEM. Functions have been added to report if the class has | ||
been initialized with hp support, and to get the underlying | ||
hp::MappingCollection, hp::FECollection and hp::QCollection. The various | ||
FEInterfaceValues::reinit() methods now accept indices to indicate which | ||
quadrature rule, mapping (and, in some cases, finite elements) should be used to | ||
compute values across the interface. | ||
<br> | ||
(Jean-Paul Pelteret, 2022/12/28) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.