Error using openmpi mpirun in Fedora 40

Hi,

for educational purposes, I run a 3-node cluster with openmpi. My hosts file is
mce-eseiaat.com slots=8
worker1.mce-eseiaat.com slots=4
worker2.mce-eseiaat.com slots=4

When I try run a program in parallel with

~$ mpirun -np 16 --hostfile ~/hosts ./mpi02

I get the following errors:

worker2.mce-eseiaat.com:rank15:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker2.mce-eseiaat.com:rank12:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker2.mce-eseiaat.com:rank13:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank11:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank10:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank8:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank9:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

worker2.mce-eseiaat.com:rank14:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=36687 UDP=54614) on a different subnet 195.201.223.246/32

Process 1 : Hello,World!
Process 3 : Hello,World!
Process 2 : Hello,World!
Process 5 : Hello,World!
Process 4 : Hello,World!
Process 6 : Hello,World!
Process 7 : Hello,World!
mce-eseiaat.com:rank0:  Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=88.198.157.233/32 TCP=49005 UDP=54110) on a different subnet 88.198.157.233/32

[worker2:02568] *** Process received signal ***
[worker2:02568] Signal: Aborted (6)
[worker2:02568] Signal code:  (-6)
[worker1:01853] *** Process received signal ***
[worker1:01853] Signal: Aborted (6)
[worker1:01853] Signal code:  (-6)
[worker2:02565] *** Process received signal ***
[worker2:02565] Signal: Aborted (6)
[worker2:02565] Signal code:  (-6)
[worker1:01852] *** Process received signal ***
[worker1:01852] Signal: Aborted (6)
[worker1:01852] Signal code:  (-6)
[worker2:02566] *** Process received signal ***
[worker2:02566] Signal: Aborted (6)
[worker2:02566] Signal code:  (-6)
[worker1:01850] *** Process received signal ***
[worker1:01850] Signal: Aborted (6)
[worker1:01850] Signal code:  (-6)
[worker2:02568] [ 0] /lib64/libc.so.6(+0x40710)[0x7f97a4c53710]
[worker2:02568] [ 1] [worker1:01852] [ 0] /lib64/libc.so.6(+0x40710)[0x7f750cc53710]
[worker1:01852] [ 1] /lib64/libc.so.6(+0x98144)[0x7f750ccab144]
[worker1:01852] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7f750cc5365e]
[worker1:01852] [ 3] [worker2:02565] [ 0] /lib64/libc.so.6(+0x40710)[0x7efd60c53710]
[worker2:02565] [ 1] [worker1:01853] [ 0] /lib64/libc.so.6(+0x40710)[0x7f0293a53710]
[worker1:01853] [ 1] /lib64/libc.so.6(+0x98144)[0x7f0293aab144]
[worker2:02566] [ 0] [worker1:01850] [ 0] /lib64/libc.so.6(+0x40710)[0x7f4b2f453710]
[worker1:01850] [ 1] /lib64/libc.so.6(+0x98144)[0x7f97a4cab144]
[worker2:02568] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7f97a4c5365e]
[worker2:02568] /lib64/libc.so.6(abort+0xdf)[0x7f750cc3b902]
[worker1:01852] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7f750c00fc7f]
[worker1:01852] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7f750c64f9b2]
[worker1:01852] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7f750c674d57]
[worker1:01852] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7f750c6770e1]
[worker1:01852] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7f750c68d2c1]
[worker1:01852] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7f750c61ff1e]
[worker1:01852] [10] /lib64/libfabric.so.1(+0x60f303)[0x7f750c60f303]
[worker1:01852] [11] /lib64/libfabric.so.1(+0x62b504)[0x7f750c62b504]
[worker1:01852] [12] /lib64/libc.so.6(+0x40710)[0x7f9183253710]
[worker2:02566] [ 1] [worker1:01853] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7f0293a5365e]
[worker1:01853] [ 3] /lib64/libc.so.6(+0x98144)[0x7efd60cab144]
[worker2:02565] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7efd60c5365e]
[worker2:02565] [ 3] /lib64/libc.so.6(+0x98144)[0x7f4b2f4ab144]
[worker1:01850] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7f4b2f45365e]
[ 3] /lib64/libc.so.6(abort+0xdf)[0x7f97a4c3b902]
[worker2:02568] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7f97a400fc7f]
[worker2:02568] [ 5] [worker1:01850] [ 3] /lib64/libc.so.6(abort+0xdf)[0x7f4b2f43b902]
/lib64/libc.so.6(+0x98144)[0x7f91832ab144]
[worker2:02566] [ 2] /lib64/libc.so.6(abort+0xdf)[0x7f0293a3b902]
[worker1:01853] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7f029300fc7f]
[worker1:01853] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7f029364f9b2]
[worker1:01853] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7f0293674d57]
[worker1:01853] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7f02936770e1]
[worker1:01853] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7f029368d2c1]
[worker1:01853] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7f029361ff1e]
[worker1:01853] [10] /lib64/libfabric.so.1(+0x60f303)[0x7f029360f303]
[worker1:01853] [11] /lib64/libfabric.so.1(+0x62b504)[0x7f029362b504]
[worker1:01853] [12] [worker1:01850] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7f4b2ea0fc7f]
[worker1:01850] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7f4b2f04f9b2]
[worker1:01850] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7f4b2f074d57]
[worker1:01850] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7f4b2f0770e1]
[worker1:01850] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7f4b2f08d2c1]
[worker1:01850] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7f4b2f01ff1e]
[worker1:01850] [10] /lib64/libfabric.so.1(+0x60f303)[0x7f4b2f00f303]
[worker1:01850] [11] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7f750cfebcde]
[worker1:01852] [13] /lib64/libfabric.so.1(+0x64f9b2)[0x7f97a464f9b2]
[worker2:02568] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7f97a4674d57]
[worker2:02568] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7f97a46770e1]
[worker2:02568] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7f97a468d2c1]
[worker2:02568] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7f97a461ff1e]
[worker2:02568] [10] /lib64/libfabric.so.1(+0x60f303)[0x7f97a460f303]
[worker2:02568] [11] /lib64/libfabric.so.1(+0x62b504)[0x7f97a462b504]
[worker2:02568] [12] /lib64/libfabric.so.1(+0x62b504)[0x7f4b2f02b504]
[worker1:01850] [12] /lib64/libc.so.6(abort+0xdf)[0x7efd60c3b902]
[worker2:02565] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7efd6020fc7f]
[worker2:02565] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7efd6084f9b2]
[worker2:02565] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7efd60874d57]
[worker2:02565] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7efd608770e1]
[worker2:02565] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7efd6088d2c1]
[worker2:02565] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7efd6081ff1e]
[worker2:02565] [10] /lib64/libfabric.so.1(+0x60f303)[0x7efd6080f303]
[worker2:02565] [11] /lib64/libfabric.so.1(+0x62b504)[0x7efd6082b504]
[worker2:02565] [12] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7f750d078158]
[worker1:01852] [14] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7f97a4febcde]
[worker2:02568] [13] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7f0293debcde]
[worker1:01853] [13] /lib64/libc.so.6(gsignal+0x1e)[0x7f918325365e]
[worker2:02566] [ 3] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7f4b2f7ebcde]
[worker1:01850] [13] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7efd60febcde]
[worker2:02565] [13] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7f0293e78158]
[worker1:01853] [14] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7f97a5078158]
[worker2:02568] [14] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7f4b2f878158]
[worker1:01850] [14] /lib64/libc.so.6(abort+0xdf)[0x7f918323b902]
[worker2:02566] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7f918260fc7f]
[worker2:02566] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7f9182c4f9b2]
[worker2:02566] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7f9182c74d57]
[worker2:02566] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7f9182c770e1]
/usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7f750cee48a8]
[worker1:01852] [15] ./mpi02[0x401265]
[worker1:01852] [16] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7efd61078158]
[worker2:02565] [14] /lib64/libc.so.6(+0x2a088)[0x7f750cc3d088]
[worker1:01852] [17] /usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7f97a4ee48a8]
[worker2:02568] [15] ./mpi02[0x401265]
[worker2:02568] [16] /lib64/libc.so.6(+0x2a088)[0x7f97a4c3d088]
[worker2:02568] [17] /usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7f0293ce48a8]
[worker1:01853] [15] ./mpi02[0x401265]
[worker1:01853] [16] [worker2:02566] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7f9182c8d2c1]
[worker2:02566] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7f9182c1ff1e]
[worker2:02566] [10] /lib64/libfabric.so.1(+0x60f303)[0x7f9182c0f303]
/lib64/libc.so.6(__libc_start_main+0x8b)[0x7f750cc3d14b]
[worker1:01852] [18] ./mpi02[0x4010c5]
[worker1:01852] *** End of error message ***
/lib64/libc.so.6(__libc_start_main+0x8b)[0x7f97a4c3d14b]
[worker2:02568] [18] ./mpi02[0x4010c5]
[worker2:02568] *** End of error message ***
/usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7f4b2f6e48a8]
[worker1:01850] [15] ./mpi02[0x401265]
[worker1:01850] [16] /lib64/libc.so.6(+0x2a088)[0x7f0293a3d088]
[worker1:01853] [17] /lib64/libc.so.6(+0x2a088)[0x7f4b2f43d088]
[worker1:01850] [17] [worker2:02566] [11] /lib64/libfabric.so.1(+0x62b504)[0x7f9182c2b504]
[worker2:02566] [12] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7f0293a3d14b]
[worker1:01853] [18] ./mpi02[0x4010c5]
[worker1:01853] *** End of error message ***
/usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7efd60ee48a8]
[worker2:02565] [15] ./mpi02[0x401265]
[worker2:02565] [16] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7f4b2f43d14b]
[worker1:01850] [18] ./mpi02[0x4010c5]
[worker1:01850] *** End of error message ***
/usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7f91835ebcde]
[worker2:02566] [13] [worker1:01851] *** Process received signal ***
[worker1:01851] Signal: Aborted (6)
[worker1:01851] Signal code:  (-6)
[worker1:01851] [ 0] /lib64/libc.so.6(+0x40710)[0x7fc115853710]
[worker1:01851] [ 1] /lib64/libc.so.6(+0x98144)[0x7fc1158ab144]
[worker1:01851] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7fc11585365e]
[worker1:01851] [ 3] /lib64/libc.so.6(abort+0xdf)[0x7fc11583b902]
[worker1:01851] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7fc114e0fc7f]
[worker1:01851] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7fc11544f9b2]
[worker1:01851] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7fc115474d57]
[worker1:01851] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7fc1154770e1]
[worker1:01851] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7fc11548d2c1]
[worker1:01851] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7fc11541ff1e]
[worker1:01851] [10] /lib64/libfabric.so.1(+0x60f303)[0x7fc11540f303]
[worker1:01851] [11] /lib64/libfabric.so.1(+0x62b504)[0x7fc11542b504]
[worker1:01851] [12] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7fc115bebcde]
[worker1:01851] [13] /lib64/libc.so.6(+0x2a088)[0x7efd60c3d088]
[worker2:02565] [17] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7fc115c78158]
[worker1:01851] [14] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7efd60c3d14b]
[worker2:02565] [18] ./mpi02[0x4010c5]
/usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7fc115ae48a8]
[worker1:01851] [15] ./mpi02[0x401265]
[worker1:01851] [16] [worker2:02565] *** End of error message ***
/lib64/libc.so.6(+0x2a088)[0x7fc11583d088]
[worker1:01851] [17] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7f9183678158]
[worker2:02566] [14] /usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7f91834e48a8]
[worker2:02566] [15] ./mpi02[0x401265]
[worker2:02566] [16] /lib64/libc.so.6(+0x2a088)[0x7f918323d088]
[worker2:02566] [17] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7fc11583d14b]
[worker1:01851] [18] ./mpi02[0x4010c5]
[worker1:01851] *** End of error message ***
[worker2:02567] *** Process received signal ***
[worker2:02567] Signal: Aborted (6)
[worker2:02567] Signal code:  (-6)
[worker2:02567] [ 0] /lib64/libc.so.6(+0x40710)[0x7fe238a53710]
[worker2:02567] [ 1] /lib64/libc.so.6(+0x98144)[0x7fe238aab144]
[worker2:02567] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7fe238a5365e]
[worker2:02567] [ 3] /lib64/libc.so.6(abort+0xdf)[0x7fe238a3b902]
[worker2:02567] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7fe23800fc7f]
[worker2:02567] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7fe23864f9b2]
[worker2:02567] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7fe238674d57]
[worker2:02567] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7fe2386770e1]
[worker2:02567] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7fe23868d2c1]
[worker2:02567] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7fe23861ff1e]
[worker2:02567] [10] /lib64/libfabric.so.1(+0x60f303)[0x7fe23860f303]
[worker2:02567] [11] /lib64/libfabric.so.1(+0x62b504)[0x7fe23862b504]
[worker2:02567] [12] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7f918323d14b]
[worker2:02566] [18] ./mpi02[0x4010c5]
[worker2:02566] *** End of error message ***
/usr/lib64/openmpi/lib/libmpi.so.40(+0x1ebcde)[0x7fe238debcde]
[worker2:02567] [13] /usr/lib64/openmpi/lib/libmpi.so.40(+0x278158)[0x7fe238e78158]
[worker2:02567] [14] /usr/lib64/openmpi/lib/libmpi.so.40(PMPI_Recv+0x268)[0x7fe238ce48a8]
[worker2:02567] [15] ./mpi02[0x401265]
[worker2:02567] [16] /lib64/libc.so.6(+0x2a088)[0x7fe238a3d088]
[worker2:02567] [17] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7fe238a3d14b]
[worker2:02567] [18] ./mpi02[0x4010c5]
[worker2:02567] *** End of error message ***
[mce-eseiaat:04348] *** Process received signal ***
[mce-eseiaat:04348] Signal: Aborted (6)
[mce-eseiaat:04348] Signal code:  (-6)
[mce-eseiaat:04348] [ 0] /lib64/libc.so.6(+0x40710)[0x7f029b253710]
[mce-eseiaat:04348] [ 1] /lib64/libc.so.6(+0x98144)[0x7f029b2ab144]
[mce-eseiaat:04348] [ 2] /lib64/libc.so.6(gsignal+0x1e)[0x7f029b25365e]
[mce-eseiaat:04348] [ 3] /lib64/libc.so.6(abort+0xdf)[0x7f029b23b902]
[mce-eseiaat:04348] [ 4] /lib64/libfabric.so.1(+0xfc7f)[0x7f029a60fc7f]
[mce-eseiaat:04348] [ 5] /lib64/libfabric.so.1(+0x64f9b2)[0x7f029ac4f9b2]
[mce-eseiaat:04348] [ 6] /lib64/libfabric.so.1(+0x674d57)[0x7f029ac74d57]
[mce-eseiaat:04348] [ 7] /lib64/libfabric.so.1(+0x6770e1)[0x7f029ac770e1]
[mce-eseiaat:04348] [ 8] /lib64/libfabric.so.1(+0x68d2c1)[0x7f029ac8d2c1]
[mce-eseiaat:04348] [ 9] /lib64/libfabric.so.1(+0x61ff1e)[0x7f029ac1ff1e]
[mce-eseiaat:04348] [10] /lib64/libfabric.so.1(+0x60f303)[0x7f029ac0f303]
[mce-eseiaat:04348] [11] /lib64/libfabric.so.1(+0x62bcc9)[0x7f029ac2bcc9]
[mce-eseiaat:04348] [12] /usr/lib64/openmpi/lib/libmpi.so.40(+0x1d6e9b)[0x7f029b5d6e9b]
[mce-eseiaat:04348] [13] /usr/lib64/openmpi/lib/libmpi.so.40(+0x27990a)[0x7f029b67990a]
[mce-eseiaat:04348] [14] /usr/lib64/openmpi/lib/libmpi.so.40(MPI_Send+0x235)[0x7f029b4e52c5]
[mce-eseiaat:04348] [15] ./mpi02[0x401227]
[mce-eseiaat:04348] [16] /lib64/libc.so.6(+0x2a088)[0x7f029b23d088]
[mce-eseiaat:04348] [17] /lib64/libc.so.6(__libc_start_main+0x8b)[0x7f029b23d14b]
[mce-eseiaat:04348] [18] ./mpi02[0x4010c5]
[mce-eseiaat:04348]   *** End of error message ***

