No point wasting time debugging such archaeological relics. There have been numerous improvements and bug fixes to both packages since then. You should upgrade to petsc-3.3 which also has the latest MUMPS.<br><br><div class="gmail_quote">
On Thu, Sep 13, 2012 at 4:24 PM, Lukasz Kaczmarczyk <span dir="ltr"><<a href="mailto:Lukasz.Kaczmarczyk@glasgow.ac.uk" target="_blank">Lukasz.Kaczmarczyk@glasgow.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I use petsc-3.1-p3 and MUMPS_4.9.2.  I hope that this will help, it is tricky to track the error, usually is for relatively large problems,  I have to check if it happens always at the same time, or is random error.<br>
<br>
CYCLE 19 ref_mesh 0<br>
Vol = 1.6749e+08 ave_Vol = 4.2698e+03 min_quali = 1.7609e-01<br>
Nodes Ordering<br>
Elemnets Ordering<br>
<br>
arc length lambda 4.4581e-01<br>
<br>
arc length lambda value 5.6751e+02<br>
<br>
  0 SNES Function norm 7.929158005697e+01<br>
  0 SNES (MY) norms Fint 6.7783e+01, arc length res_lambda 0.0000e+00 lambda 4.4581e-01<br>
    0 KSP (MY) F 9.0999e-01 Res 1.0000e+00<br>
    1 KSP (MY) F 3.8659e-15 Res 4.4892e-15<br>
    PC ArcLength norm dF_dLambda 5.8658e+03 norm dD_dF_dLambda 3.29e+01 b_dD_dF_dLambda 0.00e+00<br>
    0 KSP (MY) norms F 6.7783e+01 Res 7.9292e+01 res arc length lambda 0.0000e+00 dlambda 0.0000e+00<br>
    1 KSP (MY) norms F 9.1576e-14 Res 9.9498e-14 res arc length lambda 0.0000e+00 dlambda 0.0000e+00<br>
  1 SNES Function norm 2.355295496832e-02<br>
  1 SNES (MY) norms Fint 2.0118e-02, arc length res_lambda 0.0000e+00 lambda 4.4581e-01<br>
At line 593 of file dmumps_part3.F<br>
<div class="im HOEnZb">Fortran runtime error: Attempt to DEALLOCATE unallocated 'perm'<br>
</div><div class="im HOEnZb">--------------------------------------------------------------------------<br>
mpirun has exited due to process rank 3 with PID 25487 on<br>
node rdb-srv1 exiting without calling "finalize". This may<br>
have caused other processes in the application to be<br>
terminated by signals sent by mpirun (as reported here).<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On 13 Sep 2012, at 21:23, Hong Zhang wrote:<br>
<br>
> Lukasz :<br>
> Hello,<br>
><br>
> I solve a strongly nonlinear problem using SNES. When I use MUMS with petsc form time to time I get following error,<br>
><br>
> Fortran runtime error: Attempt to DEALLOCATE unallocated 'perm'<br>
><br>
> I've never seen report from our users about this error.<br>
> Can you provide more info about it, e.g., run with a debugger and find<br>
> error stack showing which routine and the line number that the error occurs?<br>
> Which version of petsc and mumps do you use?<br>
> Does it work on petsc examples, e.g.<br>
> petsc-3.3/src/ksp/ksp/examples/tutorials>mpiexec -n 4 ./ex2 -pc_type lu -pc_factor_mat_solver_package mumps<br>
> Norm of error 2.71948e-15 iterations 1<br>
><br>
> Hong<br>
> --------------------------------------------------------------------------<br>
> mpirun has exited due to process rank 3 with PID 25487 on<br>
> node rdb-srv1 exiting without calling "finalize". This may<br>
> have caused other processes in the application to be<br>
> terminated by signals sent by mpirun (as reported here).<br>
><br>
> Other solvers (f.e. SuperLU Dist) working without problems. Is this know issue with MUMPS and similar problem where reported in past?<br>
><br>
> Lukasz<br>
><br>
<br>
</div></div></blockquote></div><br>