<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>A deprecated option won't cause segfault. From <a href="https://www.mcs.anl.gov/petsc/petsc-current/src/dm/label/examples/tutorials/ex1f90.F90.html">https://www.mcs.anl.gov/petsc/petsc-current/src/dm/label/examples/tutorials/ex1f90.F90.html</a>, it seems
you missed the first <span style="color:rgb(0,0,0)">PETSC_NULL_OPTIONS.</span></div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">--Junchao Zhang</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jan 8, 2020 at 4:02 PM Anthony Paul Haas <<a href="mailto:aph@email.arizona.edu">aph@email.arizona.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div>Hello,</div>
<div><br>
</div>
<div>I am using Petsc 3.7.6.0. with Fortran code and I am getting a segmentation violation for the following line:</div>
<div><br>
</div>
<div>call PetscOptionsGetBool(PETSC_NULL_CHARACTER,"-use_mumps_lu",flg_mumps_lu,flg,self%ierr_ps)</div>
<div><br>
</div>
<div>in which:</div>
<div>flg_mumps_lu and flg are defined as PetscBool and <br>
</div>
<div>flg_mumps_lu = PETSC_TRUE</div>
<div><br>
</div>
<div>Is the option -use_mumps_lu deprecated?</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Anthony<br>
</div>
<div><br>
</div>
</div>
</blockquote>
</div>
</body>
</html>