[petsc-users] status of "make install" ?

Satish Balay balay at mcs.anl.gov
Tue Apr 11 10:31:05 CDT 2017


It supports 2 modes:

1. inplace [default]:

./configure && make

2. prefix

./configure --prefix=/prefix/location && make && make install


So to use 'make install' - you need to run configure with the correct prefix option.

Satish

On Tue, 11 Apr 2017, Joachim Wuttke wrote:

> Does PETSc support the usual installation command sequence
> configure; make; make install?
> 
> The installation web page does not mention "make install".
> 
> The Makefile generated by configure does contain a target "install".
> However, "make install" does not work; it yields the error message
>   "Incorrect prefix usage. Specified destDir same as current
>   PETSC_DIR/PETSC_ARCH"
> 
> 



More information about the petsc-users mailing list