Skip to Content.
Sympa Menu

charm - Re: [charm] build arch: mpi-darwin

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] build arch: mpi-darwin


Chronological Thread 
  • From: "Casey W. Stark" <caseywstark AT gmail.com>
  • To: Pritish Jetley <pjetley2 AT uiuc.edu>
  • Cc: charm <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] build arch: mpi-darwin
  • Date: Fri, 23 Sep 2011 11:55:26 -0700
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Hi Pritish.

Thanks for the suggestion. I know it's a bit silly to use the mpi build on a single node. I was just trying this because I know that's what you would build for larger machines. Eventually, I want to use charm on Hopper. Maybe it doesn't matter, but I thought it would be good to use the same parallel scheme in dev and production. It's a long way off anyway.

Does this mean you don't support mpi versions on Macs? I understand if it's a pain supporting the custom apple stuff, just want to be sure.

I tried multicore-darwin-x86_64 and it aborted when I used gcc 4.6.0. I noticed that charm depends on the Apple-only -arch option, so it fails with newer (not apple built) versions of gcc. I might want gfortran for some of my code also, so I'm not sure how to reconcile that.

When I try multicore-darwin-x86_64 with the system gcc, "i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)", it also aborts. I checked multicore-darwin-x86_64/tmp/charmconfig.out:

g++ -arch x86_64 -Wno-long-double -fPIC -dynamic -fno-common -D_REENTRANT -I../include -I. -c test.cpp -o test.o
cc1plus: error: unrecognized command line option "-Wno-long-double"

It appears that the charm build system is using the deprecated -Wno-long-double option. Is there an easy way to get rid of this flag?

Best,
Casey


On Fri, Sep 23, 2011 at 9:20 AM, Pritish Jetley <pjetley2 AT uiuc.edu> wrote:
Hi Casey,

Are you trying to install Charm++ on your Macbook? If so, you don't really need an MPI build. You could just use the multicore build of Charm++:

./build charm++ multicore-darwin-x86  OR  ./build charm++ multicore-darwin-x86_64 

depending on your platform. You could also build a version that uses sockets for communication: 

./build charm++ net-darwin-x86 OR ./build charm++ net-darwin-x86_64

Pritish

On Thu, Sep 22, 2011 at 12:13 AM, Casey W. Stark <caseywstark AT gmail.com> wrote:
I'm trying to build charm 6.2 with Open MPI on an Intel Macbook Pro. I have gcc 4.6.0 and open mpi 1.4.3 and have added those paths to PATH, LD_LIBRARY_PATH, and DYLD_LIBRARY_PATH. I'm running OS X 10.6.8.

When I try `./build -help` and set multicore support, it stops with the message: "We could not figure out how to build charm with those options on this platform, please manually build
Try something similar to: ./build charm++ mpi-darwin   mpicxx    -O2". I tried this, but the build script says "Error> build can not find arch: mpi-darwin!"

I also tried mpi-linux and mpi-linux-x86_64 just in case, but those fail during QuickThreads (error code 1).

Am I missing something? I would be happy to try it with another mpi lib if that could fix it.

Best,
Casey

_______________________________________________
charm mailing list
charm AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/charm




--
Pritish Jetley
Doctoral Candidate, Computer Science
University of Illinois at Urbana-Champaign




Archive powered by MHonArc 2.6.16.

Top of Page