]> 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 b100287269f16781839c884bd83121c620e279ba..b58c3f29bcc653e48c2d30fc9ae4a57344c4330e 100644 (file)
@@ -26,9 +26,9 @@ public:
        
 private:
        struct linePair {
-               int start;
-               int numSeqs;
-               linePair(long int i, int j) : start(i), numSeqs(j) {}
+               unsigned long int start;
+               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<long>&);
+       int driverMPI(MPI_File&, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
        #endif
        
        string candidateFileName, templateFileName, distanceFileName, search, align, outputDir;