From 1144f0a57dbb9df0597c73bae71a5e29bbbbde77 Mon Sep 17 00:00:00 2001 From: Francesc Verdugo Date: Fri, 9 Feb 2024 15:03:25 +0100 Subject: [PATCH] Testing example004 with MPI --- .../test/mpi_array/example004_driver_np_4.jl | 8 ++++++++ .../test/mpi_array/example004_tests.jl | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 extensions/GalerkinToolkitExamples/test/mpi_array/example004_driver_np_4.jl create mode 100644 extensions/GalerkinToolkitExamples/test/mpi_array/example004_tests.jl diff --git a/extensions/GalerkinToolkitExamples/test/mpi_array/example004_driver_np_4.jl b/extensions/GalerkinToolkitExamples/test/mpi_array/example004_driver_np_4.jl new file mode 100644 index 00000000..7f2f27cc --- /dev/null +++ b/extensions/GalerkinToolkitExamples/test/mpi_array/example004_driver_np_4.jl @@ -0,0 +1,8 @@ +module TMP + +using PartitionedArrays + +include(joinpath("..","example004_defs.jl")) +with_mpi(example004_tests_np_4) + +end # module diff --git a/extensions/GalerkinToolkitExamples/test/mpi_array/example004_tests.jl b/extensions/GalerkinToolkitExamples/test/mpi_array/example004_tests.jl new file mode 100644 index 00000000..406de231 --- /dev/null +++ b/extensions/GalerkinToolkitExamples/test/mpi_array/example004_tests.jl @@ -0,0 +1,11 @@ +module Example004Tests + +using MPI + +include("run_mpi_driver.jl") + +file = joinpath(@__DIR__,"example004_driver_np_4.jl") +run_mpi_driver(file;procs=4) + +end # module +