Skip to content

Commit

Permalink
Merge branch 'dep_bump' of github.com:Joroks/LAMMPS.jl into dep_bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Joroks committed Sep 4, 2024
2 parents 643efca + 7ba920d commit 9341c86
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,11 @@ end
end
end

@test success(pipeline(`$(MPI.mpiexec()) -n 2 $(Base.julia_cmd()) mpitest.jl`, stderr=stderr, stdout=stdout))
@testset "MPI" begin
if Sys.iswindows()
@test LAMMPS.API.lammps_config_has_mpi_support() == 0
else
@test LAMMPS.API.lammps_config_has_mpi_support() != 0
@test success(pipeline(`$(MPI.mpiexec()) -n 2 $(Base.julia_cmd()) mpitest.jl`, stderr=stderr, stdout=stdout))
end
end

0 comments on commit 9341c86

Please sign in to comment.