/usr/include/vtk-7.1/vtkdiy/mpi.hpp is in libvtk7-dev 7.1.1+dfsg1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef DIY_MPI_HPP
#define DIY_MPI_HPP
#include <mpi.h>
#include "mpi/constants.hpp"
#include "mpi/datatypes.hpp"
#include "mpi/optional.hpp"
#include "mpi/status.hpp"
#include "mpi/request.hpp"
#include "mpi/point-to-point.hpp"
#include "mpi/communicator.hpp"
#include "mpi/collectives.hpp"
#include "mpi/io.hpp"
namespace diy
{
namespace mpi
{
//! \ingroup MPI
struct environment
{
environment() { int argc = 0; char** argv; MPI_Init(&argc, &argv); }
environment(int argc, char* argv[]) { MPI_Init(&argc, &argv); }
~environment() { MPI_Finalize(); }
};
}
}
#endif
|