Skip to Content.
Sympa Menu

charm - [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

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


Chronological Thread 
  • From: Joshua Studen <joshua.studen AT gmail.com>
  • To: charm AT lists.cs.illinois.edu
  • Subject: [charm] Can't get seem to build an SMP version of charm++
  • Date: Wed, 6 Mar 2019 13:29:39 -0800
  • 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

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