Skip to content

Commit bf6dd9a

Browse files
authored
Merge pull request #108 from DataAnalyticsEngineering/FANS-v0.5.1
2 parents 83de5f8 + a49cf10 commit bf6dd9a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2329
-2847
lines changed

.github/workflows/build_and_test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@ jobs:
4646
cmake --version
4747
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
4848
49-
- uses: actions/upload-artifact@v4
49+
- uses: actions/upload-artifact@v5
5050
if: failure()
5151
with:
5252
name: ${{ format('Ubuntu {0}', matrix.UBUNTU_VERSION) }} CMakeCache
5353
path: ${{ env.FANS_BUILD_DIR }}/CMakeCache.txt
54-
- uses: actions/upload-artifact@v4
54+
- uses: actions/upload-artifact@v5
5555
if: failure()
5656
with:
5757
name: ${{ format('Ubuntu {0}', matrix.UBUNTU_VERSION) }} CMakeLogs
5858
path: '${{ env.FANS_BUILD_DIR }}/CMakeFiles/*.log'
59-
- uses: actions/upload-artifact@v4
59+
- uses: actions/upload-artifact@v5
6060
if: failure()
6161
with:
6262
name: ${{ format('Ubuntu {0}', matrix.UBUNTU_VERSION) }} CompileCommands
@@ -75,7 +75,7 @@ jobs:
7575
run: |
7676
su -c "ctest" ${{ env.FANS_MPI_USER }}
7777
78-
- uses: actions/upload-artifact@v4
78+
- uses: actions/upload-artifact@v5
7979
if: failure()
8080
with:
8181
name: ${{ format('Ubuntu {0}', matrix.UBUNTU_VERSION) }} CTest logs
@@ -87,7 +87,7 @@ jobs:
8787
- name: Run pytest checks on HDF5 output
8888
run: pixi run -e dashboard pytest
8989

90-
- uses: actions/upload-artifact@v4
90+
- uses: actions/upload-artifact@v5
9191
if: failure()
9292
with:
9393
name: ${{ format('Ubuntu {0}', matrix.UBUNTU_VERSION) }} PyTest logs

.github/workflows/pixi_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
run: pixi run test
3232

3333
- name: Upload test logs
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@v5
3535
with:
3636
name: ${{ matrix.os }} test-logs
3737
path: test/output/*.log
3838

39-
- uses: actions/upload-artifact@v4
39+
- uses: actions/upload-artifact@v5
4040
if: failure()
4141
with:
4242
name: ${{ matrix.os }} PyTest logs

.github/workflows/run-checks.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ jobs:
1414
steps:
1515
- name: Check out repository
1616
uses: actions/checkout@v5
17+
- name: Create markdownlint config
18+
run: |
19+
cat > .markdownlint.json << 'EOF'
20+
{
21+
"MD013": false,
22+
"MD033": false,
23+
"MD034": false
24+
}
25+
EOF
1726
- name: Lint markdown files (markdownlint)
1827
uses: articulate/actions-markdownlint@v1
1928
with:
@@ -26,6 +35,18 @@ jobs:
2635
steps:
2736
- name: Check out repository
2837
uses: actions/checkout@v5
38+
- name: Create markdown-link-check config
39+
run: |
40+
cat > .markdown-link-check-config.json << 'EOF'
41+
{
42+
"aliveStatusCodes": [429, 200],
43+
"ignorePatterns": [
44+
{
45+
"pattern": "*.html"
46+
}
47+
]
48+
}
49+
EOF
2950
- name: Check links in markdown files (markdown-link-check)
3051
uses: gaurav-nelson/github-action-markdown-link-check@v1
3152
with:

.markdown-link-check-config.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

.markdownlint.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# FANS Changelog
22

3+
## v0.5.1
4+
5+
- Optimize HDF5 I/O performance by using collective I/O operations [#105](https://github.com/DataAnalyticsEngineering/FANS/pull/105)
6+
37
## v0.5.0
48

59
- Add explicit FE types (HEX8, HEX8R, BBAR) to JSON input [#96](https://github.com/DataAnalyticsEngineering/FANS/pull/96)

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.21)
55
# ##############################################################################
66

77
project(FANS
8-
VERSION 0.5.0
8+
VERSION 0.5.1
99
LANGUAGES C CXX
1010
)
1111

@@ -88,8 +88,8 @@ if ("$ENV{SETVARS_COMPLETED}" STREQUAL "1")
8888
)
8989
endif ()
9090

91-
set(HDF5_ENABLE_PARALLEL ON)
92-
find_package(HDF5 REQUIRED COMPONENTS CXX)
91+
set(HDF5_PREFER_PARALLEL TRUE)
92+
find_package(HDF5 REQUIRED COMPONENTS C CXX)
9393

9494
find_package(Eigen3 REQUIRED)
9595

@@ -198,6 +198,7 @@ target_link_libraries(FANS_FANS PRIVATE m)
198198
# call to target_link_libraries(FANS_FANS PUBLIC HDF5::HDF5). But CMake 3.16
199199
# does not yet support this.
200200
target_include_directories(FANS_FANS PRIVATE ${HDF5_INCLUDE_DIRS})
201+
target_link_libraries(FANS_FANS PUBLIC ${HDF5_C_LIBRARIES})
201202
target_link_libraries(FANS_FANS PUBLIC ${HDF5_CXX_LIBRARIES})
202203
target_compile_definitions(FANS_FANS PUBLIC ${HDF5_DEFINITIONS})
203204
if (HDF5_IS_PARALLEL)

FANS_Dashboard/FANS_Dashboard.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
"outputs": [],
5252
"source": [
5353
"import numpy as np\n",
54-
"from fans_dashboard.core.utils import *\n",
55-
"from fans_dashboard.core.postprocessing import compute_rank2tensor_measures\n",
54+
"from MSUtils.fans_dashboard.utils import *\n",
55+
"from MSUtils.fans_dashboard.postprocessing import compute_rank2tensor_measures\n",
5656
"from MSUtils.general.h52xdmf import write_xdmf\n",
57-
"from fans_dashboard.plotting.plotting import plot_subplots"
57+
"from MSUtils.fans_dashboard.plotting import plot_subplots"
5858
]
5959
},
6060
{

FANS_Dashboard/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FANS Dashboard
22

3-
The FANS Dashboard is a comprehensive tool designed to streamline the post-processing, interpretation, and visualization of results generated by the FANS solver. This jupyter notebook provides a user-friendly environment to work with complex simulation data stored in HDF5 format, offering a step-by-step workflow that covers data extraction, postprocessing, visualization, and preparation for 3D visualization in tools like ParaView.
3+
The FANS Dashboard is a comprehensive tool designed to streamline the post-processing, interpretation, and visualization of results generated by the FANS solver. It uses helper functions from [MSUtils](https://github.com/DataAnalyticsEngineering/MSUtils) to facilitate various tasks. This jupyter notebook provides an exemplary pipeline and a user-friendly environment to work with complex simulation data stored in HDF5 format, offering a step-by-step workflow that covers data extraction, postprocessing, visualization, and preparation for 3D visualization in tools like ParaView.
44

55
For further details follow along [`FANS_Dashboard.ipynb`](FANS_Dashboard.ipynb)

FANS_Dashboard/fans_dashboard/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)