Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile


Chronological Thread 
  • From: Nikhil Jain <nikhil.life AT gmail.com>
  • To: Tom Quinn <trq AT astro.washington.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile
  • Date: Thu, 5 Jul 2012 22:32:44 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

I saw this error too when I tried compiling the ibverbs version on a
cluster at LLNL. The cause is a recent fix which Gengbin had done to
check for the port which is being used for infiniband connection.
However, the link_layer member that has been used does not seem to be
present in definition of ibv_port_attr on some machines. I had fixed
it using a different data member which was being used to indicate if a
port was active for verbs.

On Thu, Jul 5, 2012 at 10:25 PM, Tom Quinn
<trq AT astro.washington.edu>
wrote:
> I'm trying to compile charm++ with:
> ./build ChaNGa net-linux-x86_64 ibverbs -O2
>
> I get:
> ../bin/charmc -O2 -o machine.o -DFOR_CPLUS=1 machine.c
> In file included from machine-dgram.c:816,
> from machine.c:1584:
> machine-ibverbs.c: In function ‘CmiMachineInit’:
> machine-ibverbs.c:494: error: ‘struct ibv_port_attr’ has no member named
> ‘link_layer’
> machine-ibverbs.c:494: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared
> (first use in this function)
> machine-ibverbs.c:494: error: (Each undeclared identifier is reported only
> once
> machine-ibverbs.c:494: error: for each function it appears in.)
> Fatal Error by charmc in directory
> /u1/uaf/quinn/src/charm/net-linux-x86_64-ibverbs/tmp
>
> This is on pacman.arsc.edu, with the gcc programming environment.
>
> Tom Quinn Astronomy, University of Washington
> Internet:
> trq AT astro.washington.edu
> Phone: 206-685-9009



--
"Success may ditch you most of the times, but if you ditch it once :
your job is done."
Nikhil Jain,
nikhil.life AT gmail.com,
+1-217-979-0918





Archive powered by MHonArc 2.6.16.

Top of Page