X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FParaMEDMEM_Swig%2Ftest_InterpKernelDEC.py;h=a65c4638cd0073da05336a9647f66e62cd8b446c;hb=b219559763498c4bd10c730cd3d2c62b1eed45db;hp=8a42cc3572658d21857319f565e1a43bb773932e;hpb=0341996e5b1f5d46da40d510003bef6607cd37f3;p=tools%2Fmedcoupling.git diff --git a/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py b/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py index 8a42cc357..a65c4638c 100755 --- a/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py +++ b/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D +# Copyright (C) 2007-2019 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -58,7 +58,7 @@ class ParaMEDMEMBasicsTest(unittest.TestCase): filename_xml1 = os.path.join(data_dir, "share/resources/med/square1_split") filename_xml2 = os.path.join(data_dir, "share/resources/med/square2_split") - MPI_Barrier(MPI_COMM_WORLD) + MPI.COMM_WORLD.Barrier() if source_group.containsMyRank(): filename = filename_xml1 + str(rank+1) + ".med" meshname = "Mesh_2_" + str(rank+1) @@ -113,8 +113,8 @@ class ParaMEDMEMBasicsTest(unittest.TestCase): paramesh =0 parafield =0 icocofield =0 - MPI_Barrier(MPI_COMM_WORLD) - MPI_Finalize() + MPI.COMM_WORLD.Barrier() + MPI.Finalize() pass pass