← Back to team overview

dolfin team mailing list archive

Warning -> build error with mpich on 64-bit

 

When trying to compile dolfin with mpich on 64-bit, I get the following error:
cc1plus: warnings being treated as errors
/usr/lib/mpich-shmem/include/mpi2c++/pcomm.h:59: warning: 'class PMPI::Comm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/pintracomm.h:30: warning: 'class PMPI::Intracomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/ptopology.h:31: warning: 'class PMPI::Cartcomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/ptopology.h:80: warning: 'class PMPI::Graphcomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/pintercomm.h:31: warning: 'class PMPI::Intercomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/comm.h:106: warning: 'class MPI::Comm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/intracomm.h:30: warning: 'class MPI::Intracomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/topology.h:31: warning: 'class MPI::Cartcomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/topology.h:112: warning: 'class MPI::Graphcomm' has virtual functions but non-virtual destructor /usr/lib/mpich-shmem/include/mpi2c++/intercomm.h:31: warning: 'class MPI::Intercomm' has virtual functions but non-virtual destructor
scons: *** [dolfin/main/MPI.os] Error 1

See http://fenics.org:8010/dolfin/linux_64/builds/22/step-compile_3/0 for further details.

Should dolfin support this, or should we stick to openmpi solely?

ilmar


Follow ups