]> git.treefish.org Git - phys/latlib.git/blobdiff - o815/obs.cpp
Added resetconfig routine.
[phys/latlib.git] / o815 / obs.cpp
index d9e25321c6e267e393f43366d0b95f4697d2c56e..37d1d4ed7f3740f07a3b33684c0af8c24ddde2b4 100644 (file)
@@ -2,7 +2,9 @@
 
 #include "latlib/hypercache.h"
 
+#ifndef MPI_DISABLED
 #include <mpi.h>
+#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();
 }