On 06/ 7/10 07:21 PM, Minh Nguyen wrote:
Hi David,

On Tue, Jun 8, 2010 at 2:55 AM, Dr. David Kirkby
<david.kir...@onetel.net>  wrote:
Either I'm doing it wrong, or the code which is supposed to let one run
ptestlong with>8 threads is not working. Each time it reports

I have:

1) Set NUM_THREADS=100 in 'makefile'
2) Exported NUM_THREADS=100 as an environment variable.

Neither seem to work, but instead I see:

Doctesting 2518 files doing 8 jobs in parallel

Are you doctesting using the command

$ make [ptestlong | ptest]

Yes.

or

$ ./sage -tp<n-thread>  [-long] /path/to/sage/devel/

No, I've not tried that.


I recall a discussion some time ago when I said I believed that the default
number of jobs should not be more than 8 even on machines with more
cores/threads, since these are generally multi-user machines and taking over
the things is not a great idea. So some code was implemented to limit the
jobs to 8. But unless I'm mistaken, this is not working.

I think when you do

$ make [ptestlong | ptest]

it defaults to the minimum of 8 threads and the number of cores on
your system. So on any machine that can support 8 threads, then 8
threads are used when you doctest with the latter command.

Yes, *defaults* but how do I override the default? I thought setting NUM_THREADS in makefile would do, but it does not.

Dave


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to