xiaoyeli / superlu

Supernodal sparse direct solver. https://portal.nersc.gov/project/sparse/superlu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exit(1) and fprintf in ILU

LiuZhexuan opened this issue · comments

In ilu_dpivotL, if singularity is detected, exit(1) will be triggered and cause the whole program be terminated. This is inconsistent with what happend in LU. In dpivotL, singularity will only cause LU return with some error info.

The way dpivotL do is more reasonable since superLU user may want to recover from singularity (e.g. add diagnoal matrix to original matix).

Fixed this behavior; not to exit(1).

@LiuZhexuan Can you please check the master branch, if this fixes your issues? After you confirm, we can close this.

@LiuZhexuan Can you please check the master branch, if this fixes your issues? After you confirm, we can close this.

Thanks, I pulled master branch and confirm this issue has been fixed. Please close.

@xiaoyeli Please close this issue as Liu Zhexiuan confirmed it is fixed.