On Wed, 27 Jan 2010, Yujie wrote:

> In "dbg", the problem is always there.

I hadn't noticed before that you were running in debug mode.  Bad
performance is inherent to METHOD=dbg; we turn off optimization, we
test every assertion, we sometimes even add extra "double-checking"
libMesh code, GNU libstdc++ turns every std::vector index into a
checked index... worst of all, the GNU libstdc++ debug mode checks on
std::set actually have asymptotically greater cost than the operations
they're checking!

Performance with METHOD=dbg will always be lousy.  The solution is,
when you need performance, compile with METHOD=opt.
---
Roy

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to