Re: charm++ over MPI

From: Gengbin Zheng (gzheng_at_ks.uiuc.edu)
Date: Fri Feb 17 2006 - 10:30:18 CST

Bogdan Costescu wrote:

>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 ;-)
>
>
>
Good to know it works.
It will appear in the build help page. :-) But it probaby should appear
if you type:
 ./build charm++ mpi-linux help
which lists all build options supported specific to mpi-linux.

pthreads is not a recommended way of building charm, it is a workaround
with possibly lower performance. However luckily it is not quite an
issue for NAMD.

Gengbin

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:41:39 CST