← Back to team overview

dolfin team mailing list archive

Re: _PETSC_COMM_WORLD and _MPI_COMM_WORLD

 

On Thu, 2006-06-15 at 17:30 +0200, Anders Logg wrote:
> Strange... works for me. I checked it before committing.
> 
> Does it work if you change in src/lib/Makefile.am on the line
> 
> libdolfin_la_LIBADD  = @DOLFIN_LTLIBOBJS@ @DOLFIN_EXT_LIBS@
> 
> Remove @DOLFIN_EXT_LIBS@ and then run scripts/preconfigure and
> configure.
> 
> Does it work then?
> 

Yes, then it works fine.

Garth

> /Anders
> 
> On Thu, Jun 15, 2006 at 05:02:46PM +0200, Garth N. Wells wrote:
> > Looks like something got messed up with the changes (made today) to how
> > libraries are linked. I can't link anything, and get the error
> > 
> > . . . . /libdolfin.so: undefined reference to `MAIN__'
> > collect2: ld returned 1 exit status
> > make: *** [dolfin-poisson] Error 1
> > 
> > 
> > Garth
> > 
> > On Thu, 2006-06-15 at 15:39 +0200, Beni Stamm wrote:
> > > Hello,
> > > I've just successfully compiled dolfin on my mac osx 10.5
> > > (intel-based). everything worked fine.
> > > I also did successfully "make demo" but while executing for example
> > > "dolfin-poisson" the 
> > > following error occurs:
> > > 
> > > 
> > > iacspc79:/Users/stamm/Documents/dolfin-0.6.1/src/demo/pde/poisson
> > > root# ./dolfin-poisson 
> > > dyld: Symbol not found: _PETSC_COMM_WORLD
> > >   Referenced from: /usr/local/lib/libdolfin.0.dylib
> > >   Expected in: flat namespace
> > > 
> > > 
> > > Trace/BPT trap
> > > 
> > > 
> > > Is there a conflict between _PETSC_COMM_WORLD  and  _MPI_COMM_WORLD?
> > > Do I have
> > > to change something in my petsc/mpi installation? Does anyone knows
> > > how to handle this
> > > problem?
> > > 
> > > 
> > > thanks for your answer
> > > 
> > > 
> > > benjamin stamm
> > > 
> > > 
> > > p.s.  I had to downgrade the gcc compiler from 4.2 to 4.0.1 as the 4.2
> > > seems to be more strict than the older versions
> > > (I had some errors during compilation).
> > > 
> > > 
> > > 
> > > 
> > > _________________________________________________________
> > > 
> > > 
> > > Benjamin Stamm
> > > Modeling and Scientific Computing
> > > CMCS-IACS-EPFL                      
> > > Station 8                                   
> > > CH-1015 Lausanne                   
> > > Switzerland                              
> > > 
> > > 
> > > Tel: +41 21 693 55 09, 
> > > http://iacs.epfl.ch/~stamm/
> > > _________________________________________________________
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > DOLFIN-dev mailing list
> > > DOLFIN-dev@xxxxxxxxxx
> > > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> > 
> > 
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev




References