Skip to Content.
Sympa Menu

charm - Re: [charm] Build error in ckrdma.C

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Build error in ckrdma.C


Chronological Thread 
  • From: Nitin Bhat <nitin.bhat.k AT gmail.com>
  • To: Gerardo Cisneros-Stoianowski <gerardo AT mellanox.com>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] Build error in ckrdma.C
  • Date: Fri, 12 Jul 2019 09:05:52 -0500
  • Authentication-results: illinois.edu; spf=softfail smtp.mailfrom=nitin.bhat.k AT gmail.com; dkim=pass header.d=gmail.com header.s=20161025; dmarc=pass header.from=gmail.com

Hi Gerardo, 

Thanks for letting us know about the issue you’re seeing. 

This was because of a recent change where we added some code for de-registration of buffers. However, for the UCX layer, since CMK_ONESIDED_IMPL (support for the Zerocopy API) is disabled for now, we should’ve also disabled CMK_REG_REQUIRED. 

I’ve added a PR (https://github.com/UIUC-PPL/charm/pull/2395) to fix this issue. It should be merged by today after another internal review.
Let us know if you see any other issues. 

Thanks,
Nitin


On Jul 11, 2019, at 5:18 PM, Gerardo Cisneros-Stoianowski <gerardo AT mellanox.com> wrote:

Hello.
 
While building the development version of Charm++ on an IB-enabled cluster of Intel BDW processors, I ran into the following errors in ckrdma.C (possibly due to a missing #include):
 
../bin/charmc   -I.   -c -o ckrdma.o ckrdma.C
ckrdma.C(107): error: identifier "deregisterBuffer" is undefined
        deregisterBuffer(source);
        ^
 
ckrdma.C(116): error: identifier "deregisterBuffer" is undefined
        deregisterBuffer(*this);
        ^
 
ckrdma.C(252): error: identifier "deregisterBuffer" is undefined
        deregisterBuffer(destination);
        ^
 
ckrdma.C(261): error: identifier "deregisterBuffer" is undefined
        deregisterBuffer(*this);
        ^
 
ckrdma.C(366): error: identifier "deregisterDestBuffer" is undefined
        deregisterDestBuffer(info);
        ^
 
ckrdma.C(377): error: identifier "CmiInvokeRemoteDeregAckHandler" is undefined
        CmiInvokeRemoteDeregAckHandler(info->srcPe, info);
        ^
 
ckrdma.C(386): error: identifier "deregisterSrcBuffer" is undefined
        deregisterSrcBuffer(info);
        ^
 
ckrdma.C(397): error: identifier "CmiInvokeRemoteDeregAckHandler" is undefined
        CmiInvokeRemoteDeregAckHandler(info->destPe, info);
        ^
 
compilation aborted for ckrdma.C (code 2)
Fatal Error by charmc in directory /global/home/users/gerardo/tools/charm/ucx-linux-x86_64-ifort-icc/tmp
   Command icpc -fpic -DCMK_GFORTRAN -I../bin/../include -I/usr/include/ -I./proc_management/ -I./proc_management/simple_pmi/ -D__CHARMC__=1 -I. -fno-stack-protector -std=c++11 -c ckrdma.C -o ckrdma.o returned error code 2
charmc exiting...
gmake: *** [ckrdma.o] Error 1
-------------------------------------------------
 
The command line I used for my build was the following:
 
./build ChaNGa ucx-linux-x86_64 icc ifort 2>&1 | tee build_chng_ucx_i185h240.log
 
I’m using Intel 2018.5.274 compilers and HPC-X 2.4.0 (or, more specifically, UCX 1.6.0).
 
Any help or suggestion will be most appreciated.
 
Saludos,
 
Gerardo
-- 
Gerardo Cisneros-Stoianowski, Ph.D.
Senior Engineer, HPC Applications Performance
Mellanox Technologies
+52-55-55637958




Archive powered by MHonArc 2.6.19.

Top of Page