Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Update boost #177

Merged
merged 5 commits into from Nov 27, 2013

Conversation

Projects
None yet
2 participants
Owner

jwpeterson commented Nov 26, 2013

This set of patches should update libmesh's internal boost distribution to version 1.55.0.

This was pretty straight-forward except for some slight differences to the pool allocator which are discussed in more detail here: http://stackoverflow.com/questions/17000542/boost-pool-can-i-wean-it-from-boost-system

@benkirk, are we actually using the pool allocator in the library at all? If you have test code that uses Boost.Pool, would you mind trying it out on this new Boost? Thanks!

Owner

benkirk commented Nov 26, 2013

On Nov 26, 2013, at 1:37 AM, jwpeterson notifications@github.com
wrote:

@benkirk, are we actually using the pool allocator in the library at all? If you have test code that uses Boost.Pool, would you mind trying it out on this new Boost? Thanks!

We are not. I played with it at one point to see if if could speed up code for short lived objects. I had the underlying vector inside the DofObject using the pooled allocator. There was a slight speedup but at the cost of quite a bit of memory usage.

Did you use bcp to extract these dependencies?

Owner

jwpeterson commented Nov 26, 2013

We are not.

That's what I figured. It's no problem to let the PoolAllocator hang around, things should still compile just fine header-only.

Did you use bcp to extract these dependencies?

No, I'm not sure what that is, but I'm guessing I should have...

I took the test_boost.cc code and compiled it with -M -MF foo.d and used the resulting dependencies to determine what to copy out of the boost distribution.

@jwpeterson jwpeterson added a commit that referenced this pull request Nov 27, 2013

@jwpeterson jwpeterson Merge pull request #177 from libMesh/update_boost
Update boost
2c0efd0

@jwpeterson jwpeterson merged commit 2c0efd0 into master Nov 27, 2013

@jwpeterson jwpeterson deleted the update_boost branch Nov 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment