X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=suffixdb.cpp;h=4fc342dd8bd26f7809ef93ce57da1b5563ee4ad1;hp=b3496f60703ae6cadf09ad8159fdd4fa1fbf27e6;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=fdc1f6eaf544f695fc1511f24bddd7e6069c33ba diff --git a/suffixdb.cpp b/suffixdb.cpp index b3496f6..4fc342d 100644 --- a/suffixdb.cpp +++ b/suffixdb.cpp @@ -82,36 +82,4 @@ void SuffixDB::addSequence(Sequence seq) { SuffixDB::~SuffixDB(){ for (int i = (suffixForest.size()-1); i >= 0; i--) { suffixForest.pop_back(); } } -#ifdef USE_MPI -/**************************************************************************************************/ -int SuffixDB::MPISend(int receiver) { - try { - - //send numSeqs - int - MPI_Send(&numSeqs, 1, MPI_INT, receiver, 2001, MPI_COMM_WORLD); - - return 0; - } - catch(exception& e) { - m->errorOut(e, "SuffixDB", "MPISend"); - exit(1); - } -} -/**************************************************************************************************/ -int SuffixDB::MPIRecv(int sender) { - try { - MPI_Status status; - //receive numSeqs - int - MPI_Recv(&numSeqs, 1, MPI_INT, sender, 2001, MPI_COMM_WORLD, &status); - - suffixForest.resize(numSeqs); - - return 0; - } - catch(exception& e) { - m->errorOut(e, "SuffixDB", "MPIRecv"); - exit(1); - } -} -#endif /**************************************************************************************************/