Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Fwd: Bluegene build

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Fwd: Bluegene build


Chronological Thread 
  • From: Ryan Mokos <ryan.mokos AT gmail.com>
  • To: Adamantini Peratikou <Adamantini.Peratikou AT port.ac.uk>
  • Cc: charm AT cs.uiuc.edu
  • Subject: Re: [charm] [ppl] Fwd: Bluegene build
  • Date: Mon, 4 Jul 2011 12:22:30 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi Adamantini,

That's odd.  Let's try a simple sanity check.  In your charm/<build>/tmp directory (e.g., charm/net-linux-x86_64/tmp), do

ls -l bigsim_logs.*

and make sure bigsim_logs.C and bigsim_logs.h are linked like so:

bigsim_logs.C -> ../../src/langs/bluegene/bigsim_logs.C
bigsim_logs.h -> ../../src/langs/bluegene/bigsim_logs.h

Then use your favorite editor to open bigsim_logs.h, and make sure class BgTimeLog has these member variables:

unsigned int mpiSize;
unsigned short mpiOp;

If it doesn't, then somehow your version of charm is still out-of-date.  I just did a fresh charm checkout from git, and those variables are in there.

Ryan

On Mon, Jul 4, 2011 at 3:58 AM, Adamantini Peratikou <Adamantini.Peratikou AT port.ac.uk> wrote:
I am using the the latest charm from git repository,so this is
strange!!! i ve reinstallled it twice from git , so i dont know what
muight be wrong, I think it might be a problem with my gcc compiler, as
i am using gcc 3.4 in ubuntu x86  where  at first charm build used to
show me errors regarding gcc, i ve reinstalled gcc too though.


>>> Ryan Mokos  21/06/11 11:48 PM >>>
Let's try this again, as Adamantini was left off the reply. :)

Adamantini, see my reply below:

On Tue, Jun 21, 2011 at 5:45 PM, Ryan Mokos  wrote:

