<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: (512) 475-9322<br>Office: ROC 1.455B | Fax: (512) 475-9445</div>
</div></div>