]> git.donarmstrong.com Git - mothur.git/blobdiff - aligncommand.h
modified the engine to extract the path of mothur executable if argv does not contain...
[mothur.git] / aligncommand.h
index f0496a54a9070b31dcb699a0deefc7cb51fc8a50..fb47874f8e1ff619a015b66b1f60952aafd61eb0 100644 (file)
@@ -26,12 +26,13 @@ public:
        
 private:
        struct linePair {
-               int start;
+               unsigned long int start;
                int numSeqs;
-               linePair(long int i, int j) : start(i), numSeqs(j) {}
+               linePair(unsigned long int i, int j) : start(i), numSeqs(j) {}
        };
        vector<int> processIDS;   //processid
        vector<linePair*> lines;
+       bool MPIWroteAccnos;
        
        AlignmentDB* templateDB;
        Alignment* alignment;
@@ -41,6 +42,10 @@ private:
        void appendAlignFiles(string, string); 
        void appendReportFiles(string, string);
        
+       #ifdef USE_MPI
+       int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
+       #endif
+       
        string candidateFileName, templateFileName, distanceFileName, search, align, outputDir;
        float match, misMatch, gapOpen, gapExtend, threshold;
        int processors, kmerSize;