[petsc-users] Two simple questions on building
Satish Balay
balay at mcs.anl.gov
Wed Mar 16 09:25:40 CDT 2022
On Wed, 16 Mar 2022, Matthew Knepley wrote:
> > Question 2) In the case PETSc, is there any problem if run “make” and
> > “make install” without specifying PETSC_ARCH?
> >
>
> It will choose an ARCH if you do not specify one.
With a prefix build - think of PETSC_ARCH as an intermediate build location - before the final install at the prefix location.
And after 'make install' one should point PETSC_DIR to this prefix location [if using PETSc formatted makefiles] - and PETSC_ARCH is not used (or required) anymore.
Satish
More information about the petsc-users
mailing list