[parsec-users] parallel execution of facesim

Christian Bienia cbienia at CS.Princeton.EDU
Tue Jul 22 11:12:07 EDT 2008

Hello JiaQi,

PHYSBAM_THREADS is the environment variable that controls how many threads
get used. Alternatively, you can also use the corresponding command line
flag. If you look in the initialization code of the benchmark you will see
that it also sets the environment variables.

I'm not sure what USE_REDUCTION_ROUTINES was used for. The PhysBAM library
that ships with PARSEC is just a small fraction of the full version (only
what is needed by facesim). The corresponding code has probably been
removed, and since it crashes if you enable it I recommend you leave it as
it is. :-)

- Chris

-----Original Message-----
From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of jiaqi
Sent: Monday, July 21, 2008 11:02 PM
To: parsec-users at lists.cs.princeton.edu
Subject: Re: [parsec-users] parallel execution of facesim

And, I got segmentation fault when I defined USE_REDUCTION_ROUTINES......

On Tue, Jul 22, 2008 at 10:10 AM, jiaqi zhang <zation99 at gmail.com> wrote:
> Hi,
> Due to my need, I have to manually build the facesim benchmark. I
> found the README says that I have to set PHYSBAM_THREADS to 1. Does it
> affect the parallel execution of the application? It seems to restrict
> the number of threads to 1 according to its name...
> Also, I found in the source file DIAGONALIZED_FINITE_VOLUME_3D.cpp
> that the file undefines USE_REDUCTION_ROUTINES, which controls the
> parallel behavior of the following methods. Could I turn it on? And
> what will happen then?
> Thanks very much.
> --
> Best regards
> JiaQi Zhang

Best regards
JiaQi Zhang
parsec-users mailing list
parsec-users at lists.cs.princeton.edu

More information about the parsec-users mailing list