OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
NoCommTopology.h
Go to the documentation of this file.
1#ifndef __NO_COMM_TOPOLOGY__
2#define __NO_COMM_TOPOLOGY__
3
4#include "mpi.h"
7
10
11public:
12
13 NoCommTopology(MPI_Comm comm = MPI_COMM_WORLD)
14 : CommTopology(comm)
15 {}
16
18 {}
19
20 void discover() {
21 throw OptPilotException("NoCommTopology::discoverTopology()",
22 "No topology policy selected!");
23 }
24
25};
26
27#endif
CommTopology(MPI_Comm comm=MPI_COMM_WORLD)
NoCommTopology(MPI_Comm comm=MPI_COMM_WORLD)
virtual ~NoCommTopology()
void discover()
every implementation must provide a discover method