[petsc-users] superlu_dist segfault

Zhang, Hong hzhang at mcs.anl.gov
Tue Oct 27 09:11:15 CDT 2020


Marius,
It fails at the line 1075 in file /home/petsc3.14.release/arch-linux-c-debug/externalpackages/git.superlu_dist/SRC/pzgstrs.c
    if ( !(lsum = (doublecomplex*)SUPERLU_MALLOC(sizelsum*num_thread * sizeof(doublecomplex))))     ABORT("Malloc fails for lsum[].");

We do not know what it means. You may use a debugger to check the values of the variables involved.
I'm cc'ing Sherry (superlu_dist developer), or you may send us a stand-alone short code that reproduce the error. We can help on its investigation.
Hong

________________________________
From: petsc-users <petsc-users-bounces at mcs.anl.gov> on behalf of Marius Buerkle <mbuerkle at web.de>
Sent: Tuesday, October 27, 2020 8:46 AM
To: petsc-users at mcs.anl.gov <petsc-users at mcs.anl.gov>
Subject: [petsc-users] superlu_dist segfault

Hi,

When using MatMatSolve with superlu_dist I get a segmentation fault:

Malloc fails for lsum[]. at line 1075 in file /home/petsc3.14.release/arch-linux-c-debug/externalpackages/git.superlu_dist/SRC/pzgstrs.c

The matrix size is not particular big and I am using the petsc release branch and superlu_dist is v6.3.0 I think.

Best,
Marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201027/6a75347f/attachment.html>


More information about the petsc-users mailing list