David Liu
2015-10-22 18:42:56 UTC
Hi, I have a simple question that I could not find a comprehensive answer
anywhere on the website or manual, though I found examples of what I'm
trying to do. Say I want to build a version of PETSc with some external
package, such as MUMPS or SuperLU_DIST. I can do this by using flags such
as "--download-superlu_dist" when I am configuring. However, what if I
already have SuperLU_DIST, say either by installing it by myself from the
SuperLU_DIST source, or from a previous configuration of PETSc, i.e. with
downloaded files sitting in ${PETSC_DIR}/${PETSC_ARCH}/externalpackages?
How can I save the trouble of re-downloading a package that I already have?
For MPI, I can specify using "--with-mpi-dir", or I can simply have mpirun
and mpicc, etc in my path. But is there a standard way to do this for
external packages that you usually download? I vaguely recall reading
somewhere that you can simply do
--download-superlu_dist=${PATH_TO_SUPERLU_DIST}
but that notation obviously seems a little weird.
anywhere on the website or manual, though I found examples of what I'm
trying to do. Say I want to build a version of PETSc with some external
package, such as MUMPS or SuperLU_DIST. I can do this by using flags such
as "--download-superlu_dist" when I am configuring. However, what if I
already have SuperLU_DIST, say either by installing it by myself from the
SuperLU_DIST source, or from a previous configuration of PETSc, i.e. with
downloaded files sitting in ${PETSC_DIR}/${PETSC_ARCH}/externalpackages?
How can I save the trouble of re-downloading a package that I already have?
For MPI, I can specify using "--with-mpi-dir", or I can simply have mpirun
and mpicc, etc in my path. But is there a standard way to do this for
external packages that you usually download? I vaguely recall reading
somewhere that you can simply do
--download-superlu_dist=${PATH_TO_SUPERLU_DIST}
but that notation obviously seems a little weird.