<div dir="ltr">Thanks Sean, just to clarify, this question that I asked right now has nothing to do with GASNet (I was trying to avoid a new email chain). <div>I was just wondering if I can build OFI with PSM provider, and use it with MPICH. From your answer, it seems that I can.</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 22, 2018 at 4:53 PM Hefty, Sean <<a href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OFI does work over PSM.  However, the psm and psm2 providers do not support the same OFI feature set.  You can see the differences here:<br>
<br>
<a href="https://github.com/ofiwg/libfabric/wiki/Provider-Feature-Matrix-master" rel="noreferrer" target="_blank">https://github.com/ofiwg/libfabric/wiki/Provider-Feature-Matrix-master</a><br>
<br>
I'm not familiar enough with the GasNET implementation to know what feature it needs.<br>
<br>
I'm copying the developer who maintains both the psm and psm2 providers.  He can provide more details on what differences there are between psm and psm2, and *might* know if GasNET should work over the psm provider.  Unfortunately, the developer who ported GasNET to OFI is not available.<br>
<br>
- Sean<br>
<br>
<br>
> -----Original Message-----<br>
> From: Sayan Ghosh [mailto:<a href="mailto:zsayanz@gmail.com" target="_blank">zsayanz@gmail.com</a>]<br>
> Sent: Friday, June 22, 2018 4:39 PM<br>
> To: Hefty, Sean <<a href="mailto:sean.hefty@intel.com" target="_blank">sean.hefty@intel.com</a>><br>
> Cc: <a href="mailto:ofiwg@lists.openfabrics.org" target="_blank">ofiwg@lists.openfabrics.org</a><br>
> Subject: Re: [ofiwg] GASNet with OFI on PSM provider<br>
> <br>
> Hi Sean - Sorry if it is evident, but I just wanted to clarify<br>
> something. Since OFI has a PSM provider, can I assume that it works? I<br>
> am asking because you said "OFI targets Omni Path".<br>
> <br>
> On Wed, Jun 20, 2018 at 12:08 PM Hefty, Sean <<a href="mailto:sean.hefty@intel.com" target="_blank">sean.hefty@intel.com</a><br>
> <mailto:<a href="mailto:sean.hefty@intel.com" target="_blank">sean.hefty@intel.com</a>> > wrote:<br>
> <br>
> <br>
>       To clarify, I meant GASNet to TrueScale through OFI.  GASNet<br>
> should have a psm-conduit.  OFI targets Omni-Path.<br>
> <br>
> <br>
> <br>
>       - Sean<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
>       This is my understanding as well.  I don’t believe GASNet is a<br>
> target application for TrueScale or PSM.  The high performance<br>
> interface for TrueScale is PSM, rather than verbs, and targets older<br>
> MPI implementations.<br>
> <br>
> <br>
> <br>
>       - Sean<br>
> <br>
> <br>
> <br>
> <br>
> <br>
>       From: ofiwg [mailto:<a href="mailto:ofiwg-bounces@lists.openfabrics.org" target="_blank">ofiwg-bounces@lists.openfabrics.org</a>] On<br>
> Behalf Of Sayan Ghosh<br>
>       Sent: Wednesday, June 20, 2018 9:17 AM<br>
>       To: <a href="mailto:ofiwg@lists.openfabrics.org" target="_blank">ofiwg@lists.openfabrics.org</a><br>
> <mailto:<a href="mailto:ofiwg@lists.openfabrics.org" target="_blank">ofiwg@lists.openfabrics.org</a>><br>
>       Subject: Re: [ofiwg] GASNet with OFI on PSM provider<br>
> <br>
> <br>
> <br>
>       Just wanted to clarify that a discussion with GASNet developers<br>
> revealed that their PSM provider compatibility over OFI is only for<br>
> PSM2 (since TrueScale is an old technology).<br>
> <br>
>       <a href="https://groups.google.com/a/lbl.gov/forum/#!topic/gasnet-" rel="noreferrer" target="_blank">https://groups.google.com/a/lbl.gov/forum/#!topic/gasnet-</a><br>
> users/1Y_mDmdcCDw<br>
> <br>
> <br>
> <br>
>       On Tue, Jun 19, 2018 at 10:44 PM Sayan Ghosh <<a href="mailto:zsayanz@gmail.com" target="_blank">zsayanz@gmail.com</a><br>
> <mailto:<a href="mailto:zsayanz@gmail.com" target="_blank">zsayanz@gmail.com</a>> > wrote:<br>
> <br>
>               I am trying to install GASNet 1.30.0 using OFI on an Intel<br>
> TrueScale network (PSM provider), and although OFI fi_info detects PSM<br>
> provider (see attached output of fi_info), when I mention it during<br>
> GASNet configure (config.log attached, please see line #10126), GASNet<br>
> warns:<br>
> <br>
> <br>
> <br>
>               WARNING: Invalid or unsupported OFI provider specified via<br>
> the --with-ofi-provider flag.<br>
> <br>
>               Defaulting to runtime provider feature detection for ofi-<br>
> conduit.<br>
> <br>
> <br>
> <br>
> <br>
>               GASNet configuration:<br>
> <br>
> <br>
> <br>
>               CC=icc CXX=icpc MPI_CC=/home/sghosh/builds/mvapich222-<br>
> intel-psm/bin/mpicc MPI_CFLAGS="-I/home/sghosh/builds/mvapich222-<br>
> intel-psm/include" MPI_LIBS="-L/home/sghosh/builds/mvapich222-intel-<br>
> psm/lib -lpciaccess -lnuma -lxml2" ./configure --<br>
> prefix=/home/sghosh/builds/gasnet-ofi --enable-ofi --with-ofi-<br>
> home=/home/sghosh/builds/libfabric --disable-psm --disable-ibv --with-<br>
> ofi-spawner=mpi --with-ofi-provider=psm<br>
> <br>
> <br>
> <br>
>               GASNet throws this warning during application execution:<br>
> <br>
> <br>
> <br>
>               WARNING: Using OFI provider (verbs;ofi_rxm), which has not<br>
> been validated to provide<br>
> <br>
>               WARNING: acceptable GASNet performance. You should<br>
> consider using a more<br>
> <br>
>               WARNING: hardware-appropriate GASNet conduit. See ofi-<br>
> conduit/README.<br>
> <br>
>               *** FATAL ERROR: The statically-determined value for<br>
> GASNETC_OFI_HAS_MR_SCALABLE=1 does<br>
> <br>
>                 not match the memory registration support that the<br>
> (verbs;ofi_rxm) provider reported.<br>
> <br>
>                 This could happen if a provider that previously only<br>
> supported FI_MR_BASIC<br>
> <br>
>                 added support for FI_MR_SCALABLE, or if the wrong<br>
> provider was selected at runtime.<br>
> <br>
>                 Use configure option --disable-ofi-mr-scalable to<br>
> correct this.<br>
> <br>
> <br>
> <br>
>               Instead of picking up psm, GASNet picks up verbs. I have<br>
> reported this issue on GASNet user list as well. Please let me know if<br>
> I can try some options in building libfabrics for PSM provider, that<br>
> may fix this issue.<br>
> <br>
> <br>
> <br>
>               --<br>
> <br>
>               Thanks,<br>
> <br>
>               Sayan | <a href="https://sg0.github.io/" rel="noreferrer" target="_blank">https://sg0.github.io/</a><br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
>       --<br>
> <br>
>       Sayan | <a href="https://sg0.github.io/" rel="noreferrer" target="_blank">https://sg0.github.io/</a><br>
> <br>
> <br>
> <br>
> --<br>
> <br>
> Sayan | <a href="https://sg0.github.io/" rel="noreferrer" target="_blank">https://sg0.github.io/</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="font-size:small">S</span><span style="font-size:12.8px">ayan | </span><span style="font-size:12.8px"><a href="https://sg0.github.io/" target="_blank">https://sg0.github.io/</a></span><br></div></div></div></div></div></div></div></div></div></div></div></div>