diff --git a/tests/test_MPMD/test_1/main.cpp b/tests/test_MPMD/test_1/main.cpp index 5ce5dd52..01d80373 100644 --- a/tests/test_MPMD/test_1/main.cpp +++ b/tests/test_MPMD/test_1/main.cpp @@ -82,7 +82,7 @@ int main(int argc, char* argv[]) // Global Max amrex::ParallelAllReduce::Max(glb_max,comm); if (glb_max != amrex::Real(0.0)) { - amrex::Abort("There appears to be a mismatch in data-ordering \n"); + amrex::Abort("There appears to be a mismatch in data-ordering \n"); } } amrex::Finalize(); diff --git a/tests/test_MPMD/test_1/main.py b/tests/test_MPMD/test_1/main.py index 47f26f3b..fdc251ed 100644 --- a/tests/test_MPMD/test_1/main.py +++ b/tests/test_MPMD/test_1/main.py @@ -9,6 +9,7 @@ # Authors: Bhargav Sriram Siddani, Revathi Jambunathan, Edoardo Zoni, Olga Shapoval, David Grote, Axel Huebl from mpi4py import MPI + import amrex.space3d as amr # Initialize amrex::MPMD to establish communication across the two apps @@ -34,8 +35,8 @@ # Fill the second MultiFab component based on the first component for mfi in mf: - # Convert Array4 to numpy/cupy array - mf_array = mf.array(mfi).to_xp(copy=False,order='F') + # Convert Array4 to numpy/cupy array + mf_array = mf.array(mfi).to_xp(copy=False, order="F") mf_array[:, :, :, 1] = 10.0 * mf_array[:, :, :, 0] # Send ONLY the second MultiFab component to the other (C++) app