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

Junchao Zhang jczhang at mcs.anl.gov
Sat Nov 16 06:54:25 CST 2013


Hello, Jerome,

Thanks for reporting the bug.
We will fix it in the upcoming MPICH 3.1rc2

--Junchao Zhang
On Nov 16, 2013 12:44 AM, "Jerome Vienne" <viennej at tacc.utexas.edu> wrote:

> 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
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131116/7bb122e8/attachment.html>


More information about the discuss mailing list