[petsc-dev] error with build

Srinath Vadlamani srinath at txcorp.com
Mon Nov 15 15:00:19 CST 2010


How does one configure petsc-dev to build petsc4py-dev?
I cloned petsc4py-dev but it needs my petsc-dev complex install to have
petsc4py symbols?

<>Srinath

2010/11/15 Satish Balay <balay at mcs.anl.gov>

> [original e-mail didnt make it to the list due to the attached
> configure.log. Huge attachments are prohibited on the mailing lists]
>
>
> Using configure Options: --with-petsc-arch=real-par-debug
> --with-scalar-type=real --with-debugging=yes --with-debugger=totalview
> --download-superlu_dist=1 --download-mumps=1 --download-spooles=1
> --with-shared=1 --download-blacs=1 --download-parmetis=1 --download-szip=1
> --download-scalapack=1 --download-petsc4py --download-mpi4py
> --with-shared-libraries -prefix=/Users/srinath/software/petsc-dev-real-par
>
>
> petsc4py listed in petsc4py.py is
> http://petsc4py.googlecode.com/files/petsc4py-1.1.1.tar.gz Perhaps you
> have to use petsc-4py-dev directly to get this working?
>
> Lisandro will know..
>
> Satish
>
> On Mon, 15 Nov 2010, Srinath Vadlamani wrote:
>
> > In file included from src/PETSc.c:3:
> > src/petsc4py.PETSc.c: In function
> > ‘__pyx_pf_8petsc4py_5PETSc_2IS_getBlockSize’:
> > src/petsc4py.PETSc.c:49179: warning: implicit declaration of function
> > ‘ISBlock’
> > src/petsc4py.PETSc.c: In function
> ‘__pyx_pf_8petsc4py_5PETSc_2IS_getInfo’:
> > src/petsc4py.PETSc.c:51132: warning: implicit declaration of function
> > ‘ISStride’
> > src/petsc4py.PETSc.c: In function
> ‘__pyx_pf_8petsc4py_5PETSc_3Mat_zeroRows’:
> > src/petsc4py.PETSc.c:75725: error: too few arguments to function
> > ‘MatZeroRowsIS’
> > src/petsc4py.PETSc.c:75750: error: too few arguments to function
> > ‘MatZeroRows’
> > src/petsc4py.PETSc.c: In function
> > ‘__pyx_pf_8petsc4py_5PETSc_3Mat_zeroRowsLocal’:
> > src/petsc4py.PETSc.c:75872: error: too few arguments to function
> > ‘MatZeroRowsLocalIS’
> > src/petsc4py.PETSc.c:75897: error: too few arguments to function
> > ‘MatZeroRowsLocal’
> > src/petsc4py.PETSc.c: In function
> > ‘__pyx_pf_8petsc4py_5PETSc_3KSP_setConvergenceTest’:
> > src/petsc4py.PETSc.c:87471: error: ‘KSP_NORM_NO’ undeclared (first use in
> > this function)
> > src/petsc4py.PETSc.c:87471: error: (Each undeclared identifier is
> reported
> > only once
> > src/petsc4py.PETSc.c:87471: error: for each function it appears in.)
> > src/petsc4py.PETSc.c: In function
> > ‘__pyx_pf_8petsc4py_5PETSc_3KSP_getNormType’:
> > src/petsc4py.PETSc.c:88847: error: ‘KSP_NORM_NO’ undeclared (first use in
> > this function)
> > src/petsc4py.PETSc.c: In function ‘initPETSc’:
> > src/petsc4py.PETSc.c:131697: error: ‘KSP_NORM_NO’ undeclared (first use
> in
> > this function)
> > error: command 'mpicc' failed with exit status 1
> > make[1]: *** [petsc4py] Error 1
> >
> >
> >
> >
>



-- 
=========================
Srinath Vadlamani, PhD.
Tech-X Corp. Research Scientist
5621 Arapahoe Ave. Suite A
Boulder, CO 80303
303-996-2034
=========================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101115/43203207/attachment.html>


More information about the petsc-dev mailing list