dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02742
Re: _PETSC_COMM_WORLD and _MPI_COMM_WORLD
In src/lib/Makefile.am on the below mentioned line there is already
libdolfin_la_LIBADD = @DOLFIN_LTLIBOBJS@
(without @DOLFIN_EXT_LIBS@)
So, I just added the @DOLFIN_EXT_LIBS@ to check the other
possibility. but while
running ./scripts/preconfigure the following error occurs
iacspc79:/Users/stamm/Documents/dolfin-0.6.1 stamm# ./scripts/
preconfigure
This script must be run from the top level directory.
Although I running this command from the dolfin-0.6.1-level.
And I tested with only (without scripts/preconfigure):
configure
make
make install
make demo
and it doesn't solve the problem.
ben
On Jun 15, 2006, at 5:30 PM, 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?
/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
_________________________________________________________
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/
_________________________________________________________
Follow ups
References