Skip to content

Commit

Permalink
Try to build and run MPI test suite on windows ?...
Browse files Browse the repository at this point in the history
  • Loading branch information
fghoussen committed Jan 22, 2023
1 parent 2457339 commit 569a558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ jobs:
mingw-w64-x86_64-ninja
mingw-w64-x86_64-gcc-fortran
mingw-w64-x86_64-openblas
mingw-w64-x86_64-msmpi
- name: Clone and check out repository code
uses: actions/checkout@v2
with:
Expand All @@ -281,6 +282,6 @@ jobs:
- name: Run job
run: |
mkdir -p build && cd build
cmake -GNinja -DICB=ON -DEXAMPLES=ON ..
cmake -GNinja -DICB=ON -DMPI=ON -DEXAMPLES=ON ..
cmake --build . -v
ctest --output-on-failure
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function(pexamples list_name)
get_filename_component(lwe ${l} NAME_WE)
add_executable(${lwe} ${parpackexample_DIR}/${l} )
target_link_libraries(${lwe} parpack arpack MPI::MPI_Fortran)
add_test(NAME "${lwe}_ex" COMMAND mpirun -n 2 ./${lwe} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
add_test(NAME "${lwe}_ex" COMMAND mpirun -n 2 ./${lwe})
endforeach()
endfunction(pexamples)

Expand Down

0 comments on commit 569a558

Please sign in to comment.