[petsc-users] Reuse compiled packages

san.temporal at gmail.com san.temporal at gmail.com
Sat Apr 25 07:17:40 CDT 2020


Hi all,

While compiling 3.13.0 I have previously run

$ ./configure ... --download-mumps --download-scalapack ...

and now I have

$ ls arch-linux2-c-opt/externalpackages/
fblaslapack-3.4.2/  petsc-pkg-fblaslapack-e8a03f57d64c/
 petsc-pkg-mumps-d1a5c931b762/  petsc-pkg-scalapack-3ba8f741b828/

Are there any flags for configure that let me reuse the compiled versions I
have?
I did not try separate --with-mumps-include and --with-mumps-lib, as I
think there should be a more rational approach
All the combinations I tried failed (<loc> stands for the current dir):

1.
--with-packages-search-path=<loc> --with-mumps
(what I would like best, as it would allow for a single search path for all
external packages already compiled)

2.
--with-packages-search-path=<loc>/arch-linux2-c-opt --with-mumps

3.
--with-packages-search-path=<loc>/arch-linux2-c-opt/externalpackages
--with-mumps

4.
--with-packages-search-path=<loc>/arch-linux2-c-opt/externalpackages/petsc-pkg-mumps-d1a5c931b762
--with-mumps

5.
--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

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.

Thanks in advance,
Santiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200425/05a65606/attachment.html>


More information about the petsc-users mailing list