File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 5959 run : curl -L -O https://github.com/microsoft/Microsoft-MPI/releases/download/v10.1.1/msmpisetup.exe
6060
6161 - name : Install mpiexec.exe (-force needed to bypass GUI on headless)
62- run : .\msmpisetup.exe -unattend -force
63-
64- - name : Assert file existence
65- run : if (-not (Test-Path -Path "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" -PathType Leaf)) { exit 1 }
66-
67- - name : put MSMPI_BIN on PATH (where mpiexec is)
68- run : echo "C:\Program Files\Microsoft MPI\Bin\" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
62+ run : .\msmpisetup.exe -unattend -force -verbose
6963
7064 - uses : actions/checkout@v4
7165
Original file line number Diff line number Diff line change 11function (test_mpi_launcher target test Nworker)
22
3- if (NOT ( DEFINED MPIEXEC_EXECUTABLE AND DEFINED MPIEXEC_NUMPROC_FLAG) )
3+ if (NOT MPIEXEC_EXECUTABLE OR NOT MPIEXEC_NUMPROC_FLAG)
44 message (FATAL_ERROR "MPIEXEC_EXECUTABLE and MPIEXEC_NUMPROC_FLAG must be defined to use test_mpi_launcher" )
55endif ()
66
Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ target_link_libraries(mpi_pass PRIVATE MPI::MPI_Fortran)
3838
3939add_test (NAME MPIpass COMMAND mpi_pass)
4040test_mpi_launcher(mpi_pass MPIpass 2)
41- set_property (TEST MPIpass PROPERTY FIXTURES_REQUIRED mpi_fxt)
4241
4342set_tests_properties (MPIpass PROPERTIES
4443LABELS "Fortran"
4544DISABLED $<VERSION_LESS :${MPIEXEC_MAX_NUMPROCS} ,2>
45+ FIXTURES_REQUIRED mpi_fxt
4646)
4747
4848
You can’t perform that action at this time.
0 commit comments