[yt-users] Trying to use 16 CPUs via a python notebook

Rick Sarmento rsarment at asu.edu
Wed Jan 14 18:49:38 PST 2015


Hello,

I’m pretty new to yt… I’m trying to speed things up significantly since I have rather large RAMSES datasets (running 3Mpc sims with 2^9^3 particles). I’m using STAMPEDE at TACC, https://vis.tacc.utexas.edu/# , to startup a notebook on their visualization nodes (each has 16 cores). I’m trying to use

import yt
yt.enable_parallelism()
ds = yt.load("./output_00011/info_00011.txt”)

and then

# Looking through the "z" axis... Plot temp weighted by density
p = yt.ProjectionPlot(ds, "z", "temperature", weight_field="density")
p.annotate_title(z)
p.show()

but I only see one python process via top … and NO speedup. What do I need to do to take advantage of the 16 cores?


Cheers!

Rick Sarmento
SESE Astronomy/Astrophysics Grad Student
rsarment at asu.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150114/8197b9ed/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2015-01-14 at 7.44.02 PM.png
Type: image/png
Size: 477282 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150114/8197b9ed/attachment.png>


More information about the yt-users mailing list