X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/1a6e4ad36f2b712a042007efb5184e2f34958595..8d11db1cf57b103fcec701d71c9d620b1c381b73:/o815/obs.cpp?ds=sidebyside diff --git a/o815/obs.cpp b/o815/obs.cpp index d9e2532..37d1d4e 100644 --- a/o815/obs.cpp +++ b/o815/obs.cpp @@ -2,7 +2,9 @@ #include "latlib/hypercache.h" +#ifndef MPI_DISABLED #include +#endif void o815::obs::finish() { _finish(); @@ -14,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(); }