I provide backtrace to the file bt.txt and my code. For my code you need to
run the file runMe.py.


On Mon, Oct 12, 2015 at 4:40 PM, Jan Blechta <[email protected]>
wrote:

> PETSc error code 1 does not seem to indicate an expected problem,
> http://www.mcs.anl.gov/petsc/petsc-dev/include/petscerror.h.html. It
> seems as an error not handled by PETSc.
>
> You could provide us with your code or try investigating the problem
> with debugger
>
>   $ mpirun -n 3 xterm -e gdb -ex 'set breakpoint pending on' -ex 'break
> PetscError' -ex 'break dolfin::dolfin_error' -ex r -args python
> your_script.py
>   ...
>   Break point hit...
>   (gdb) bt
>
> and post a backtrace here.
>
> Jan
>
>
> On Mon, 12 Oct 2015 15:16:48 +0300
> Giorgos Grekas <[email protected]> wrote:
>
> > Hello,
> > i am using ncg from tao solver and i wanted to test my code validity
> > in a pc  with 4 processors
> > before its execution in a cluster. When i run my code with 2 processes
> > (mpirun -np 2) everything
> > looks to work fine but when i use 3 or more processes i have the
> > following error:
> >
> >
> >  Error:   Unable to successfully call PETSc function
> > 'VecAssemblyBegin'. *** Reason:  PETSc error code is: 1.
> > *** Where:   This error was encountered inside
> >
> /home/ggrekas/.hashdist/tmp/dolfin-wphma2jn5fuw/dolfin/la/PETScVector.cpp.
> > *** Process: 3
> > ***
> > *** DOLFIN version: 1.7.0dev
> > *** Git changeset:  3fbd47ec249a3e4bd9d055f8a01b28287c5bcf6a
> > ***
> > -------------------------------------------------------------------------
> >
> >
> >
> ===================================================================================
> > =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> > =   EXIT CODE: 134
> > =   CLEANING UP REMAINING PROCESSES
> > =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
> >
> ===================================================================================
> > YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Aborted (signal 6)
> > This typically refers to a problem with your application.
> > Please see the FAQ page for debugging suggestions
> >
> >
> >
> >
> >
> > So, is it an issue that i must report to the tao team?
> >
> > Thank you in advance.
>
>
Breakpoint 1, 0x00007fffefd4fa50 in PetscError ()
   from /home/ggrekas/.hashdist/bld/petsc/vvqd7cxwcd4j/lib/libpetsc.so.3.6
(gdb) bt
#0  0x00007fffefd4fa50 in PetscError ()
   from /home/ggrekas/.hashdist/bld/petsc/vvqd7cxwcd4j/lib/libpetsc.so.3.6
#1  0x00007fffefe449b6 in VecAssemblyBegin_MPI ()
   from /home/ggrekas/.hashdist/bld/petsc/vvqd7cxwcd4j/lib/libpetsc.so.3.6
#2  0x00007fffefe226db in VecAssemblyBegin ()
   from /home/ggrekas/.hashdist/bld/petsc/vvqd7cxwcd4j/lib/libpetsc.so.3.6
#3  0x00007ffff540498f in dolfin::PETScVector::apply(std::string) ()
   from /home/ggrekas/.hashdist/bld/dolfin/wphma2jn5fuw/lib/libdolfin.so.1.7
#4  0x00007ffff5403827 in dolfin::PETScVector::zero() ()
   from /home/ggrekas/.hashdist/bld/dolfin/wphma2jn5fuw/lib/libdolfin.so.1.7
#5  0x00007ffff52fff1e in 
dolfin::PETScTAOSolver::solve(dolfin::OptimisationProblem&, 
dolfin::PETScVector&, dolfin::PETScVector const&, dolfin::PETScVector const&) ()
   from /home/ggrekas/.hashdist/bld/dolfin/wphma2jn5fuw/lib/libdolfin.so.1.7
