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

Barry Smith bsmith at mcs.anl.gov
Tue Apr 11 12:34:39 CDT 2017


>> "Incorrect prefix usage. Specified destDir same as current
>>  PETSC_DIR/PETSC_ARCH"


  Satish,

    We need a better error message here. It should tell the user what you said below, that they need to run ./configure with a prefix before doing make install


   Barry

> On Apr 11, 2017, at 10:31 AM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> 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