Hi,
What backend are you compiling with (java, c++)? Which x10rt
implementation are you linking with (sockets, standalone...)?
Do you have a small test case to share with us?
Could you try X10_STATIC_THREADS=1 instead just be sure this is not a
parsing issue?
Are you sure the setting is visible to the app (exported)?
Could you print Runtime.STATIC_THREADS at the beginning of your app?
BTW, X10_STATIC_THREADS is an undocumented feature.
It is not intended to support the full X10 language.
Many programs require this to be unset to run to completion.
Olivier
"Christopher Frieler" <chris-frie...@gmx.net> wrote on 02/26/2012 08:23:05
AM:
> From: "Christopher Frieler" <chris-frie...@gmx.net>
> To: <X10-users@lists.sourceforge.net>,
> Date: 02/26/2012 08:24 AM
> Subject: [X10-users] More threads than specified in X10_NTHREADS.
>
> Hi,
>
> I’m running my x10-program with the environment-variable
> X10_NTHREADS set to different values and X10_STATIC_THREADS set to
> “true”, but everytime I get many more threads than the worker-
> threads. Further the number of actual threads is neither higher than
> the number of worker-threads by a constant offset, nor does it grow
> linearly with the number of worker-threads. During the calculations
> only as many threads as specified in X10_NTHREADS are up to 100% busy.
> I could imagine a few more threads for scheduling and garbage-
> collection, but what are all the other threads doing? Can anyoneone
> tell me? I’m using native C++-backend.
>
> Thanks in advance,
> Christopher
>
------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users