#6  0x00007ffff5300a16 in 
dolfin::PETScTAOSolver::solve(dolfin::OptimisationProblem&, 
dolfin::GenericVector&) ()
   from /home/ggrekas/.hashdist/bld/dolfin/wphma2jn5fuw/lib/libdolfin.so.1.7
#7  0x00007fffdb5c94c2 in _wrap_PETScTAOSolver_solve ()
   from 
/home/ggrekas/.hashdist/bld/profile/j6dmn4lgi7cv/lib/python2.7/site-packages/dolfin/cpp/_la.so
#8  0x00007ffff7adaa6c in do_call (nk=<optimized out>, na=3, 
    pp_stack=0x7fffffffd200, func=0x7fffdb8c39e0) at Python/ceval.c:4250
#9  call_function (oparg=<optimized out>, pp_stack=0x7fffffffd200)
---Type <return> to continue, or q <return> to quit---
    at Python/ceval.c:4058
#10 PyEval_EvalFrameEx (f=f@entry=0x7fffd56d37f0, throwflag=throwflag@entry=0)
    at Python/ceval.c:2681
#11 0x00007ffff7ada60e in fast_function (nk=<optimized out>, na=1, n=1, 
    pp_stack=0x7fffffffd380, func=0x7fffd9106410) at Python/ceval.c:4121
#12 call_function (oparg=<optimized out>, pp_stack=0x7fffffffd380)
    at Python/ceval.c:4056
#13 PyEval_EvalFrameEx (f=f@entry=0x7ffff7e67230, throwflag=throwflag@entry=0)
    at Python/ceval.c:2681
#14 0x00007ffff7adbebd in PyEval_EvalCodeEx (co=co@entry=0x7ffff7ebec30, 
    globals=globals@entry=0x7ffff7f5b168, locals=locals@entry=0x7ffff7f5b168, 
    args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, 
    kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, 
    closure=closure@entry=0x0) at Python/ceval.c:3267
#15 0x00007ffff7adbff2 in PyEval_EvalCode (co=co@entry=0x7ffff7ebec30, 
    globals=globals@entry=0x7ffff7f5b168, locals=locals@entry=0x7ffff7f5b168)
    at Python/ceval.c:669
#16 0x00007ffff7b057b2 in run_mod (arena=0x683df0, flags=0x7fffffffd5b0, 
    locals=0x7ffff7f5b168, globals=0x7ffff7f5b168, 
    filename=0x7ffff7ebec30 "\002", mod=<optimized out>)
    at Python/pythonrun.c:1371
#17 PyRun_FileExFlags (fp=fp@entry=0x63b200, 
    filename=filename@entry=0x7fffffffdc2f "experiment.py", 
---Type <return> to continue, or q <return> to quit---
    start=start@entry=257, globals=globals@entry=0x7ffff7f5b168, 
    locals=locals@entry=0x7ffff7f5b168, closeit=closeit@entry=1, 
    flags=flags@entry=0x7fffffffd5b0) at Python/pythonrun.c:1357
#18 0x00007ffff7b06cf9 in PyRun_SimpleFileExFlags (fp=fp@entry=0x63b200, 
    filename=filename@entry=0x7fffffffdc2f "experiment.py", 
    closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd5b0)
    at Python/pythonrun.c:949
#19 0x00007ffff7b07213 in PyRun_AnyFileExFlags (fp=fp@entry=0x63b200, 
    filename=filename@entry=0x7fffffffdc2f "experiment.py", 
    closeit=closeit@entry=1, flags=flags@entry=0x7fffffffd5b0)
    at Python/pythonrun.c:753
#20 0x00007ffff7b1cb5f in Py_Main (argc=<optimized out>, argv=<optimized out>)
    at Modules/main.c:640
#21 0x00007ffff7410ec5 in __libc_start_main (main=0x4008e0 <main>, argc=2, 
    argv=0x7fffffffd768, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffd758) at libc-start.c:287
#22 0x000000000040090e in _start ()

Attachment: files2run.tar.gz
Description: GNU Zip compressed data

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to