multiple definition of `PETSC_ZOPEFD'

Lisandro Dalcin dalcinl at gmail.com
Fri Aug 10 14:00:13 CDT 2007


On 8/10/07, Brian Cordonnier <bcordonn at uchicago.edu> wrote:
> I ran configure with that option, and got a configuration crash.  Now,
> when I run it even without that option I get a crash too.  What should I do?

Mmm, make sure to do
$ cd petsc-dev
$ export PETSC_DIR=`pwd`
$ export PETSC_ARCH=your-arch-name
$ make pull
$ python config/configure.py --with-shared=1


>
> Brian
>
> Satish Balay wrote:
> > Brian,
> >
> > Most of these issues have come up with shared libraries.
> >
> > You can make this your default config by rerunning configure with the
> > additional option '--with-shared=1'
> >
> > Satish
> >
> > On Fri, 10 Aug 2007, Brian Cordonnier wrote:
> >
> >
> >> I think I fixed it, but I could not reproduce your error, let me know if you
> >> still get it.
> >>
> >> Brian
> >>
> >> Lisandro Dalcin wrote:
> >>
> >>> Can someone decide where to define PETSC_ZOPEFD? I would change it,
> >>> but not shure what is better.
> >>>
> >>> BTW, can someone point me a link or something to all this new Zope stuff?
> >>>
> >>> making shared libraries in
> >>> /u/dalcinl/Devel/PETSc/petsc-dev-gmresr/linux-gnu/lib
> >>> building libpetsc.so
> >>> mprint.o: In function `PetscFormatConvert':
> >>> /u/dalcinl/Devel/PETSc/petsc-dev-gmresr/src/sys/fileio/mprint.c:30:
> >>> multiple definition of `PETSC_ZOPEFD'
> >>> init.o:/u/dalcinl/Devel/PETSc/petsc-dev-gmresr/src/sys/objects/init.c:70:
> >>> first defined here
> >>>
> >>> Regards,
> >>>
> >>>
> >>>
> >>
> >
> >
>
>


-- 
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




More information about the petsc-dev mailing list