[mpich-discuss] Build issue with MPICH 3.1rc1 using KNEM

Jerome Vienne viennej at tacc.utexas.edu
Sat Nov 16 00:44:25 CST 2013


Hi,

While trying to build MPICH 3.1rc1 with KNEM, I had the following error:
*src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt_dma.c(358): error:
identifier "MPIR_CVAR_NEM_LMT_DMA_THRESHOLD" is undefined*
*      nodma = !knem_has_dma || data_sz < MPIR_CVAR_NEM_LMT_DMA_THRESHOLD;*
*compilation aborted for
src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt_dma.c (code 2)*

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_*NEMESIS*
_LMT_DMA_THRESHOLD".

I did this change in my code and the build was ok.

Thanks,
Jerome
--
Jerome Vienne, Ph.D
HPC Software Tools Group
Texas Advanced Computing Center (TACC)
viennej at tacc.utexas.edu  | Phone: (512) 475-9322
Office: ROC 1.455B          | Fax:     (512) 475-9445
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131116/7fb0b620/attachment.html>


More information about the discuss mailing list