+#ifndef MPI_DISABLED
+ for(int idest=1; idest<numprocs; idest++) {
+ MPI_Send(×tamp, 1, MPI_LONG, idest, 123, MPI_COMM_WORLD);
+ MPI_Send(&iseq, 1, MPI_LONG, idest, 124, MPI_COMM_WORLD);
+ }
+#endif
+
+ }
+
+#ifndef MPI_DISABLED
+ else if(rank>0) {
+ MPI_Recv(×tamp, 1, MPI_LONG, 0, 123, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
+ MPI_Recv(&iseq, 1, MPI_LONG, 0, 124, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
+ fulldir = wdir + "/" + longToStr(timestamp) + "." + longToStr(iseq) + "_" + signature + ".tmp";
+ }
+#endif
+