Re: charm++ over MPI

From: Bogdan Costescu (
Date: Fri Feb 17 2006 - 06:27:52 CST

On Thu, 16 Feb 2006, Gengbin Zheng wrote:

> So try switching to "pthread" version of Charm++ user level threads
> by adding "-thread pthreads" in the charmc command line at link
> time.

This made it work. Thanks!

For the archives: To avoid specifying "-thread pthreads" for every
linking, the build process can be performed with:

./build charm++ mpi-linux pthreads ...

which will create a directory called mpi-linux-pthreads; charmc from
this directory does the "-thread pthreads" action by default. Too bad
that none of these were mentioned in the docs or in the help printed
by the "build" script... maybe they'll be added in the future ;-)

Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu_at_IWR.Uni-Heidelberg.De

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:43:19 CST