diff --git a/packages/shylu/shylu_node/basker/src/shylubasker_decl.hpp b/packages/shylu/shylu_node/basker/src/shylubasker_decl.hpp index f9b33e325bd7..09e3f6f98382 100644 --- a/packages/shylu/shylu_node/basker/src/shylubasker_decl.hpp +++ b/packages/shylu/shylu_node/basker/src/shylubasker_decl.hpp @@ -1160,8 +1160,6 @@ namespace BaskerNS void printMTX(std::string fname, BASKER_MATRIX &M); void printMTX(std::string fname, BASKER_MATRIX &M, BASKER_BOOL off); void readMTX(std::string fname, BASKER_MATRIX &M); - int printRHS(); - int printSOL(); void printTree(); BASKER_INLINE diff --git a/packages/shylu/shylu_node/basker/src/shylubasker_def.hpp b/packages/shylu/shylu_node/basker/src/shylubasker_def.hpp index c7b9d66311ab..35d8588b0bd9 100644 --- a/packages/shylu/shylu_node/basker/src/shylubasker_def.hpp +++ b/packages/shylu/shylu_node/basker/src/shylubasker_def.hpp @@ -2307,10 +2307,6 @@ namespace BaskerNS printU(); printUMTX(); std::cout << "U printed" << std::endl; - //printRHS(); - std::cout << "RHS printed" << std::endl; - //printSOL(); - std::cout << "SOL printed" << std::endl; //printTree(); std::cout << "Tree printed" << std::endl; diff --git a/packages/shylu/shylu_node/basker/src/shylubasker_thread.hpp b/packages/shylu/shylu_node/basker/src/shylubasker_thread.hpp index ebce20c9875f..6e4d1554c754 100644 --- a/packages/shylu/shylu_node/basker/src/shylubasker_thread.hpp +++ b/packages/shylu/shylu_node/basker/src/shylubasker_thread.hpp @@ -272,7 +272,7 @@ namespace BaskerNS BASKER_INLINE void atomic_barrier_fanout(volatile Int &value, const Int l_size) { - Kokkos::atomic_inc(&(value)) + Kokkos::atomic_inc(&(value)); while(value < l_size) { BASKER_NO_OP; diff --git a/packages/shylu/shylu_node/basker/src/shylubasker_util.hpp b/packages/shylu/shylu_node/basker/src/shylubasker_util.hpp index 2d8322c05de2..455b76004a98 100644 --- a/packages/shylu/shylu_node/basker/src/shylubasker_util.hpp +++ b/packages/shylu/shylu_node/basker/src/shylubasker_util.hpp @@ -1472,61 +1472,6 @@ namespace BaskerNS }//end readMTX() - //Print out RHS RHS.txt - template - int Basker::printRHS() - { - if(solve_flag == false) - {return -1;} - - FILE *fp; - fp = fopen("RHS.txt", "w"); - - //over each row - for(Int r = 0; r < A.nrow; r++) - { - //over each column NOTE: come back to - //for(Int k = 0; k < rhs.size(); k++) - for(Int k = 0; k < 1; k++) - { - //fprintf(fp, "%ld %ld %f, ", (long)r, (long)gperm[r], rhs[k][r]); - fprintf(fp, "%ld %ld %.16e, ", (long)r, (long)gperm[r], rhs[k][r]); - }//end over each column - fprintf(fp, "\n"); - }//end over each row - - fclose(fp); - - return 0; - }//end printRHS() - - //Print solution SOL.txt - template - int Basker::printSOL() - { - if(solve_flag == false) - {return -1;} - - FILE *fp; - fp = fopen("SOL.txt", "w"); - - //over each row - for(Int r = 0; r < A.nrow; r++) - { - //over each column Note: come back to - //for(Int k = 0; k < rhs.size(); k++) - for(Int k = 0 ; k < 1; k++) - { - fprintf(fp, "%ld %ld %f, ", (long)r, (long)gperm[r], sol[k][r]); - }//end over each column - fprintf(fp, "\n"); - }//end over each row - - fclose(fp); - - return 0; - }//end printSOL() - //Prints the given tree into a file to analyze template void Basker::printTree()