libadc-cxx 1.0.0
Structured logging for scientific computing
Loading...
Searching...
No Matches
Namespaces | Functions
adcHelloWorldMPI.cpp File Reference
#include "adc/adc.hpp"
#include <cstdlib>
#include <cstring>
#include <cerrno>
#include <limits>
#include <mpi.h>
Include dependency graph for adcHelloWorldMPI.cpp:

Go to the source code of this file.

Namespaces

namespace  adc_examples
 
namespace  adc_examples::adcHelloWorldMPI
 

Functions

int adc_examples::adcHelloWorldMPI::main (int argc, char **argv)
 adc c++ hello world without hard-coded publisher choices.
 
int main (int argc, char **argv)
 

Detailed Description

This demonstrates using the adc::factory API to build and publish a message from all ranks of an mpi program. The message sent includes the bare minimum, plus hello world.

Definition in file adcHelloWorldMPI.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 130 of file adcHelloWorldMPI.cpp.