<div dir="ltr"><div>PS: In cases 1-4, configure keeps finding the precompiled package of mumps, ver 5.1.2</div><div><br></div><div>    $ dpkg -l | grep mumps<br>    ii  libmumps-5.1.2:amd64                          5.1.2-4                             amd64        Direct linear systems solver - parallel shared libraries<br>    ii  libmumps-dev:amd64                            5.1.2-4                             amd64        Direct linear systems solver - parallel development files<br>    ii  libmumps-ptscotch-5.1.2:amd64                 5.1.2-4                             amd64        Direct linear systems solver - PTScotch-version shared libraries<br>    ii  libmumps-ptscotch-dev:amd64                   5.1.2-4                             amd64        Direct linear systems solver - PTScotch-version development files<br>    ii  libmumps-scotch-5.1.2:amd64                   5.1.2-4                             amd64        Direct linear systems solver - Scotch-version shared libraries<br>    ii  libmumps-scotch-dev:amd64                     5.1.2-4                             amd64        Direct linear systems solver - Scotch-version development files<br>    ii  libmumps-seq-5.1.2:amd64                      5.1.2-4                             amd64        Direct linear systems solver - non-parallel shared libraries<br>    ii  libmumps-seq-dev:amd64                        5.1.2-4                             amd64        Direct linear systems solver - non-parallel development files</div><div><br></div><div>   and output of configure:</div><div><br></div><div>    ...<br></div><div>    MUMPS:<br>      Version:  5.1.2<br>      Library:  -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord<br>    scalapack:<br>      Library:  -lscalapack</div><div>   ...</div><div><br></div><div>In case 5, I get an error</div><div><br></div><div>    ===============================================================================<br>                 Configuring PETSc to compile on your system<br>    ===============================================================================<br>    TESTING: configureLibrary from config.packages.MUMPS(config/BuildSystem/config/package.py:868)                                   *******************************************************************************<br>             UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>    -------------------------------------------------------------------------------<br>    Bad option: --with-mumps-dir=/home/santiago/Documents/installers/petsc/petsc-3.13.0/arch-linux2-c-opt/externalpackages/petsc-pkg-mumps-d1a5c931b762<br>    /home/santiago/Documents/installers/petsc/petsc-3.13.0/arch-linux2-c-opt/externalpackages is reserved for --download-package scratch space.<br>    Do not install software in this location nor use software in this directory.<br>    *******************************************************************************<br><br><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 25, 2020 at 9:17 AM <<a href="mailto:san.temporal@gmail.com">san.temporal@gmail.com</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>Hi all,</div><div><br></div><div>While compiling 3.13.0 I have previously run</div><div><br></div><div>$ ./configure ... --download-mumps --download-scalapack ...</div><div><br></div><div>and now I have</div><div><br></div><div>$ ls arch-linux2-c-opt/externalpackages/<br>fblaslapack-3.4.2/  petsc-pkg-fblaslapack-e8a03f57d64c/  petsc-pkg-mumps-d1a5c931b762/  petsc-pkg-scalapack-3ba8f741b828/</div><div><br></div><div>Are there any flags for configure that let me reuse the compiled versions I have?</div><div>I did not try separate --with-mumps-include and --with-mumps-lib, as I think there should be a more rational approach</div><div>
<div>All the combinations I tried failed (<loc> stands for the current dir):<br></div><br>1. <br>--with-packages-search-path=<loc> --with-mumps<br>(what I would like best, as it would allow for a single search path for all external packages already compiled)<br><br>2. <br>--with-packages-search-path=<loc>/arch-linux2-c-opt --with-mumps<br><br>3. <br>--with-packages-search-path=<loc>/arch-linux2-c-opt/externalpackages --with-mumps<br><br>4. <br>--with-packages-search-path=<loc>/arch-linux2-c-opt/externalpackages/petsc-pkg-mumps-d1a5c931b762 --with-mumps<br><br>5. <br>--with-packages-search-path=<loc>/arch-linux2-c-opt/externalpackages/petsc-pkg-mumps-d1a5c931b762 --with-mumps-dir=<loc>/arch-linux2-c-opt/externalpackages/petsc-pkg-mumps-d1a5c931b762 --with-mumps<br><br>Note that the directory is well written. If that weren't the case, --with-packages-search-path would simply not find it, but --with-mumps-dir would complain.<br><br></div><div>Thanks in advance,</div><div>Santiago</div><div><br></div><div><br></div></div>
</blockquote></div>