Skip to content

Commit

Permalink
fix: close #86
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Oct 4, 2023
1 parent b29bda6 commit ff600ba
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/win-ninja-icx-f-p-sf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: windows ninja icx ifx parallel sf

on:
push:
branches:
- main

jobs:
build:
runs-on: windows-latest
steps:
- name: Install CMake and Ninja
uses: lukka/get-cmake@latest
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "15"
- name: Install Intel OneAPI
uses: awvwgk/setup-fortran@main
with:
compiler: intel
version: '2023.2'
- name: Install Intel MPI
uses: mpi4py/setup-mpi@v1
with:
mpi: intelmpi
- name: Checkout HDF5
shell: cmd
run: |
git clone https://github.com/HDFGroup/hdf5.git
- name: Set oneAPI
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
- name: Set MPI
shell: cmd
run: |
"C:\Program Files (x86)\Intel\oneAPI\mpi\2021.10.0\env\vars.bat"
- name: Configure & Build
shell: cmd
run: |
cd hdf5
mkdir build
cd build
cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/2021.10.0/bin/mpicc.bat" -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/mpi/2021.10.0/bin/mpiifort.bat" -DHDF5_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_SUBFILING_VFD:BOOL=ON -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF ..
ninja
- name: Test
shell: cmd
run: |
cd hdf5/build
ctest -E MPI_TEST_H5DIFF-h5diff -VV --output-on-error
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,9 @@ set (HDF5_SRC_INCLUDE_DIRS
)
option (HDF5_ENABLE_SUBFILING_VFD "Build Parallel HDF5 Subfiling VFD" OFF)
if (HDF5_ENABLE_SUBFILING_VFD)
if (WIN32)
message (FATAL_ERROR " **** Subfiling not supported on Windows **** ")
endif()
if (NOT HDF5_ENABLE_PARALLEL)
message (FATAL_ERROR "Subfiling VFD requires a parallel HDF5 build")
else ()
Expand Down

0 comments on commit ff600ba

Please sign in to comment.