--with-device=ch4:ofiHui,
When I set FI_PROVIDER=tcp, the code crashes in MPI_Init. Specifically, this code will fail on one process:
#include "mpi.h"
int main(int argc, char **argv) {
MPI_Init(&argc, &argv);
MPI_Finalize();
}
I’m running on a system with the following modules
[d3g293@deception02 testing]$ module list
Currently Loaded Modulefiles:
1) gcc/11.2.0 3) python/3.7.0 5) mkl/2019u4
2) cmake/3.21.4 4) git/2.42.0(default) 6) cuda/11.8
and a home-built version of mpich-4.2.1 configured with
../configure --prefix=/people/d3g293/mpich/mpich-4.2.1/build_decptn/install \
--with-device=ch4:ofi:sockets --with-libfabric=embedded \
--without-ucx CC=gcc CXX=g++
I thought it might have something to do with using a build configuration in my application build that is set up to include Cuda, but it also fails in MPI_Init with a non-Cuda configuraton if I set the FI_PROVIDER variable.
Bruce
From: Zhou, Hui <zhouh@anl.gov>
Sent: Friday, June 14, 2024 9:27 AM
To: Palmer, Bruce J <Bruce.Palmer@pnnl.gov>; discuss@mpich.org
Subject: Re: Fail on MPI_Wait
Never mind. It is v4.2.1.
From: Zhou, Hui <zhouh@anl.gov>
Sent: Friday, June 14, 2024 11:26 AM
To: Palmer, Bruce J <Bruce.Palmer@pnnl.gov>;
discuss@mpich.org <discuss@mpich.org>
Subject: Re: Fail on MPI_Wait
Bruce,
What is the mpich version, BTW?
--
Hui
From: Zhou, Hui <zhouh@anl.gov>
Sent: Friday, June 14, 2024 10:55 AM
To: Palmer, Bruce J <Bruce.Palmer@pnnl.gov>;
discuss@mpich.org <discuss@mpich.org>
Subject: Re: Fail on MPI_Wait
Bruce,
You are using the sockets provider. Could try set
FI_PROVIDER=tcp to see if it makes a difference?
Meanwhile, if you can get a small reproducer – with the sockets provider or any provider, I'll try to debug it. It is difficult to guess the true source of the issue without a reproducer.
--
Hui
From: Palmer, Bruce J <Bruce.Palmer@pnnl.gov>
Sent: Friday, June 14, 2024 10:47 AM
To: Zhou, Hui <zhouh@anl.gov>;
discuss@mpich.org <discuss@mpich.org>
Subject: Re: Fail on MPI_Wait
The output to standard out from running on 2 nodes and one process per node is attached. From: Zhou, Hui <zhouh@ anl. gov> Date: Tuesday, June 11, 2024 at 5: 49 PM To: discuss@ mpich. org <discuss@ mpich. org> Cc: Palmer, Bruce J <Bruce. Palmer@ pnnl. gov>
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
The output to standard out from running on 2 nodes and one process per node is attached.