I have passed that error using --disable-shared option for the configure.

But, now I have the following error in the make of pydolfin:
 mpic++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" 
-DPACKAGE_VERSION=\"0.7.2\" "-DPACKAGE_STRING=\"DOLFIN 0.7.2\"" 
-DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\"; -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= -I. 
-I/usr/local/include/python2.5 -I../../src/kernel/common 
-I../../src/kernel/elements -I../../src/kernel/fem -I../../src/kernel/function 
-I../../src/kernel/graph -I../../src/kernel/io -I../../src/kernel/la 
-I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh 
-I../../src/kernel/mf -I../../src/kernel/nls -I../../src/kernel/ode 
-I../../src/kernel/pde -I../../src/kernel/quadrature 
-I../../src/kernel/parameter -I../../src/kernel/log -I../../src/kernel/plot 
-I/usr/local/include/boost-1_35 -I/usr/local/include/libxml2 
-I/usr/include/glib-2.0
 -I/usr/lib/glib-2.0/include -pthread -I/usr/local/include 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_GTS_H=1 
-I/usr/local/include -I../../src/pydolfin -I/usr/local/include/python2.5 
-I/usr/local/lib/python2.5/site-packages/numpy/core/include -DHAVE_MPI_H=1 
-DMPICH_IGNORE_CXX_SEEK -DNDEBUG -g -O2 -fno-strict-aliasing -Wall -Werror 
-ansi -Wno-uninitialized -MT _dolfin_la-dolfin_wrap.lo -MD -MP -MF 
.deps/_dolfin_la-dolfin_wrap.Tpo -c dolfin_wrap.cpp -o _dolfin_la-dolfin_wrap.o
dolfin_wrap.cpp: In function `PyObject* _wrap_cpp_assemble__SWIG_0(PyObject*, 
PyObject*)':
dolfin_wrap.cpp:70169: error: no matching function for call to 
`assemble(dolfin::GenericTensor&, const dolfin::Form&, dolfin::Mesh&)'
../../src/kernel/fem/dolfin/assemble.h:30: note: candidates are: void 
dolfin::assemble(dolfin::GenericTensor&, dolfin::Form&, dolfin::Mesh&)
../../src/kernel/fem/dolfin/assemble.h:34: note:                 void 
dolfin::assemble(dolfin::GenericTensor&, dolfin::Form&, dolfin::Mesh&, const 
dolfin::SubDomain&)
../../src/kernel/fem/dolfin/assemble.h:40: note:                 void 
dolfin::assemble(dolfin::GenericTensor&, dolfin::Form&, dolfin::Mesh&, const 
dolfin::MeshFunction<dolfin::uint>&, const dolfin::MeshFunction<dolfin::uint>&, 
const dolfin::MeshFunction<dolfin::uint>&)
../../src/kernel/fem/dolfin/assemble.h:43: note:                 dolfin::real 
dolfin::assemble(dolfin::Form&, dolfin::Mesh&)
../../src/kernel/fem/dolfin/assemble.h:47: note:                 dolfin::real 
dolfin::assemble(dolfin::Form&, dolfin::Mesh&, const dolfin::SubDomain&)
.
.
.
dolfin_wrap.cpp: In function `PyObject* 
_wrap_Assembler_assemble__SWIG_10(PyObject*, PyObject*)':
dolfin_wrap.cpp:75526: error: no matching function for call to 
`dolfin::Assembler::assemble(dolfin::GenericTensor&, const ufc::form&, const 
dolfin::Array<dolfin::Function*>&, const dolfin::MeshFunction<dolfin::uint>*, 
const dolfin::MeshFunction<dolfin::uint>*, const 
dolfin::MeshFunction<dolfin::uint>*)'
../../src/kernel/fem/dolfin/Assembler.h:43: note: candidates are: void 
dolfin::Assembler::assemble(dolfin::GenericTensor&, dolfin::Form&, bool)
../../src/kernel/fem/dolfin/Assembler.h:47: note:                 void 
dolfin::Assembler::assemble(dolfin::GenericTensor&, dolfin::Form&, const 
dolfin::SubDomain&, bool)
../../src/kernel/fem/dolfin/Assembler.h:53: note:                 void 
dolfin::Assembler::assemble(dolfin::GenericTensor&, dolfin::Form&, const 
dolfin::MeshFunction<dolfin::uint>&, const dolfin::MeshFunction<dolfin::uint>&, 
const dolfin::MeshFunction<dolfin::uint>&, bool)
../../src/kernel/fem/dolfin/Assembler.h:56: note:                 dolfin::real 
dolfin::Assembler::assemble(dolfin::Form&)
../../src/kernel/fem/dolfin/Assembler.h:59: note:                 dolfin::real 
dolfin::Assembler::assemble(dolfin::Form&, const dolfin::SubDomain&)
../../src/kernel/fem/dolfin/Assembler.h:65: note:                 dolfin::real 
dolfin::Assembler::assemble(dolfin::Form&, const 
dolfin::MeshFunction<dolfin::uint>&, const dolfin::MeshFunction<dolfin::uint>&, 
const dolfin::MeshFunction<dolfin::uint>&)
../../src/kernel/fem/dolfin/Assembler.h:80: note:                 void 
dolfin::Assembler::assemble(dolfin::GenericTensor&, const ufc::form&, const 
dolfin::Array<dolfin::Function*>&, const dolfin::DofMapSet&, const 
dolfin::MeshFunction<dolfin::uint>*, const dolfin::MeshFunction<dolfin::uint>*, 
const dolfin::MeshFunction<dolfin::uint>*, bool)
mpic++: No such file or directory
make[1]: *** [_dolfin_la-dolfin_wrap.lo] Error 1
make[1]: Leaving directory `/home/rfarahi/math/dolfin-0.7.2/src/pydolfin'

Any suggestions?


----- Forwarded Message ----
From: Reza Farrahi Moghaddam <[EMAIL PROTECTED]>
To: dolfin mailing list <[email protected]>
Sent: Thursday, April 10, 2008 9:16:37 AM
Subject: Error with mpi


I am trying to install DOLFIN on a unic system. 
 
This is the configure command:
./configure --enable-petsc --enable-pydolfin 
 
When executing 'make', there is an error:
This is the copy:
mpic++ -shared -nostdlib /usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crti.o 
/usr/lib/gcc/i386-redhat-linux/3.4.6/crtbeginS.o  .libs/ConstantFunction.o 
.libs/DiscreteFunction.o .libs/Function.o .libs/UserFunction.o 
-Wl,--whole-archive /usr/lib/liblammpi++.a /usr/lib/liblamf77mpi.a 
/usr/lib/libmpi.a /usr/lib/liblam.a -Wl,--no-whole-archive  
-L/usr/local/lib/python2.5/config -ldl -L/usr/lib/gcc/i386-redhat-linux/3.4.6 
-L/usr/lib/gcc/i386-redhat-linux/3.4.6/../../.. -llammpio -laio -lutil -lstdc++ 
-lm -lpthread -lc -lgcc_s /usr/lib/gcc/i386-redhat-linux/3.4.6/crtendS.o 
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../crtn.o  -Wl,-soname 
-Wl,libdolfin-function.so.0 -o .libs/libdolfin-function.so.0.0.0
/usr/lib/libmpi.a(pmpil_trace_f.o)(.text+0x0): In function `mpil_trace_off_':
: multiple definition of `mpil_trace_off_'
/usr/lib/liblamf77mpi.a(mpil_trace_f.o)(.text+0x0): first defined here
/usr/lib/libmpi.a(pmpil_trace_f.o)(.text+0x12): In function `mpil_trace_on_':
: multiple definition of `mpil_trace_on_'
/usr/lib/liblamf77mpi.a(mpil_trace_f.o)(.text+0x12): first defined here
collect2: ld returned 1 exit status
mpic++: No such file or directory
make[4]: *** [libdolfin-function.la] Error 1
make[4]: Leaving directory `/home/rfarahi/math/dolfin-0.7.2/src/kernel/function'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/rfarahi/math/dolfin-0.7.2/src/kernel/function'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rfarahi/math/dolfin-0.7.2/src/kernel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rfarahi/math/dolfin-0.7.2/src'
make: *** [all-recursive] Error 1

 
Any suggestion?



Looking for the perfect gift? Give the gift of Flickr!


      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! 
Answers and share what you know at http://ca.answers.yahoo.com
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to