charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Gengbin Zheng <gzheng AT illinois.edu>
- To: Nikhil Jain <nikhil.life AT gmail.com>
- Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>, Tom Quinn <trq AT astro.washington.edu>
- Subject: Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile
- Date: Fri, 6 Jul 2012 07:58:04 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
looks like make rules are broken or missing, so make uses default action calling g++ to compile.
you changed makefile, right?
Try checkout charm from scratch and see.
Gengbin
Sent from my Android
On Jul 6, 2012 12:33 AM, "Nikhil Jain" <nikhil.life AT gmail.com> wrote:
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
_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm
_______________________________________________
ppl mailing list
ppl AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/ppl
- Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile, Nikhil Jain, 07/06/2012
- <Possible follow-up(s)>
- Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile, Gengbin Zheng, 07/06/2012
- Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile, Gengbin Zheng, 07/06/2012
- Re: [charm] [ppl] net-linux-x86_64-ibverbs won't compile, Gengbin Zheng, 07/06/2012
Archive powered by MHonArc 2.6.16.