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@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@tacc.utexas.edu  | Phone: (512) 475-9322
Office: ROC 1.455B          | Fax:     (512) 475-9445

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss