19 #ifndef LUNCHBOX_MPI_H
20 #define LUNCHBOX_MPI_H
23 #include <boost/shared_ptr.hpp>
27 namespace detail {
class MPI; }
48 LUNCHBOX_API
MPI(
int argc,
char** argv );
71 LUNCHBOX_API
bool supportsThreads()
const;
74 LUNCHBOX_API
int getRank()
const;
77 LUNCHBOX_API
int getSize()
const;
80 boost::shared_ptr< detail::MPI > _impl;
85 #endif // LUNCHBOX_MPI_H
Defines export visibility macros for library Lunchbox.
LUNCHBOX_API int getSize() const
LUNCHBOX_API int getRank() const
Abstraction layer and common utilities for multi-threaded programming.
MPI functionality wrapper.
LUNCHBOX_API MPI()
Construct a new MPI handler.
LUNCHBOX_API ~MPI()
Destruct this handler instance.