//each process gets where it should start and stop in the file
start = int (sqrt(float(pid)/float(processors)) * numSeqs);
end = int (sqrt(float(pid+1)/float(processors)) * numSeqs);
-
+
MPI_File outMPI;
int amode=MPI_MODE_CREATE|MPI_MODE_WRONLY;
exit(1);
}
}
+#ifdef USE_MPI
/**************************************************************************************************/
/////// need to fix to work with calcs and sequencedb
int DistanceCommand::driverMPI(int startLine, int endLine, MPI_File& outMPI, float cutoff){
return 1;
}
catch(exception& e) {
- m->errorOut(e, "DistanceCommand", "driver");
+ m->errorOut(e, "DistanceCommand", "driverMPI");
exit(1);
}
}
-
+#endif
/**************************************************************************************************/
int DistanceCommand::convertMatrix(string outputFile) {
try{