Hi all,
I have trouble running yt in parallel on Blue Waters. I installed yt using
miniconda, the version of yt is
~/miniconda/lib $yt version
yt module located at:
/u/sciteam/madcpf/miniconda/lib/python2.7/site-packages/yt-3.3.dev0-py2.7-linux-x86_64.egg
The current version and changeset for the code is:
---
Version = 3.3-dev
Changeset = 90f900be7a36+ yt
Then with miniconda/bin in PATH I installed mpi4py-2.0.0. But when I tried
to make the following simple output in parallel, I get:
import yt
yt.enable_parallelism()
from yt.utilities.parallel_tools.parallel_analysis_interface import\
parallel_objects, communication_system
comm = communication_system.communicators[-1]
print comm.rank, comm.size
0 1
0 1
0 1
0 1
0 1
0 1
0 1
0 1
...
When I run a similar code but with yt-2.x also on Blue Waters, I get what I
expect:
7 16
15 16
6 16
9 16
11 16
8 16
0 16
4 16
...
I'm confused about it. Could anyone give me some suggestions please?
Thanks,
Pengfei

Dear yt-users,
I'm trying to plot some particle trajectories taken from a FLASH simulation that has particle files. The number of particle files is greater than the checkpoint files. I was wondering if I could use a similar recipe to the yt documentation for particle trajectories but loading data from the particle files instead of using the checkpoints so I have more trajectory points.
Thank you very much!
Ariadna

Hi,
I am trying to create a max_dens and max_temp sweep plot in yt. I am using
the following code
for n in range (0,118):
fn = flashFolder+'super3d_hdf5_plt_cnt_%04d' % n
pf = yt.load(fn) # load data
#print pf.current_time
c = pf.h.find_max('temp')[1]
ax = 0 # take a line cut along the x axis
# cutting through the y0,z0 such that we hit the max density
#ray = ds.h.ortho_ray(ax, (c[1], c[2]))
# ray with start and end point
ray = pf.h.ray([0.,0.,0.],c)
# Sort the ray values by 'x' so there are no discontinuities
# in the line plot
srt = np.argsort(ray['x'])
plt.subplot(211)
plt.semilogy(np.array(ray['x'][srt]), np.array(ray['dens'][srt]))
plt.ylabel('dens')
plt.subplot(212)
plt.semilogy(np.array(ray['x'][srt]), np.array(ray['temp'][srt]))
plt.xlabel('x')
plt.ylabel('temp')
plt.savefig("test_plots/den_temp_xsweep.png")
and getting the the following error:
IOError: [Errno 2] No such file or directory:
'test_plots/den_temp_xsweep.png'
Any suggestion on how to fix this error is highly appreciated.
THanks

Hi,
I have installed yt once with no problems, but now I'm trying to install
it on TACC/Stampede, and I'm getting an error message during the Python 2
installation stage:
Fatal: You must get working getaddrinfo() function.
or you can specify "--disable-ipv6"
I don't know what is getaddrinfo() and where I can get it.
I know what ipv6 is, but I don't know where I should specify
"--disable-ipv6" (and whether it is a good thing to do or I better get
working getaddrinfo() function).
If anyone got this error message and knows what to do please help.
Thanks,
Amit

​Hi Matthew​,
Thanks for the response. None of "px", "pdx", "py", and "pdy" work for
me. I perused the code a bit and it's not entirely clear why they don't.
The data_source for the frb in my case is a slice, as I showed and that
slice object does apparently have those fields defined -- for example doing
px = slc['px'] works, though of course the result is a 1D array of values.
It seems to be related to the _determine_fields method of the data_source
(slice) which rather than returning a tuple, in this case returns a
string. In any case, I don't really have time right now to look into it
any further.
Jon
On Tue, Apr 26, 2016 at 1:53 PM, <yt-users-request(a)lists.spacepope.org>
wrote:
> Hi Jon,
>
> This is expected behavior, but it probably isn't what you're looking
> for. dx and dr will be the "pixelized" values of those from the
> simulation, so they will reflect the cells that went into creating the
> FRB, rather than the values as they would be computed in the FRB
> itself. I think what you may be looking for may be accessible in the
> "px" "pdx" "py" and "pdy" fields, which refer to "in the pixel plane"
> and which will be with respect to the FRB.
>
--
________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin(a)cfa.harvard.edu 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
________________________________________________________