[parsec-users] parallel execution of facesim

Qingyuan Deng ddqqyy at gmail.com
Wed Jul 23 04:14:21 EDT 2008


Hi Chris,
I am trying to specify the thread number of facesim, is that by spesifying
"facesim -thread  n" ? I  change the n value but always got 128 threads
running...
Regards,
Qingyuan

2008/7/22 Christian Bienia <cbienia at cs.princeton.edu>:

> 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
> zhang
> 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
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20080723/de3342b8/attachment.html>


More information about the parsec-users mailing list