[yt-users] Yt line query: Segmentation fault (core dumped)

Nathan Goldbaum nathan12343 at gmail.com
Sun Jul 9 17:06:09 PDT 2017


Hi,

Thank you for the detailed report. I was able to reproduce this locally on
yt 3.3.5. Thankfully, it looks like we've already fixed this in the
development branch. I'm not sure when that happened, I'd probably need to
bisect to find the exact change - I know there were a number of
improvements to rays that happened to support Trident.

To get the fix right now, you can switch to running yt from the development
branch. If you installed yt using the install script, simply rerun it after
editing to set INST_YT_SOURCE=1. If you installed with conda, you can get
nightly conda builds as described in the docs here:

http://yt-project.org/docs/dev/installing.html#nightly-conda-builds

And failing all that, you can follow the instructions in the docs to
install from the git repository:

http://yt-project.org/docs/dev/installing.html#installing-yt-from-source

Sorry for the trouble. We should have a new release of yt (version 3.4) out
with a fix for this very soon. My plan is to work on getting the fix out
the door during the sprints for the scipy conference next weekend.
Hopefully this next release will include a couple of fixes for Ramses data,
including support for Ramses-RT datasets:

https://github.com/yt-project/yt/pull/1456

and support for extra particle fields:

https://github.com/yt-project/yt/pull/1470


On Sun, Jul 9, 2017 at 6:26 PM Chongchong He <chongchong at astro.umd.edu>
wrote:

> Dear Sir/Madam,
>
> I came into a problem when using yt to deal with my RAMSES data. The
> procedures to produce the error and some info is as follow. Do you have any
> idea what’s going wrong here?
>
> I use the data from yt-project.org/data/, in the row of
> ramses_extra_fields_small. The python code that generates this issue is
> uploaded to http://paste.yt-project.org/show/7203/
>
> On macOS Sierra 10.12.5
>
> The print-out message:
> yt : [INFO     ] 2017-07-09 14:06:59,521 Parameters: current_time
>       = 0.03744727779
> yt : [INFO     ] 2017-07-09 14:06:59,521 Parameters: domain_dimensions
>     = [32 32 32]
> yt : [INFO     ] 2017-07-09 14:06:59,521 Parameters: domain_left_edge
>     = [ 0.  0.  0.]
> yt : [INFO     ] 2017-07-09 14:06:59,521 Parameters: domain_right_edge
>     = [ 1.  1.  1.]
> yt : [INFO     ] 2017-07-09 14:06:59,521 Parameters:
> cosmological_simulation   = 0
> Segmentation fault: 11
>
> Some info:
> *~*$ yt version
>
> yt module located at:
>     /Users/chongchonghe/local/yt-conda/lib/python2.7/site-packages
>
> The current version of yt is:
>
> ---
> Version = 3.4-dev
> ---
> *~*$ python --version
> Python 2.7.13
>
>
> On Red Hat Enterprise Linux Server 7.3
>
> The print-out message:
> yt : [INFO     ] 2017-07-09 14:19:10,883 Parameters: current_time
>       = 0.03744727779
> yt : [INFO     ] 2017-07-09 14:19:10,883 Parameters: domain_dimensions
>     = [32 32 32]
> yt : [INFO     ] 2017-07-09 14:19:10,884 Parameters: domain_left_edge
>     = [ 0.  0.  0.]
> yt : [INFO     ] 2017-07-09 14:19:10,884 Parameters: domain_right_edge
>     = [ 1.  1.  1.]
> yt : [INFO     ] 2017-07-09 14:19:10,884 Parameters:
> cosmological_simulation   = 0
> Segmentation fault (core dumped)
>
> Some info:
> startrek% yt version
>
> yt module located at:
>     /startrek/chongchong/codes/yt-conda/lib/python2.7/site-packages
>
> The current version of yt is:
>
> ---
> Version = 3.3.5
> ---
> startrek% python --version
> Python 2.7.13 :: Continuum Analytics, Inc.
>
>
> Many thanks,
>
> ChongChong He
> Graduate Student, Department of Astronomy
> University of Maryland, College Park, 20742, MD
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20170709/7a9e37b4/attachment-0001.htm>


More information about the yt-users mailing list