-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there;
Indeed if you read the documentation of Python, you'll see that the
python byte-code interpreter is not able to run multiple thread at any
given time... So know what I'm not sure is if the ray tracing code of
pymol is in python or another language (C, C++???). If the ray tracing
code is in Python, you will never be able to see a single pymol process
using running on more than a single processor (at a given time).
SergE.
Le 19 avr. 05, à 15:57, EPF (Esben Peter Friis) a écrit :
Hi Neil
Have you tried the command
set max_threads, 4
That should enforce 4 threads, even on single CPU machines. Then it's
up to the kernel scheduler to distribute them to the defferent CPUs
Cheers,
Esben
-----Original Message-----
From: pymol-users-ad...@lists.sourceforge.net
[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Neil
Ranson
Sent: 19. april 2005 13:34
To: PyMOL-users@lists.sourceforge.net
Subject: [PyMOL] multi cpu rendering
Dear All,
I’ve been preparing figures for a manuscript on a Sun v40z with 4 x
Opteron 850 cpu’s and 8Gb of memory (and Suse9.0). When I start
pymol:
> pymol.com –c script.pml
pymol says that it detects 4cpu and enables multithreaded rendering,
but I never see it using more than one cpu.
Especially for producing ray traced movies, I’d really like to see
the multiprocessing benefits.
Does anyone have any suggestions?
Cheers,
Neil
*******************************************
Serge Cohen
GPG Key ID: 9CBB58FB
*******************************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFCZjod5EPeG5y7WPsRAhYdAJ93jPF22nll0YM4ahLiPR9x9CuotgCcC7F6
hc+9FVkGhzUsUjc+B+MG0LU=
=jSeg
-----END PGP SIGNATURE-----