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

Reply via email to