[firedrake] Regarding installation of firedrake

Lawrence Mitchell lawrence.mitchell at imperial.ac.uk
Tue Feb 25 09:39:34 GMT 2014


Dear Sarosh,

On 25/02/14 06:55, Sarosh Quraishi wrote:> Dear Sir

...

>
fldmain.cpp:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[MPI::Op::Init(void
> (*)(void const*, void*, int, MPI::Datatype const&), bool)]+0x45):
> undefined reference to `ompi_op_set_cxx_callback'


this looks like a symptom of having both openmpi and mpich installed on
your system, with the include files pointing to openmpi header files but
the linker pointing at mpich's libmpi.

What do

$ mpicxx -show

and

$ readlink -f /usr/lib/libmpi_cxx.so

print?

I suspect that there will be a mismatch here.

Can you ensure that both the compiler wrappers and the mpiexec run
script point to the same installation.  You can do this with:

$ update-alternatives --config mpi

and

$ update-alternatives --config mpirun

you'll then need to reconfigure and make clean and make again.

Hopefully this will work.

Cheers,

Lawrence





More information about the firedrake mailing list