]> git.donarmstrong.com Git - mothur.git/blobdiff - aligncommand.h
changed how we break up the files on parallelized commands to avoid scanning file.
[mothur.git] / aligncommand.h
index fb47874f8e1ff619a015b66b1f60952aafd61eb0..b58c3f29bcc653e48c2d30fc9ae4a57344c4330e 100644 (file)
@@ -27,8 +27,8 @@ public:
 private:
        struct linePair {
                unsigned long int start;
-               int numSeqs;
-               linePair(unsigned long int i, int j) : start(i), numSeqs(j) {}
+               unsigned long int end;
+               linePair(unsigned long int i, unsigned long int j) : start(i), end(j) {}
        };
        vector<int> processIDS;   //processid
        vector<linePair*> lines;
@@ -43,7 +43,7 @@ private:
        void appendReportFiles(string, string);
        
        #ifdef USE_MPI
-       int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
+       int driverMPI(MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
        #endif
        
        string candidateFileName, templateFileName, distanceFileName, search, align, outputDir;