mpickpt / mana

MANA for MPI
33 stars 23 forks source link

compile failed using openmpi in Centos in x86 #47

Open shuqianwang opened 2 years ago

shuqianwang commented 2 years ago

make failed info : mpic++ -g -O2 -fno-stack-protector -fPIC -I../../include -I../../jalib -Impi-wrappers -I. -I../../src -Ilower-half -std=c++11 -c -o mana_coordinator.o mana_coordinator.cpp mana_coordinator.cpp: In function ‘void processPreSuspendClientMsgHelper(dmtcp::DmtcpCoordinator, dmtcp::CoordClient, int&, const dmtcp::DmtcpMessage&, const void)’: mana_coordinator.cpp:219:22: error: invalid conversion from ‘MPI_Comm {aka ompi_communicator_t}’ to ‘std::map<dmtcp::CoordClient, unsigned int, std::less<dmtcp::CoordClient>, dmtcp::DmtcpAlloc<std::pair<dmtcp::CoordClient* const, unsigned int> > >::mapped_type {aka unsigned int}’ [-fpermissive]

env info: Openmpi-version: mpirun (Open MPI) 4.1.0 Linux: 3.10.0-957.el7.x86_64 ibstatus: Infiniband device 'mlx5_0' port 1 status: default gid: fe80:0000:0000:0000:7cd9:a003:00cd:a498 base lid: 0x5 sm lid: 0x3 state: 4: ACTIVE phys state: 5: LinkUp rate: 100 Gb/sec (4X EDR) link_layer: InfiniBand

Infiniband device 'mlx5_1' port 1 status: default gid: fe80:0000:0000:0000:7ed9:a0ff:fecd:7978 base lid: 0x0 sm lid: 0x0 state: 4: ACTIVE phys state: 5: LinkUp rate: 100 Gb/sec (4X EDR) link_layer: Ethernet

Uuq114 commented 2 years ago

Same error in make -j mana, have you solved this problem yet?

gc00 commented 2 years ago

@Uuq114, Sorry, but MANA is not yet working with Open MPI. We know what is causing the bug. Open MPI has a different representation of the communicator than MPICH. If someone has expertise in computer systems or lower level systems calls, we could guide them to do this work. But right now, we are concentrating on improving runtime performance and extending our support to some less commonly used MPI calls.