On Mon, Jan 9, 2012 at 05:23, Alexander Grayver <agrayver at gfz-potsdam.de>wrote:
> I run petsc-dev like that: > mpirun -n 2 /home/solveTest -ksp_view -ksp_monitor -ksp_converged_reason > -ksp_monitor_true_residual -log_summary -mat_type mpiaij -ksp_rtol 1.0e-12 > > [...] > But just switching to one process (-n 1) makes it crashing: > Try removing the "-mat_type mpiaij" part. Note that you can still use "-mat_type aij". Also note that you should usually use a prefix so that you are setting the type of a specific matrix instead of setting the type of all matrices (for which MatSetFromOptions() is called). > > [0]PETSC ERROR: ------------------------------** > ------------------------------**------------ > [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, > probably memory access out of range > Please run with valgrind --db-attach=yes (or at least a debugger) to get a stack trace. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120109/69e466c0/attachment.html>
