[parsec-users] Using Pthreadw

Christian Bienia cbienia at CS.Princeton.EDU
Sat Nov 27 23:51:08 EST 2010


Anusha,

 

You need to change the number of threads that vips uses. Pthreadw has
nothing to do with that, it'll automatically recognize and instrument all
threads that vips uses. Vips expects the number of threads via an
environment variable, check the run config files in the parsec/ directory to
see how to do that.

 

Best,

Chris

 

 

From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of Anusha
Sent: Saturday, November 27, 2010 11:33 PM
To: parsec-users at lists.cs.princeton.edu
Subject: [parsec-users] Using Pthreadw

 

Hi,

 

I am trying to use pthreadw to instrument pthread in PARSEC benchmark (for
now vips)

 

I compiled the benchmark using pthreadw but when I run the benchmark using
pthreadw

 

pthreadw ../inst/amd64-linux.gcc-pthreadw/bin/vips, 

 

the output displays the number of threads as 1.

 

How to change the number of threads, that is, how to give the number of
threads as command line argument for pthreadw?

 

-Anusha

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20101127/7c2376e4/attachment.htm>


More information about the parsec-users mailing list