MS not working with Omnipath

Hi,

We tried to install MS to our HPC with an operating system Alma Linux 8.5, the software cannot being used. Dmol3 works ok on one node, but crashes on another. dmol3.exe crashes with the following:

[acs03114@archie-e 5DUHO]\\\$ mpirun -np 4 dmol3.exe Ni55_ethene_5
[0] MPI startup(): Multi-threaded optimized library
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source  
libDFTD.so 000014C142F47EF2 for__signal_handl Unknown Unknown
libpthread-2.28.s 000014C13E35CC20 Unknown Unknown Unknown
libc-2.28.so 000014C13E00F7C6 strtok_r Unknown Unknown
libmpi.so.12 000014C14269E991 __I_MPI___intel_s Unknown Unknown
libmpi.so.12 000014C142558BE5 Unknown Unknown Unknown
libmpi.so.12 000014C14255B8F4 Unknown Unknown Unknown
libmpi.so.12 000014C1424FC64B Unknown Unknown Unknown
libmpi.so.12 000014C1424E9BDB MPI_Init Unknown Unknown
libmpifort.so.12 000014C141F37240 MPI_INIT Unknown Unknown
dmol3.exe 000000000041154E Unknown Unknown Unknown
dmol3.exe 000000000040BEEC Unknown Unknown Unknown
dmol3.exe 000000000040BE32 main Unknown Unknown
libc-2.28.so 000014C13DFA8493 __libc_start_main Unknown Unknown
dmol3.exe 000000000040BD39 Unknown Unknown Unknown

We are thinking Omnipath might be the problem, but not sure how to solve this. Any pointers would be useful.

Regards,

Xiaolei

Answers 9
CM
CM 2022-06-21

What happens if you use RunDMol3.sh from etc/DMol3/bin of the relevant Materials Studio installation

Which Materials Studio version is this?

Please keep in mind that Alma Linux 8.5 is not an officially supported and tested platform for Materials Studio and there is no guarantee that things will run on it.

FH
FH 2022-06-22

Is this specific to DMol3 or are other parallel Materials Studio servers also affected (Forcite, DFTB+, CASTEP, ONETEP)? What version of Materials Studio are you using?

Looks like there is something wrong with the MPI installation on some nodes. Materials Studio typically comes with its own MPI, which might interfere here. In newer versions of the software it is possible to chose your own MPI. This might be an option to explore. 

XZ
XZ 2022-06-23

Thanks both Carsten and Felix. We tried use RunDMol3.sh and got the same error. This is not specific to DMol3, also effected other modules like CASTEP. The MS version is Linux-2021, if it is related to MPI installation, may I check how to solve it? Thanks. 

CM
CM 2022-06-23

Do you have another IntelMPI version licensed (here I am not sure if some versions from Intel which are libraries and executables (so which cannot be used for development) are free of charge) and installed on that machine?

XZ
XZ 2022-06-24

Thanks Carsten, I am not sure that I understand what do you mean, are you checking that I have another MS version? or another HPC version? Thanks,

XZ
XZ 2022-06-24

We do have another machine (HPC2) for testing, that has the same version of AlmaLinux, with the only difference is that different hardware (different CPUs and different networks), MS is working well on this machine HPC2 but not HPC1 (the one we are using but not working). The most significant difference between them is the presence of Omnipath on the HPC1  which isn't present on HPC2.

The network interfaces of the HPC2 that MS is working is:

[root@wee10 ~]# ifconfig -a
eno1: flags=4099  mtu 1500
        ether f0:4d:a2:75:60:19  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x91220000-9123ffff  

eno2: flags=4099  mtu 1500
        ether f0:4d:a2:75:60:1a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0x91200000-9121ffff  

