diff --git a/.github/workflows/win-ninja-icx-f-p-sf.yml b/.github/workflows/win-ninja-icx-f-p-sf.yml new file mode 100644 index 00000000000..80739d8b3b6 --- /dev/null +++ b/.github/workflows/win-ninja-icx-f-p-sf.yml @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index d5fe85a0561..18728854030 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ()