reading facet connections in parallel is extremely slow
Bug #928342 reported by
Marco Morandini
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The attached patch (against 1.0.x.) is an attempt to fix the more evident scalability issues
(mostly replacing std::find on vectors, but also with a more complex problem at the end of MeshPartitionin
It reduces the initial startup time of about half an hour, required for a 321668 elements mesh, by more than an order of magnitude on my pc.
Please check with care the first part of the patch for MeshDistributed is correct: entity_indices
has a lot of repeated values, and using a simple set I'm dropping them all together in a single pass
if they are in global_index. Is this correct?
Any advice is welcome.
Thanks,
Marco
Changed in dolfin: | |
status: | Confirmed → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for the patch. I'll take a look. It may be worth also testing unordered_ set/map.
boost::
Garth
On 7 February 2012 16:21, Marco Morandini <email address hidden> wrote: /bugs.launchpad .net/bugs/ 928342/ +attachment/ 2721968/ +files/ diff.log /bugs.launchpad .net/bugs/ 928342 /bugs.launchpad .net/dolfin/ +bug/928342/ +subscriptions
> ** Patch added: "diff.log"
> https:/
>
> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https:/
>
> Title:
> reading facet connections in parallel is extremely slow
>
> To manage notifications about this bug go to:
> https:/