#include "ns3/example-as-test.h"
#include <sstream>
Go to the source code of this file.
|
class | MpiTestCase |
| This version of ns3::ExampleTestCase is specialized for MPI by accepting the number of ranks as a parameter, then building a --command-template string which invokes mpiexec correctly to execute MPI examples. More...
|
|
class | MpiTestSuite |
| MPI specialization of ns3::ExampleTestSuite. More...
|
|
|
static MpiTestSuite | g_mpiComm2 ("mpi-example-comm-2", "simple-distributed-mpi-comm", NS_TEST_SOURCEDIR, 2) |
|
static MpiTestSuite | g_mpiComm2comm ("mpi-example-comm-2-init", "simple-distributed-mpi-comm", NS_TEST_SOURCEDIR, 2, "--init") |
|
static MpiTestSuite | g_mpiComm3comm ("mpi-example-comm-3-init", "simple-distributed-mpi-comm", NS_TEST_SOURCEDIR, 3, "--init") |
|
static MpiTestSuite | g_mpiEmpty2 ("mpi-example-empty-2", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 2) |
|
static MpiTestSuite | g_mpiEmpty2NullMsg ("mpi-example-empty-2-nullmsg", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 2, "-nullmsg") |
|
static MpiTestSuite | g_mpiEmpty3 ("mpi-example-empty-3", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 3) |
|
static MpiTestSuite | g_mpiEmpty3NullMsg ("mpi-example-empty-3-nullmsg", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 3, "-nullmsg") |
|
static MpiTestSuite | g_mpiNms2 ("mpi-example-nms-2", "nms-p2p-nix-distributed", NS_TEST_SOURCEDIR, 2) |
|
static MpiTestSuite | g_mpiSimple2 ("mpi-example-simple-2", "simple-distributed", NS_TEST_SOURCEDIR, 2) |
|
static MpiTestSuite | g_mpiSimple2NullMsg ("mpi-example-simple-2-nullmsg", "simple-distributed", NS_TEST_SOURCEDIR, 2, "--nullmsg") |
|
static MpiTestSuite | g_mpiThird2 ("mpi-example-third-2", "third-distributed", NS_TEST_SOURCEDIR, 2) |
|
◆ g_mpiComm2
MpiTestSuite g_mpiComm2("mpi-example-comm-2", "simple-distributed-mpi-comm", NS_TEST_SOURCEDIR, 2) |
( |
"mpi-example-comm-2" | , |
|
|
"simple-distributed-mpi-comm" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | ) |
|
static |
◆ g_mpiComm2comm
MpiTestSuite g_mpiComm2comm("mpi-example-comm-2-init", "simple-distributed-mpi-comm", NS_TEST_SOURCEDIR, 2, "--init") |
( |
"mpi-example-comm-2-init" | , |
|
|
"simple-distributed-mpi-comm" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | , |
|
|
"--init" | ) |
|
static |
◆ g_mpiComm3comm
MpiTestSuite g_mpiComm3comm("mpi-example-comm-3-init", "simple-distributed-mpi-comm", NS_TEST_SOURCEDIR, 3, "--init") |
( |
"mpi-example-comm-3-init" | , |
|
|
"simple-distributed-mpi-comm" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
3 | , |
|
|
"--init" | ) |
|
static |
◆ g_mpiEmpty2
MpiTestSuite g_mpiEmpty2("mpi-example-empty-2", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 2) |
( |
"mpi-example-empty-2" | , |
|
|
"simple-distributed-empty-node" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | ) |
|
static |
◆ g_mpiEmpty2NullMsg
MpiTestSuite g_mpiEmpty2NullMsg("mpi-example-empty-2-nullmsg", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 2, "-nullmsg") |
( |
"mpi-example-empty-2-nullmsg" | , |
|
|
"simple-distributed-empty-node" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | , |
|
|
"-nullmsg" | ) |
|
static |
◆ g_mpiEmpty3
MpiTestSuite g_mpiEmpty3("mpi-example-empty-3", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 3) |
( |
"mpi-example-empty-3" | , |
|
|
"simple-distributed-empty-node" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
3 | ) |
|
static |
◆ g_mpiEmpty3NullMsg
MpiTestSuite g_mpiEmpty3NullMsg("mpi-example-empty-3-nullmsg", "simple-distributed-empty-node", NS_TEST_SOURCEDIR, 3, "-nullmsg") |
( |
"mpi-example-empty-3-nullmsg" | , |
|
|
"simple-distributed-empty-node" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
3 | , |
|
|
"-nullmsg" | ) |
|
static |
◆ g_mpiNms2
MpiTestSuite g_mpiNms2("mpi-example-nms-2", "nms-p2p-nix-distributed", NS_TEST_SOURCEDIR, 2) |
( |
"mpi-example-nms-2" | , |
|
|
"nms-p2p-nix-distributed" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | ) |
|
static |
◆ g_mpiSimple2
MpiTestSuite g_mpiSimple2("mpi-example-simple-2", "simple-distributed", NS_TEST_SOURCEDIR, 2) |
( |
"mpi-example-simple-2" | , |
|
|
"simple-distributed" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | ) |
|
static |
◆ g_mpiSimple2NullMsg
MpiTestSuite g_mpiSimple2NullMsg("mpi-example-simple-2-nullmsg", "simple-distributed", NS_TEST_SOURCEDIR, 2, "--nullmsg") |
( |
"mpi-example-simple-2-nullmsg" | , |
|
|
"simple-distributed" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | , |
|
|
"--nullmsg" | ) |
|
static |
◆ g_mpiThird2
MpiTestSuite g_mpiThird2("mpi-example-third-2", "third-distributed", NS_TEST_SOURCEDIR, 2) |
( |
"mpi-example-third-2" | , |
|
|
"third-distributed" | , |
|
|
NS_TEST_SOURCEDIR | , |
|
|
2 | ) |
|
static |