configuring with --prefix

Matthew Knepley knepley at gmail.com
Fri Mar 21 17:32:15 CDT 2008


On Fri, Mar 21, 2008 at 4:53 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> I got this error at configuration time:
>
>  You do not have write access to create install directory given with
>  --prefix=/usr/local/petsc/dev/linux-gnu perhaps use --with-sudo=sudo
>  also
>
>  Then I've added, the sudo stuff and worked. However, after the
>  configuation, the dir was not created. So the question is: in which
>  scenario PETSc does need access to the install dir at configuration
>  time?

PETSc does not NEED access until install time, however it is checking because
people often screw this up.

  Matt

>  --
>  Lisandro Dalcín
>  ---------------
>  Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
>  Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
>  Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
>  PTLC - Güemes 3450, (3000) Santa Fe, Argentina
>  Tel/Fax: +54-(0)342-451.1594
>
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-dev mailing list