> Hi Adamantini,
>
> This looks like a version mismatch problem that comes from using the
newest
> version of BigNetSim and an older version of charm.  Are you using the
> latest charm from the git repository or nightly build?
>
> Ryan
>
> On Mon, Jun 20, 2011 at 1:46 AM, Abhinav S Bhatele wrote:
>
>> Hi Adamantini,
>>
>> I am forwarding your mail to the right mailing list. Hopefully
someone
>> will respond soon.
>> Please cc the charm mailing list in your replies.
>>
>> - Abhinav
>>
>>
>> ---------- Forwarded message ----------
>> From: Adamantini Peratikou
>> Date: Sat, Jun 18, 2011 at 8:14 AM
>> Subject: Re: [ppl] [charm] Bluegene build
>> To: bhatele AT illinois.edu
>>
>>
>> Hello, and thanks so much for trying to help, the machine is:
>>
>> Linux ubuntu 2.6.35-28-generic   x86_64 GNU/Linux
>>
>>
>> I ve tried the commands u gave me, is building successfully..but whe
i go
>> to BigaNetSim/trunk/Bluegene and i try the make command i get the
followuing
>> errors:
>>
>>
>> TCsim_sim.C: In member function ?void Task::convertFrom(BgTimeLog*,
int,
>> int, FileWindower*)?:
>> TCsim_sim.C:49: error: ?class BgTimeLog? has no member named ?mpiOp?
>> TCsim_sim.C:50: error: ?class BgTimeLog? has no member named
?mpiSize?
>> TCsim_sim.C: In constructor ?state_BGproc::state_BGproc(BGprocMsg*)?:
>> TCsim_sim.C:573: error: ?class CProxy_sim? has no member named
>> ?setSimulationStartGVT?
>> TCsim_sim.C:577: error: ?class CProxy_sim? has no member named
>> ?setSimulationStartGVT?
>> TCsim_sim.C: In member function ?bool
>> state_BGproc::handleAsCollectiveOp(Task&)?:
>> TCsim_sim.C:835: error: ?MPI_BARRIER? was not declared in this scope
>> TCsim_sim.C:835: error: ?MPI_ALLREDUCE? was not declared in this
scope
>> TCsim_sim.C:839: error: ?MPI_NONE? was not declared in this scope
>> TCsim_sim.C: In member function ?virtual POSE_TimeType
>> BPCollectiveOperationModel::computeDelay(int, int)?:
>> TCsim_sim.C:2195: error: ?MPI_BARRIER? was not declared in this scope
>> Fatal Error by charmc in directory
>> /home/psycho/charm/charm-6.2/BigNetSim/trunk/Main
>>    Command g++ -fPIC -m64
>> -I/home/psycho/charm/charm-6.2/net-linux-x86_64/bin/../include
>> -D__CHARMC__=1
-I/home/psycho/charm/charm-6.2/net-linux-x86_64/include/pose
>> -I/home/psycho/charm/charm-6.2/net-linux-x86_64/include -I../BlueGene
-g -c
>> TCsim_sim.C -o ../tmp/TCsim_sim.o returned error code 1
>> charmc exiting...
>> make[2]: *** [../tmp/TCsim_sim.o] Error 1
>> make[2]: Leaving directory
>> `/home/psycho/charm/charm-6.2/BigNetSim/trunk/Main'
>> make[1]: *** [all] Error 1
>> make[1]: Leaving directory
>> `/home/psycho/charm/charm-6.2/BigNetSim/trunk/BlueGene'
>> make: *** [bigsimulator] Error 2
>>
>>
>> heres is my makefile.common under BigNetSim/trunk:
>> CHARMBASE  = $(HOME)/charm/charm-6.2/net-linux-x86_64
>> CHARMBIN   = $(CHARMBASE)/bin
>> CHARMINC   = $(CHARMBASE)/include
>> ETRANS       = $(CHARMBIN)/etrans.pl
>>
>> LOPTS       = -lz # -memory gnu
>> OPTS       = -g  #-DCMK_MEMCHECKS_OFF=1 -DCMK_OPTIMIZE=1
>> OBJDIR       = ../tmp
>>
>> CHARMC       = $(CHARMBIN)/charmc -I$(CHARMINC)/pose $(OPTS) $(LOPTS)
>> POSEMODULE = -module pose
>>
>>
>> CHARMOPTS  = -seq
>>
>> ifeq ($(SEQUENTIAL),1)
>> override OPTS += -DSEQUENTIAL_POSE=1
>> ETRANS += "-s"
>> POSEMODULE=-module seqpose
>> endif
>>
>> OSTYPE    := $(shell uname -m)
>>
>> ifeq "$(OSTYPE)" "alpha"
>> override OPTS += -tweak
>> endif
>>
>>
>> Thanking you in davance for your time and assistance, sorry it took
me so
>> long to reply i was away..
>>
>> >>> Abhinav S Bhatele ** 07/06/11 12:45 AM >>>
>> Hello Adamantini,
>>
>> Can you give some details about which machine you are trying to build
>> BigNetSim on?
>>
>> All you should have to do is build charm with the following options (
>> http://charm.cs.illinois.edu/manuals/html/bignetsim/1_2.html):
>> ./build bgampi net-linux-x86_64
>> ./build pose net-linux-x86_64
>>
>> And then point BigNetSim to this charm and type make in the
respective
>> network directory that you are trying to build.
>>
>> - Abhinav
>>
>>
>> On Sun, Jun 5, 2011 at 11:34 AM, Adamantini Peratikou <
>> Adamantini.Peratikou AT port.ac.uk> wrote:
>>
>>> hello i need your help,
>>>
>>> I have build bigsim, charms++net-linux-x86-64,pose,bgampi
>>> net-linux-x86_64 bigemulator -O2, i have then used subversion to
obtain the
>>> bignetsim package. i am now trying to install bluegene but each time
i do
>>> make i get the following error, i ve tried to compile the rest of
teh archs
>>> available such as HypCube but similar errors appear,
>>>
>>> Any help would be greatly appreciated.
>>>
>>> in BigNetSim/trunk directory when i use make the following error
appears:
>>>
>>> Fatal Error by charmc in directory
>>> /home/psycho/charm/charm-6.2/BigNetSim/trunk/Main
>>>    Command g++ -fPIC -m64
>>> -I/home/psycho/charm/charm-6.2/net-linux-x86_64/bin/../include
>>> -D__CHARMC__=1
-I/home/psycho/charm/charm-6.2/net-linux-x86_64/include/pose
>>> -I/home/psycho/charm/charm-6.2/net-linux-x86_64/include
-I../BlueGene -g -c
>>> TCsim_sim.C -o ../tmp/TCsim_sim.o returned error code 1
>>> charmc exiting...
>>> make[2]: *** [../tmp/TCsim_sim.o] Error 1
>>> make[2]: Leaving directory
>>> `/home/psycho/charm/charm-6.2/BigNetSim/trunk/Main'
>>> make[1]: *** [all] Error 1
>>> make[1]: Leaving directory
>>> `/home/psycho/charm/charm-6.2/BigNetSim/trunk/BlueGene'
>>> make: *** [bigsimulator] Error 2
>>>
>>>
>>>
>>> When i am using charms ./build with bluegene option i get this error
my
>>> gcc compirler is there working fine with other apps:
>>>
>>> Performing 'make -j 16 basics OPTS= -O2 QUIET=' in
mpi-bluegenep-xlc/tmp
>>> make charmxi
>>> make[1]: Entering directory
>>> `/home/psycho/charm/charm-6.2/mpi-bluegenep-xlc/tmp'
>>> ./configure
>>> ERROR: Invalid BGP_INSTALL or BGP_FLOOR, C/C++ compiler missing
>>> make[1]: *** [conv-autoconfig.h] Error 1
>>> make[1]: Leaving directory
>>> `/home/psycho/charm/charm-6.2/mpi-bluegenep-xlc/tmp'
>>> make: *** [headers] Error 2
>>> -------------------------------------------------
>>> Charm++ NOT BUILT. Either cd into mpi-bluegenep-xlc/tmp and try
>>> to resolve the problems yourself, visit
>>> http://charm.cs.uiuc.edu/
>>> for more information. Otherwise, email the developers at
>>> charm AT cs.uiuc.edu
>>>
>>> Thanking you in advance for your time and assistance.
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Abhinav S Bhatele, Ph. D.
>> Webpage: www.bhatele.org
>>  **
>>
>>
>>
>> --
>> Abhinav S Bhatele, Ph. D.
>> Webpage: www.bhatele.org
>>
>> _______________________________________________
>> 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
>>
>>
>





Archive powered by MHonArc 2.6.16.

Top of Page