Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost test and openmpi
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2014-02-21 11:38:21

> A global fixture seems like a more appropriate solution than implementing main().

Indeed. Something like the following works just fine:

struct MPIFixture {
    MPIFixture() { MPI_Init(NULL, NULL); }
    ~MPIFixture() { MPI_Finalize(); }

- Rhys

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at