enp130s0f0: flags=4163  mtu 9000
        inet 10.5.136.110  netmask 255.255.252.0  broadcast 10.5.139.255
        inet6 fe80::7ed3:aff:fee6:e72e  prefixlen 64  scopeid 0x20
        ether 7c:d3:0a:e6:e7:2e  txqueuelen 1000  (Ethernet)
        RX packets 47364251  bytes 81810757005 (76.1 GiB)
        RX errors 0  dropped 71  overruns 0  frame 0
        TX packets 144536313  bytes 1125823136265 (1.0 TiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp130s0f1: flags=4099  mtu 1500
        ether 7c:d3:0a:e6:e7:2f  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp130s0f0.4061: flags=4163  mtu 9000
        inet 10.5.164.110  netmask 255.255.252.0  broadcast 10.5.167.255
        inet6 fe80::7ed3:aff:fee6:e72e  prefixlen 64  scopeid 0x20
        ether 7c:d3:0a:e6:e7:2e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


The HPC1 that we are planning to use, but MS is not working, has the network interface:

acs03114@node064 2021]$ ifconfig  -a
eno1: flags=4163  mtu 9000
        inet 10.5.138.64  netmask 255.255.252.0  broadcast 10.5.139.255
        inet6 fe80::a94:efff:fe93:f78  prefixlen 64  scopeid 0x20
        ether 08:94:ef:93:0f:78  txqueuelen 1000  (Ethernet)
        RX packets 6453416  bytes 4769516367 (4.4 GiB)
        RX errors 0  dropped 17  overruns 0  frame 0
        TX packets 2526220  bytes 397294018 (378.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno2: flags=4099  mtu 1500
        ether 08:94:ef:93:0f:79  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eno1.4061: flags=4163  mtu 9000
        inet 10.5.166.64  netmask 255.255.252.0  broadcast 10.5.167.255
        inet6 fe80::a94:efff:fe93:f78  prefixlen 64  scopeid 0x20
        ether 08:94:ef:93:0f:78  txqueuelen 1000  (Ethernet)
        RX packets 4256  bytes 2962524 (2.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1758  bytes 304714 (297.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ib0: flags=4163  mtu 2044
        inet 10.5.162.64  netmask 255.255.252.0  broadcast 10.5.163.255
        inet6 fe80::211:7501:178:2e  prefixlen 64  scopeid 0x20
Infiniband hardware address can be incorrect! Please read BUGS section in ifconfig(8).
        infiniband 80:81:00:02:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00  txqueuelen 256  (InfiniBand)
        RX packets 1  bytes 56 (56.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 26  bytes 6800 (6.6 KiB)
        TX errors 0  dropped 336 overruns 0  carrier 0  collisions 0

Not sure does this make the difference? very appreciate if you can help us to solve this.

Xiaolei

CM
CM 2022-06-27

 Could you please drop me a personal note in a conversation? I can find you twice as a community user and do not know which one is correct.

XZ
XZ 2022-06-27

Thanks Carsten, I have dropped you a message in conversation. our IT thought it is because of the network, from the error below:


forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image              PC                Routine            Line        Source             
libDFTD.so         00001484866BCEF2  for__signal_handl     Unknown  Unknown
libpthread-2.28.s  0000148481AD1C20  Unknown               Unknown  Unknown
libc-2.28.so       00001484817847C6  strtok_r              Unknown  Unknown
libmpi.so.12       0000148485E13991  __I_MPI___intel_s     Unknown  Unknown
libmpi.so.12       0000148485CCDBE5  Unknown               Unknown  Unknown
libmpi.so.12       0000148485CD08F4  Unknown               Unknown  Unknown
libmpi.so.12       0000148485C7164B  Unknown               Unknown  Unknown
libmpi.so.12       0000148485C5EBDB  MPI_Init              Unknown  Unknown
libmpifort.so.12   00001484856AC240  MPI_INIT              Unknown  Unknown
dmol3.exe          000000000041154E  Unknown               Unknown  Unknown
dmol3.exe          000000000040BEEC  Unknown               Unknown  Unknown
dmol3.exe          000000000040BE32  main                  Unknown  Unknown
libc-2.28.so       000014848171D493  __libc_start_main     Unknown  Unknown
dmol3.exe          000000000040BD39  Unknown               Unknown  Unknown

VM
VM 2022-06-28

Hi, such crashes are most likely because the MPI version in your MS installation is too old to support Omnipath. You could try to specify Intel MPI settings through the gateway web interface; e.g., I_MPI_FABRICS= shm shm:tmi and   I_MPI_TMI_PROVIDER=psm2 (see https://blog.rwth-aachen.de/hpc_import_20210107/attachments/28344675/30867492.pdf for discussion of Omnipath and IntelMPI). Carsten comment refers to the fact that for a recent MS installation (version 2022) you should be able to modify "mpicommand" from the gateway web interface and point it to a version of MPI that is installed on your HPC system. It is likely to be a more recent one compared to the version included in the MS distribution, and hopefully it supports Omnipath.