Im following this tutorial https://mpitutorial.com/tutorials/mpi-hello-world/
The environment in on my WSL. However, I got this error message.
root@DESKTOP-IJABU8K:~/Projects/mpitutorial/tutorials/mpi-hello-world/code# mpirun -n 4 ./mpi_hello_world
DESKTOP-IJABU8K:rank1.mpi_hello_world: Failed to get eth0 (unit 0) cpu set
DESKTOP-IJABU8K:rank1: PSM3 can't open nic unit: 0 (err=23)
Abort(673310095): Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(48306).....: MPI_Init(argc=(nil), argv=(nil)) failed
MPII_Init_thread(242)....:
MPID_Init(552)...........:
MPIDI_OFI_init_local(788):
create_vci_context(1258).: OFI endpoint open failed (ofi_init.c:1258:create_vci_context:Cannot allocate memory)
DESKTOP-IJABU8K:rank3.mpi_hello_world: Failed to get eth0 (unit 0) cpu set
DESKTOP-IJABU8K:rank3: PSM3 can't open nic unit: 0 (err=23)
Abort(673310095): Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(48306).....: MPI_Init(argc=(nil), argv=(nil)) failed
MPII_Init_thread(242)....:
MPID_Init(552)...........:
MPIDI_OFI_init_local(788):
create_vci_context(1258).: OFI endpoint open failed (ofi_init.c:1258:create_vci_context:Cannot allocate memory)
DESKTOP-IJABU8K:rank0.mpi_hello_world: Failed to get eth0 (unit 0) cpu set
DESKTOP-IJABU8K:rank0: PSM3 can't open nic unit: 0 (err=23)
Abort(673310095): Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(48306).....: MPI_Init(argc=(nil), argv=(nil)) failed
MPII_Init_thread(242)....:
MPID_Init(552)...........:
MPIDI_OFI_init_local(788):
create_vci_context(1258).: OFI endpoint open failed (ofi_init.c:1258:create_vci_context:Cannot allocate memory)
DESKTOP-IJABU8K:rank2.mpi_hello_world: Failed to get eth0 (unit 0) cpu set
DESKTOP-IJABU8K:rank2: PSM3 can't open nic unit: 0 (err=23)
Abort(673310095): Fatal error in internal_Init: Other MPI error, error stack:
internal_Init(48306).....: MPI_Init(argc=(nil), argv=(nil)) failed
MPII_Init_thread(242)....:
MPID_Init(552)...........:
MPIDI_OFI_init_local(788):
create_vci_context(1258).: OFI endpoint open failed (ofi_init.c:1258:create_vci_context:Cannot allocate memory)
===================================================================================
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= PID 2540354 RUNNING AT DESKTOP-IJABU8K
= EXIT CODE: 9
= CLEANING UP REMAINING PROCESSES
= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Killed (signal 9)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
root@DESKTOP-IJABU8K:~/Projects/mpitutorial/tutorials/mpi-hello-world/code#
I couldn’t really find much matching information on the Internet, can anyone help me to identify what caused this?