[parsec-users] Using Pthreadw

Anusha anu.jeya at gmail.com
Sun Nov 28 10:28:23 EST 2010


Chris,

I did set the IM_CONCURRENCY variable but it doesn't seem to have any
effect.

- Do I set the IM_CONCURRENCY variable and recompile again with pthreadw
build configuration?

-Anusha

2010/11/27 Christian Bienia <cbienia at cs.princeton.edu>

> 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
>
> _______________________________________________
> 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/20101128/9980f809/attachment.htm>


More information about the parsec-users mailing list