[mpich-discuss] Installing mpich with libfabric

Zhou, Hui zhouh at anl.gov
Fri Aug 11 18:19:10 CDT 2023

Hi Pratik,

Could you clarify what do you ment by "utilizing OFI"? Are you looking for libfabric calls such as fi_writemsg​?

From: Pratik Shelar via discuss <discuss at mpich.org>
Sent: Friday, August 11, 2023 1:32 PM
To: discuss at mpich.org <discuss at mpich.org>
Cc: Pratik Shelar <pshelar at cdac.in>
Subject: [mpich-discuss] Installing mpich with libfabric

Hi Everyone,
specifically aiming to enable RMA (Remote Memory Access) calls for efficient parallel computing. However, I've encountered some challenges in achieving the desired setup.
I have attempted multiple configurations, but it seems that the RMA calls of OFI are not being utilized based on my backtracing results. I am seeking your guidance to resolve this issue. Here are the configurations I've tried:

1. ./configure --prefix=/home/<username>/mpich/mpich_exe --with-ch4-ofi-direct-provider=<provider> --with-libfabric-lib=/home/<username>/libfabric/libfabric_exe/lib --with-libfabric-include=/home/<username>/libfabric/libfabric_exe/include

2. ./configure --prefix=/home/<username>/mpich/mpich_exe --enable-ch4-am-only --with-ch4-ofi-direct-provider=<provider> ---with-libfabric-lib=/home/<username>/libfabric/libfabric_exe/lib --with-libfabric-include=/home/<username>/libfabric/libfabric_exe/include

3. ./configure --prefix=/home/<username>/mpich/mpich_exe --enable-mpit-pvars=rma --with-ch4-ofi-direct-provider=<provider> ---with-libfabric-lib=/home/<username>/libfabric/libfabric_exe/lib --with-libfabric-include=/home/<username>/libfabric/libfabric_exe/include

4. ./configure --prefix=/home/<username>/mpich/mpich_exe --enable-mpit-pvars=rma --with-device=ch4:ofi ---with-libfabric-lib=/home/<username>/libfabric/libfabric_exe/lib --with-libfabric-include=/home/<username>/libfabric/libfabric_exe/include

Despite these attempts, the RMA calls from OFI are not being utilized as indicated by my analysis with Valgrind.
I kindly request your expertise and assistance in resolving this matter. If there are specific configurations or steps that I might be missing, please provide guidance on how to properly enable RMA calls using OFI in the MPICH setup.
Thank you for your time and support. I am looking forward to your valuable insights and suggestions to help me overcome this issue.

Thanks & Regards,
Pratik Baban Shelar
Project Engineer

[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20230811/a005c7c6/attachment-0001.html>

More information about the discuss mailing list