Skip to Content.
Sympa Menu

charm - Re: [charm] Can't get seem to build an SMP version of charm++

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Can't get seem to build an SMP version of charm++


Chronological Thread 
  • From: Joshua Studen <joshua.studen AT gmail.com>
  • To: "Kanakagiri, Raghavendra" <raghaven AT illinois.edu>
  • Cc: "charm AT lists.cs.illinois.edu" <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Can't get seem to build an SMP version of charm++
  • Date: Tue, 12 Mar 2019 13:54:03 -0700
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=joshua.studen AT gmail.com; dkim=pass header.d=gmail.com header.s=20161025; dmarc=pass header.from=gmail.com

Okay, I have gotten this to build. The app that I am using right now uses charm 6.7.0. If I compile against 6.9.0, I get compilation errors, so I am sticking with 6.7.0 for now. 

When I try something with ppn, I get mpirun related errors. Here's an example using the simplearrayhello test:

./charmrun ++autoProvision ./hello

Running on 1 processors:  ++autoProvision ./hello
charmrun>  /usr/bin/setarch x86_64 -R  mpirun -np 1  ++autoProvision ./hello
[skynet] HYD_spawn (../../../../../src/pm/i_hydra/libhydra/spawn/hydra_spawn.c:113): execvp error on file ++autoProvision (No such file or directory)

Any advice?

On Thu, Mar 7, 2019 at 1:41 PM Kanakagiri, Raghavendra <raghaven AT illinois.edu> wrote:

Hi Joshua Studen,

There seems to be no issue with the steps you are following.

Is it a fresh build? In other words, are you running the build command on a previous installation?

Can you try a fresh smp build, and also run the test program without specifying the hosts parameter (just trying to get the basic setup running first).

Also, is there any particular reason to use the 6.7.0 version of Charm++? (The last update to this version was in 2015). We recommend you to try version 6.9.0.

If it doesn't work, please don't hesitate to email us back.

 

 

Thank you,

Raghavendra

 

From: Joshua Studen <joshua.studen AT gmail.com>
Reply-To: Joshua Studen <joshua.studen AT gmail.com>
Date: Thursday, 7 March 2019 at 10:49 AM
To: <charm AT lists.cs.illinois.edu>
Subject: [charm] Can't get seem to build an SMP version of charm++

 

Hi All,


I am trying to compile an SMP version of charm++, but I can't seem to get it to work. I always get an error:

 

Reason: +ppn cannot be used in non SMP version!

 

Here is how I compile:

 

./build charm++ mpi-linux-x86_64 smp --with-production -j8 --destination=$HOME/charm_install

 

I then try to sample test program:

 

~/charm_install/tests/charm++/simplearrayhello> ./charmrun -hosts c002n0008 ./hello +p 2 +ppn 2

 

charmrun>  /usr/bin/setarch x86_64 -R  mpirun -np 1  -hosts c002n0008 ./hello +ppn 2

------- Partition 0 Processor 0 Exiting: Called CmiAbort ------

Reason: +ppn cannot be used in non SMP version!

 

The charm version is 6.7.0. Any advice on what I'm doing wrong?

 

Regards,

Josh




Archive powered by MHonArc 2.6.19.

Top of Page