#!/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
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)
paramesh =0
parafield =0
icocofield =0
- MPI_Barrier(MPI_COMM_WORLD)
- MPI_Finalize()
+ MPI.COMM_WORLD.Barrier()
+ MPI.Finalize()
pass
pass