Commit b355fa25 authored by stamoor's avatar stamoor
Browse files

Squelching annoying kokkos output

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14508 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent ed17939b
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -388,18 +388,18 @@ struct AllocationRecordPool
        curr = next;
      } while ( curr != start );

      if ( !string_vec.empty() ) {
        std::sort( string_vec.begin(), string_vec.end() );

        std::ostringstream oss;
        oss << "Error: Allocation pool destroyed with the following memory leak(s):\n";
        for (size_t i=0; i< string_vec.size(); ++i)
        {
          oss << "   " << string_vec[i] << std::endl;
        }

        std::cerr << oss.str() << std::endl;
      }
      //if ( !string_vec.empty() ) {
      //  std::sort( string_vec.begin(), string_vec.end() );
      //
      //  std::ostringstream oss;
      //  oss << "Error: Allocation pool destroyed with the following memory leak(s):\n";
      //  for (size_t i=0; i< string_vec.size(); ++i)
      //  {
      //    oss << "   " << string_vec[i] << std::endl;
      //  }
      //
      //  std::cerr << oss.str() << std::endl;
      //}
    }

    // delete singletons