[petsc-users] Some change in 3.3 about --with-x?

Jed Brown jedbrown at mcs.anl.gov
Wed Nov 7 07:45:16 CST 2012


1. Don't use both --with-hypre and --download-hypre. You probably only want
the latter.

2. If you want to use X, you have to install it. PETSc can't install it for
you so there is no --download-x. Look for the development headers in your
package manager.


On Wed, Nov 7, 2012 at 7:41 AM, w_ang_temp <w_ang_temp at 163.com> wrote:

> Hello,
>     I get a problem when configuring about the command "--with-x=1" in
> version 3.3.
> The command "./configure --with-mpi-dir=/home/ubu/soft/mpich2/
> --download-f-blas-lapack=1 --with-x=1 --with-hypre=1 --download-hypre=1"
> is ok in version 3.2 but makes an error in 3.3:"Could not locate X
> *development* package. Perhaps its not installed".
> I do not find the detail about the change in "Documentation/Changes". Do I
> need "--with-x=1 --download-x=1"?
> The configure.log:
>
> *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
>
> -------------------------------------------------------------------------------
> Could not locate X *development* package. Perhaps its not installed
>
> *******************************************************************************
>   File "./config/configure.py", line 311, in petsc_configure
>     framework.configure(out = sys.stdout)
>   File
> "/home/ubu/soft/petsc/petsc-3.3-p4/config/BuildSystem/config/framework.py",
> line 933, in configure
>     child.configure()
>   File "/home/ubu/soft/petsc/petsc-3.3-p4/config/PETSc/packages/X.py",
> line 263, in configure
>     self.executeTest(self.configureLibrary)
>   File "/home/ubu/soft/petsc/petsc-3.3-p4/config/
> BuildSystem/config/base.py", line 115, in executeTest
>     ret = apply(test, args,kargs)
>   File "/home/ubu/soft/petsc/petsc-3.3-p4/config/PETSc/packages/X.py",
> line 247, in configureLibrary
>     raise RuntimeError("Could not locate X *development* package. Perhaps
> its not installed")
>
> Thanks.
>                                                                   Jim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121107/e3eee3cc/attachment.html>


More information about the petsc-users mailing list