$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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().
>
> BOOST_GLOBAL_FIXTURE
Indeed. Something like the following works just fine:
struct MPIFixture {
MPIFixture() { MPI_Init(NULL, NULL); }
~MPIFixture() { MPI_Finalize(); }
};
BOOST_GLOBAL_FIXTURE(MPIFixture);
- Rhys