The mpi02.c program is very simple

#include <stdio.h>
#include <mpi.h>
#include <string.h>

/*
  MPI_Init - Initializes the MPI execution environment
  MPI_Comm_rank - Determines the rank of the calling process in the communicator
  MPI_Comm_size - Returns the size of the group associated with a communicator
  MPI_Finalize - Terminates MPI execution environment

  struct MPI_Status {
    int MPI_SOURCE;
    int MPI_TAG;
    int MPI_ERROR;
  };
*/

void main(int argc, char *argv[])
{
  char message[20];
  MPI_Status status;
  int i,rank, size, tag=11;

  MPI_Init(&argc, &argv);
  MPI_Comm_rank(MPI_COMM_WORLD, &rank);

  MPI_Comm_size(MPI_COMM_WORLD,&size);

  /**************************
  5.Check the rank, and
  **************************/

  if(rank == 0)
  {
    strcpy(message, "Hello,World!");
    for (i=1; i<size; i++)
      MPI_Send(message, 13, MPI_CHAR, i, tag, MPI_COMM_WORLD);
  }
  else
  {
    MPI_Recv(message, 20, MPI_CHAR, 0, tag, MPI_COMM_WORLD, &status);
    printf( "Process %d : %.13s\n", rank,message);
  }

  MPI_Finalize();
}

