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