<div dir="ltr"><p>Hello, Jerome,</p><p dir="ltr">Thanks for reporting the bug.<br>We will fix it in the upcoming MPICH 3.1rc2</p><p>--Junchao Zhang</p>
<div class="gmail_quote">On Nov 16, 2013 12:44 AM, "Jerome Vienne" <<a href="mailto:viennej@tacc.utexas.edu" target="_blank">viennej@tacc.utexas.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>While trying to build MPICH 3.1rc1 with KNEM, I had the following error:</div><div><div><i>src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt_dma.c(358): error: identifier "MPIR_CVAR_NEM_LMT_DMA_THRESHOLD" is undefined</i></div>
<div><i> nodma = !knem_has_dma || data_sz < MPIR_CVAR_NEM_LMT_DMA_THRESHOLD;</i></div><div><i>compilation aborted for src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt_dma.c (code 2)</i><br></div><div><br></div></div>
<div>I am guessing that the issue is coming from the name of the variable "MPIR_CVAR_NEM_LMT_DMA_THRESHOLD". Looking at the code, I saw that the name of this variable should be: "MPIR_CVAR_<b>NEMESIS</b>_LMT_DMA_THRESHOLD".</div>
<div><div><br></div><div>I did this change in my code and the build was ok.</div><div><br></div><div>Thanks,</div><div>Jerome</div><div>--<br>Jerome Vienne, Ph.D<br>HPC Software Tools Group<br>Texas Advanced Computing Center (TACC)<br>
<a href="mailto:viennej@tacc.utexas.edu" target="_blank">viennej@tacc.utexas.edu</a> | Phone: <a href="tel:%28512%29%20475-9322" value="+15124759322" target="_blank">(512) 475-9322</a><br>Office: ROC 1.455B | Fax: <a href="tel:%28512%29%20475-9445" value="+15124759445" target="_blank">(512) 475-9445</a></div>
</div></div>
<br>_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div>
</div>