Squelching annoying kokkos output

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14508 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor 2016-01-28 21:07:07 +00:00
parent ed17939b75
commit b355fa25f4
1 changed files with 12 additions and 12 deletions

View File

@ -388,18 +388,18 @@ struct AllocationRecordPool
curr = next; curr = next;
} while ( curr != start ); } while ( curr != start );
if ( !string_vec.empty() ) { //if ( !string_vec.empty() ) {
std::sort( string_vec.begin(), string_vec.end() ); // std::sort( string_vec.begin(), string_vec.end() );
//
std::ostringstream oss; // std::ostringstream oss;
oss << "Error: Allocation pool destroyed with the following memory leak(s):\n"; // oss << "Error: Allocation pool destroyed with the following memory leak(s):\n";
for (size_t i=0; i< string_vec.size(); ++i) // for (size_t i=0; i< string_vec.size(); ++i)
{ // {
oss << " " << string_vec[i] << std::endl; // oss << " " << string_vec[i] << std::endl;
} // }
//
std::cerr << oss.str() << std::endl; // std::cerr << oss.str() << std::endl;
} //}
} }
// delete singletons // delete singletons