Loading src/cluster/cluster.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -326,6 +326,9 @@ void cluster(const string& config_file, const string& data_file, const string& o return; } //================================================== // do the first outputs here, so that I open here the new files, afterwards I only append //================================================== vtppoanp->write_to_disk(output_path + "/c_TPPOAN"); delete vtppoanp; Loading Loading @@ -420,8 +423,8 @@ void cluster(const string& config_file, const string& data_file, const string& o // the parallel loop over MPI processes covers a different set of indices for each thread #pragma omp barrier int myjxi488 = ixi488+myompthread; vtppoanp_2 = new VirtualBinaryFile(); // each thread opens new virtual files and stores their pointers in the shared array vtppoanp_2 = new VirtualBinaryFile(); // each thread puts a copy of the pointers to its virtual files in the shared arrays vtppoanarray[myompthread] = vtppoanp_2; #pragma omp barrier Loading Loading
src/cluster/cluster.cpp +6 −3 Original line number Diff line number Diff line Loading @@ -326,6 +326,9 @@ void cluster(const string& config_file, const string& data_file, const string& o return; } //================================================== // do the first outputs here, so that I open here the new files, afterwards I only append //================================================== vtppoanp->write_to_disk(output_path + "/c_TPPOAN"); delete vtppoanp; Loading Loading @@ -420,8 +423,8 @@ void cluster(const string& config_file, const string& data_file, const string& o // the parallel loop over MPI processes covers a different set of indices for each thread #pragma omp barrier int myjxi488 = ixi488+myompthread; vtppoanp_2 = new VirtualBinaryFile(); // each thread opens new virtual files and stores their pointers in the shared array vtppoanp_2 = new VirtualBinaryFile(); // each thread puts a copy of the pointers to its virtual files in the shared arrays vtppoanarray[myompthread] = vtppoanp_2; #pragma omp barrier Loading