<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 11 Apr 2025, at 9:02 AM, salvador <salvador.rodriguez@upm.es> wrote:</div><br class="Apple-interchange-newline"><div>

  

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  
  <div><p data-start="187" data-end="203">Dear PETSc team,</p><p data-start="205" data-end="342">I'm trying to compile
      PETSc with <strong data-start="238" data-end="247">MUMPS</strong>
      in <strong data-start="251" data-end="266">serial mode</strong>
      (without MPI), and I’ve encountered an issue during the <code data-start="323" data-end="336">./configure</code> step.</p><p data-start="344" data-end="374">Here is the command I'm
      using:</p><p data-start="344" data-end="374">./configure \<br>
        --with-cc=gcc \<br>
        --with-cxx=g++ \<br>
        --with-fc=gfortran \<br>
        --with-mpi=0 \<br>
        --with-scalar-type=complex \<br>
        --with-petsc-arch=arch-linus-c-opt-complex \<br>
        --with-blaslapack=1 \<br>
        --with-mumps=1 \<br>
        --with-scalapack=0<br>
      <br>
    </p><p data-start="344" data-end="374">However, I get the
      following error:</p><p data-start="344" data-end="374">*********************************************************************************************<br>
                 UNABLE to CONFIGURE with GIVEN OPTIONS (see
      configure.log for details):<br>
---------------------------------------------------------------------------------------------<br>
        Package mumps requested but dependency scalapack not requested.<br>
        Perhaps you want --download-scalapack or
      --with-scalapack-dir=directory or<br>
        --with-scalapack-lib=libraries and
      --with-scalapack-include=directory<br>
*********************************************************************************************<br>
      <br>
    </p><p data-start="1248" data-end="1412">My understanding is
      that <strong data-start="1273" data-end="1304">MUMPS can be used
        in serial</strong> (according to its documentation), but PETSc
      seems to expect <strong data-start="1365" data-end="1378">ScaLAPACK</strong>
      as a dependency even without MPI.</p>
    <ul data-start="1414" data-end="1596">
      <li data-start="1414" data-end="1491"><p data-start="1416" data-end="1491">Is it possible to
          use MUMPS in PETSc <strong data-start="1453" data-end="1490">without
            MPI and without ScaLAPACK</strong>?</p>
      </li>
      <li data-start="1492" data-end="1596"><p data-start="1494" data-end="1596">If not, is there a
          way to enable serial MUMPS with PETSc?</p>
      </li>
    </ul></div></div></blockquote><div>Use --with-mumps-serial</div><div><br></div><div>Thanks,</div><div>Pierre</div><blockquote type="cite"><div><div><p data-start="1598" data-end="1632">Any guidance would be
      appreciated.</p><p data-start="1634" data-end="1661">Best regards,<br data-start="1647" data-end="1650">
      <em data-start="1650" data-end="1661">Salvador<br>
      </em></p><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div>
  </div>

</div></blockquote></div><br></body></html>