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: "Kanakagiri, Raghavendra" <raghaven AT illinois.edu>
  • To: Joshua Studen <joshua.studen AT gmail.com>, "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: Thu, 7 Mar 2019 21:41:45 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=raghaven AT illinois.edu; dkim=pass header.d=uillinoisedu.onmicrosoft.com header.s=selector1-illinois-edu; dmarc=pass header.from=illinois.edu

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