#include <sstream>
#include <iomanip>
+#include <mpi.h>
+
#include "latlib/progress.h"
using namespace std;
MPI_Send(×tamp, 1, MPI_LONG, idest, 123, MPI_COMM_WORLD);
}
else if(rank>0)
- MPI_Recv(×tamp, 1, MPI_LONG, 0, 123, MPI_COMM_WORLD, &mpiStatus);
+ MPI_Recv(×tamp, 1, MPI_LONG, 0, 123, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
out = new writeout(comargs.outdir, programid+headMaster(), rank, numprocs, timestamp);
}
#include <string>
#include <vector>
-#include <mpi.h>
#include <stdlib.h>
#include <getopt.h>
private:
vector<comoption> comOptions;
- MPI_Status mpiStatus;
int numprocs, rank;
static void listArg(int *target, int tlen, char *listarg);
void parseArgs(int argc, char **argv, comoption specOps[]);