|
|
blah |
|
|
\ No newline at end of file |
|
|
## Motivation
|
|
|
|
|
|
We use MPI parallelism in order to run bigger stuff faster. To achieve that, our library is made MPI aware, meaning that our disk object model explicitly uses an MPI communicator to distribute all it scalar field other a set of MPI processes.
|
|
|
|
|
|
That same library is used by our post treatment tools to modify, visualize and check the consistency of our generated disks.
|
|
|
|
|
|
Unfortunately, some clusters do not allow running MPI job on login or post treatment nodes, even if it's on one MPI process, and some MPI implementations won't let us run a single process job without MPI launcher.
|
|
|
If you're unlucky enough, these two flavors of stupidity will eventually collide.
|
|
|
|
|
|
Because of that, we want to be able to have a non MPI version of our code. And since we're not number crunchers, we want to use the same source code and minimize the use of the pre-processor.
|
|
|
|
|
|
## Selected solution
|
|
|
|
|
|
We developed a minimal dummy Boost.MPI that mimic an 1 process communicator. Such |