It worked with Fedora 39 and I have the same firewall configuration.

Does anybody knows how I can run mpi programs with hosts on different subnets on Fedora 40.

Thanks in advance.

Rafel Amer
Technic University of Catalonia

I’m not seeing any bugs related to this, so I’d file one to begin with:

https://bugzilla.redhat.com/buglist.cgi?bug_status=__open__&classification=Fedora&component=openmpi&product=Fedora&query_format=advanced

How about mpich in the meantime? Does that work?

With mpich I have the same errors:

Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=88.198.157.233/32 TCP=45575 UDP=54793) on a different subnet 88.198.157.233/32

mce-eseiaat.com:rank3:  Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=162.55.213.49/32 TCP=37449 UDP=41668) on a different subnet 162.55.213.49/32

mce-eseiaat.com:rank6:  Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=88.198.157.233/32 TCP=54837 UDP=47899) on a different subnet 88.198.157.233/32

mce-eseiaat.com:rank9:  Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=162.55.213.49/32 TCP=45297 UDP=39015) on a different subnet 162.55.213.49/32

mce-eseiaat.com:rank12:  Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=88.198.157.233/32 TCP=35391 UDP=33260) on a different subnet 88.198.157.233/32

mce-eseiaat.com:rank15:  Trying to connect from eth0 port 1 (subnet 195.201.223.246/32) to a node (IP=162.55.213.49/32 TCP=51183 UDP=52527) on a different subnet 162.55.213.49/32

