← Back to team overview

dolfin team mailing list archive

Re: [Question #116222]: MPI Problem

 

Question #116222 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/116222

Pietro Maximoff gave more information on the question:
Running the same program on Mac OS X, the error produced is:


Assertion failed: (index < N), function index_owner, file dolfin/main/MPI.cpp, line 486.
[Gambit-3:07240] *** Process received signal ***
[Gambit-3:07240] Signal: Abort trap (6)
[Gambit-3:07240] Signal code:  (0)
Assertion failed: (index < N), function index_owner, file dolfin/main/MPI.cpp, line 486.
[Gambit-3:07241] *** Process received signal ***
[Gambit-3:07241] Signal: Abort trap (6)
[Gambit-3:07241] Signal code:  (0)
[Gambit-3:07241] [ 0] 2   libSystem.B.dylib                   0x00007fff832c335a _sigtramp + 26
[Gambit-3:07241] [ 1] 3   libSystem.B.dylib                   0x00007fff832680aa tiny_malloc_from_free_list + 1196
[Gambit-3:07241] [ 2] 4   libSystem.B.dylib                   0x00007fff8333e9b4 __pthread_markcancel + 0
[Gambit-3:07241] [ 3] 5   libdolfin.dylib                     0x00000001001ac9c0 _ZN6dolfin3MPI10distributeERSt6vectorIjSaIjEES4_ + 0
[Gambit-3:07241] [ 4] 6   libdolfin.dylib                     0x000000010016cb1d _ZN6dolfin15SparsityPattern5applyEv + 397
[Gambit-3:07241] [ 5] 7   libdolfin.dylib                     0x00000001000dbda9 _ZN6dolfin22SparsityPatternBuilder5buildERNS_22GenericSparsityPatternERKNS_4MeshERSt6vectorIPKNS_13GenericDofMapESaIS9_EEbb + 1593
[Gambit-3:07241] [ 6] 8   libdolfin.dylib                     0x00000001000af867 _ZN6dolfin14AssemblerTools18init_global_tensorERNS_13GenericTensorERKNS_4FormERNS_3UFCEbb + 743
[Gambit-3:07241] [ 7] 9   libdolfin.dylib                     0x00000001000ad7d7 _ZN6dolfin9Assembler8assembleERNS_13GenericTensorERKNS_4FormEPKNS_12MeshFunctionIjEES9_S9_bb + 215
[Gambit-3:07241] [ 8] 10  libdolfin.dylib                     0x00000001000ae356 _ZN6dolfin9Assembler8assembleERNS_13GenericTensorERKNS_4FormEbb + 134
[Gambit-3:07241] [ 9] 11  mono                                0x000000010000b77d main + 5037
[Gambit-3:07241] [10] 12  mono                                0x0000000100001bc4 start + 52
[Gambit-3:07241] [11] 13  ???                                 0x0000000000000001 0x0 + 1
[Gambit-3:07241] *** End of error message ***
[Gambit-3:07240] [ 0] 2   libSystem.B.dylib                   0x00007fff832c335a _sigtramp + 26
[Gambit-3:07240] [ 1] 3   libSystem.B.dylib                   0x00007fff832680aa tiny_malloc_from_free_list + 1196
[Gambit-3:07240] [ 2] 4   libSystem.B.dylib                   0x00007fff8333e9b4 __pthread_markcancel + 0
[Gambit-3:07240] [ 3] 5   libdolfin.dylib                     0x00000001001ac9c0 _ZN6dolfin3MPI10distributeERSt6vectorIjSaIjEES4_ + 0
[Gambit-3:07240] [ 4] 6   libdolfin.dylib                     0x000000010016cb1d _ZN6dolfin15SparsityPattern5applyEv + 397
[Gambit-3:07240] [ 5] 7   libdolfin.dylib                     0x00000001000dbda9 _ZN6dolfin22SparsityPatternBuilder5buildERNS_22GenericSparsityPatternERKNS_4MeshERSt6vectorIPKNS_13GenericDofMapESaIS9_EEbb + 1593
[Gambit-3:07240] [ 6] 8   libdolfin.dylib                     0x00000001000af867 _ZN6dolfin14AssemblerTools18init_global_tensorERNS_13GenericTensorERKNS_4FormERNS_3UFCEbb + 743
[Gambit-3:07240] [ 7] 9   libdolfin.dylib                     0x00000001000ad7d7 _ZN6dolfin9Assembler8assembleERNS_13GenericTensorERKNS_4FormEPKNS_12MeshFunctionIjEES9_S9_bb + 215
[Gambit-3:07240] [ 8] 10  libdolfin.dylib                     0x00000001000ae356 _ZN6dolfin9Assembler8assembleERNS_13GenericTensorERKNS_4FormEbb + 134
[Gambit-3:07240] [ 9] 11  mono                                0x000000010000b77d main + 5037
[Gambit-3:07240] [10] 12  mono                                0x0000000100001bc4 start + 52
[Gambit-3:07240] [11] 13  ???                                 0x0000000000000001 0x0 + 1
[Gambit-3:07240] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 7241 on node Gambit-3.local exited on signal 6 (Abort trap).

========================================================

Lines 484 - 486 of dolfin/main/MPI.cpp are:

dolfin::uint dolfin::MPI::index_owner(uint index, uint N)
{
  assert(index < N);
  ......

I can't see why this assertion fails.

Pietro

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References