]> git.donarmstrong.com Git - mothur.git/blobdiff - chimerapintailcommand.h
changed how we break up the files on parallelized commands to avoid scanning file.
[mothur.git] / chimerapintailcommand.h
index 9fc6f437c6724f3424e412b3af5ad0d59c06066e..9082204bf80af5ccb83cba072078ef8b276f6e3a 100644 (file)
@@ -30,9 +30,10 @@ 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;
        
@@ -40,7 +41,7 @@ private:
        int createProcesses(string, string, string);
        
        #ifdef USE_MPI
-       int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, vector<long>&);
+       int driverMPI(int, int, MPI_File&, MPI_File&, MPI_File&, vector<unsigned long int>&);
        #endif
 
        bool abort, filter;