worker2.mce-eseiaat.com:rank2:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=44503 UDP=49948) on a different subnet 195.201.223.246/32

worker2.mce-eseiaat.com:rank11:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=88.198.157.233/32 TCP=51443 UDP=36464) on a different subnet 88.198.157.233/32

worker2.mce-eseiaat.com:rank14:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=33317 UDP=40668) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank1:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=32781 UDP=53663) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank7:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=47383 UDP=51499) on a different subnet 195.201.223.246/32

worker2.mce-eseiaat.com:rank8:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=195.201.223.246/32 TCP=40591 UDP=38371) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank13:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=195.201.223.246/32 TCP=56965 UDP=38971) on a different subnet 195.201.223.246/32

worker1.mce-eseiaat.com:rank10:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=162.55.213.49/32 TCP=59499 UDP=38225) on a different subnet 162.55.213.49/32

worker2.mce-eseiaat.com:rank5:  Trying to connect from eth0 port 1 (subnet 162.55.213.49/32) to a node (IP=88.198.157.233/32 TCP=39797 UDP=49164) on a different subnet 88.198.157.233/32

worker1.mce-eseiaat.com:rank4:  Trying to connect from eth0 port 1 (subnet 88.198.157.233/32) to a node (IP=162.55.213.49/32 TCP=60669 UDP=38137) on a different subnet 162.55.213.49/32

I don’t know if the error is related to libfabric because both mpich and openmpi are linked to libfabric.

Best regards,

Rafel Amer

1 Like