mpi: Include MPI headers with <> braces

This commit is contained in:
Eduardo Almeida
2022-10-11 11:29:52 +01:00
parent 9cf48dd49e
commit 9a2bf052b8
7 changed files with 11 additions and 10 deletions

View File

@@ -19,8 +19,6 @@
#include "mpi-test-fixtures.h"
#include "mpi.h"
#include "ns3/address.h"
#include "ns3/inet-socket-address.h"
#include "ns3/inet6-socket-address.h"
@@ -28,6 +26,8 @@
#include "ns3/ptr.h"
#include "ns3/simulator.h"
#include <mpi.h>
namespace ns3
{

View File

@@ -64,7 +64,6 @@
*/
#include "mpi-test-fixtures.h"
#include "mpi.h"
#include "ns3/core-module.h"
#include "ns3/internet-stack-helper.h"
@@ -77,6 +76,8 @@
#include "ns3/packet-sink-helper.h"
#include "ns3/point-to-point-helper.h"
#include <mpi.h>
using namespace ns3;
NS_LOG_COMPONENT_DEFINE("SimpleDistributedEmptyNode");

View File

@@ -55,7 +55,6 @@
*/
#include "mpi-test-fixtures.h"
#include "mpi.h"
#include "ns3/core-module.h"
#include "ns3/internet-stack-helper.h"
@@ -71,6 +70,8 @@
#include "ns3/packet-sink.h"
#include "ns3/point-to-point-helper.h"
#include <mpi.h>
using namespace ns3;
NS_LOG_COMPONENT_DEFINE("SimpleDistributedMpiComm");

View File

@@ -27,13 +27,13 @@
#ifndef NS3_GRANTED_TIME_WINDOW_MPI_INTERFACE_H
#define NS3_GRANTED_TIME_WINDOW_MPI_INTERFACE_H
#include "mpi.h"
#include "parallel-communication-interface.h"
#include "ns3/buffer.h"
#include "ns3/nstime.h"
#include <list>
#include <mpi.h>
#include <stdint.h>
namespace ns3

View File

@@ -26,11 +26,11 @@
#ifndef NS3_MPI_INTERFACE_H
#define NS3_MPI_INTERFACE_H
#include "mpi.h"
#include <ns3/nstime.h>
#include <ns3/packet.h>
#include <mpi.h>
namespace ns3
{
/**

View File

@@ -26,13 +26,13 @@
#ifndef NS3_NULLMESSAGE_MPI_INTERFACE_H
#define NS3_NULLMESSAGE_MPI_INTERFACE_H
#include "mpi.h"
#include "parallel-communication-interface.h"
#include <ns3/buffer.h>
#include <ns3/nstime.h>
#include <list>
#include <mpi.h>
namespace ns3
{

View File

@@ -27,14 +27,13 @@
#ifndef NS3_PARALLEL_COMMUNICATION_INTERFACE_H
#define NS3_PARALLEL_COMMUNICATION_INTERFACE_H
#include "mpi.h"
#include <ns3/buffer.h>
#include <ns3/nstime.h>
#include <ns3/object.h>
#include <ns3/packet.h>
#include <list>
#include <mpi.h>
#include <stdint.h>
namespace ns3