<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Neeraj, <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Please take a look at section 6.27 of our userguide here: <a href="https://mvapich.cse.ohio-state.edu/userguide" id="LPlnk644160">
https://mvapich.cse.ohio-state.edu/userguide</a>. It looks like you just missed the configure time flag `--enable-sharp` while configuring MVAPICH2. Once you add this flag you should be able to use the environment variable MV2_ENALBE_SHARP=1 to run with SHARP
 support. Please let us know if you have any issues after adding this configure flag.
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks, <br>
Nat<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mvapich-discuss <mvapich-discuss-bounces+shineman.5=osu.edu@lists.osu.edu> on behalf of Neeraj singh via Mvapich-discuss <mvapich-discuss@lists.osu.edu><br>
<b>Sent:</b> Wednesday, October 20, 2021 23:49<br>
<b>To:</b> mvapich-discuss@lists.osu.edu <mvapich-discuss@lists.osu.edu><br>
<b>Subject:</b> [Mvapich-discuss] Using MVAPICH2 with sharp protocol.</font>
<div> </div>
</div>
<div>
<div dir="ltr">Dear Sir/Ma'am,
<div><br>
</div>
<div>I am trying to use the CVAR for enabling the SHARP protocol. But it seems that special configurations are required for using the SHARP with mvapich2. After following the document I am not able to configure it.</div>
<div>Configuration command:  ./configure --prefix=<location> --with-device=ch3:mrail --with-rdma=gen2 --enable-mpit-pvars=all LDFLAGS="-Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/hpcx/hpcx-2.8.1/sharp/lib/ -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/hpcx/hpcx-2.8.1/sharp/lib/
 -lsharp -lsharp_coll" CFLAGS="-I/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/hpcx/hpcx-2.8.1/sharp/include/sharp/"</div>
<div><br>
</div>
<div>Can you please tell me the steps for configuring the MVAPICH2 with the SHARP protocol?</div>
<div><br>
</div>
<div>Thanks and Regards</div>
<div>Neeraj Singh</div>
<div><br>
</div>
<br>
</div>
</div>
</body>
</html>