X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/d09f5f0aeff338a0262c3faf5272b82945a3bf8f..f6dad6a4230bed002b51de0ec8ff34410bac27ec:/o815/obs.cpp?ds=inline diff --git a/o815/obs.cpp b/o815/obs.cpp index ae97340..37d1d4e 100644 --- a/o815/obs.cpp +++ b/o815/obs.cpp @@ -2,6 +2,10 @@ #include "latlib/hypercache.h" +#ifndef MPI_DISABLED +#include +#endif + void o815::obs::finish() { _finish(); } @@ -12,9 +16,11 @@ void o815::obs::start() { *out << "#" << O815->programid << "-" << obsid << obsidpostfix << O815->headMaster() << "-" << datadesc << endl << flush; } +#ifndef MPI_DISABLED if (O815->comargs.outdir=="") MPI_Barrier(MPI_COMM_WORLD); - +#endif + _start(); }