← Back to team overview

dolfin team mailing list archive

Re: runtime error

 

I see the problem here. We've started the transition to parallel
assembly, but the job isn't finished. I think I know a way to solve
this, for instance by letting SparsityPattern::range return (0,
size(0)) if not running in parallel.

Ola

On Tue, Jun 9, 2009 at 6:11 PM, Shawn Walker<walker@xxxxxxxxxxxxxxx> wrote:
> I still get this run-time error when I run the demos:
>
> walker@box227 ~/FENICS/dolfin/demo/pde/stokes/taylor-hood/cpp
> $ ./demo
> Solving linear variational problem
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  *** Error: MPI::local_range() requires MPI.
> [box227:05600] *** Process received signal ***
> [box227:05600] Signal: Aborted (6)
> [box227:05600] Signal code:  (-6)
> [box227:05600] [ 0] /lib64/libpthread.so.0 [0x384aa0e4c0]
> [box227:05600] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3849e30215]
> [box227:05600] [ 2] /lib64/libc.so.6(abort+0x110) [0x3849e31cc0]
> [box227:05600] [ 3]
> /usr/lib64/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x114)
> [0x384eabec44]
> [box227:05600] [ 4] /usr/lib64/libstdc++.so.6 [0x384eabcdb6]
> [box227:05600] [ 5] /usr/lib64/libstdc++.so.6 [0x384eabcde3]
> [box227:05600] [ 6] /usr/lib64/libstdc++.so.6 [0x384eabceca]
> [box227:05600] [ 7]
> /home/walker/build/lib/libdolfin.so.0(_ZNK6dolfin6Logger5errorESs+0x80)
> [0x2acce0e079d0]
> [box227:05600] [ 8]
> /home/walker/build/lib/libdolfin.so.0(_ZN6dolfin5errorESsz+0xfe)
> [0x2acce0e0b5ce]
> [box227:05600] [ 9]
> /home/walker/build/lib/libdolfin.so.0(_ZN6dolfin3MPI11local_rangeEj+0x2c)
> [0x2acce0e0c44c]
> [box227:05600] [10]
> /home/walker/build/lib/libdolfin.so.0(_ZNK6dolfin15SparsityPattern5rangeEv+0x13)
> [0x2acce0dfa3b3]
> [box227:05600] [11]
> /home/walker/build/lib/libdolfin.so.0(_ZN6dolfin11PETScMatrix4initERKNS_22GenericSparsityPatternE+0xfa)
> [0x2acce0de11ba]
> [box227:05600] [12]
> /home/walker/build/lib/libdolfin.so.0(_ZN6dolfin9Assembler18init_global_tensorERNS_13GenericTensorERKNS_4FormERNS_3UFCEb+0x201)
> [0x2acce0d569d1]
> [box227:05600] [13]
> /home/walker/build/lib/libdolfin.so.0(_ZN6dolfin9Assembler8assembleERNS_13GenericTensorERKNS_4FormEPKNS_12MeshFunctionIjEES9_S9_b+0x63)
> [0x2acce0d5d313]
> [box227:05600] [14]
> /home/walker/build/lib/libdolfin.so.0(_ZN6dolfin18VariationalProblem12solve_linearERNS_8FunctionE+0x90a)
> [0x2acce0d27d6a]
> [box227:05600] [15] ./demo(main+0x7e0) [0x427c80]
> [box227:05600] [16] /lib64/libc.so.6(__libc_start_main+0xf4)
> [0x3849e1d974]
> [box227:05600] [17] ./demo(__gxx_personality_v0+0x301) [0x427209]
> [box227:05600] *** End of error message ***
> Aborted
>
> I am using 64-bit Red Hat linux.  Any suggestions?
>
> - Shawn
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>



-- 
Ola Skavhaug


Follow ups

References