dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #07346
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!
http://www.flickr.com/gift/
Follow ups