On Fri, Jul 1, 2016 at 4:00 PM, Stephanie Tonnesen <stonnes@gmail.com> wrote:import h5pyBy running my code via a command line, I find thatHi Nathan,I am not sure how to get a core dump or how to make gdb give me useful things. But maybe this will help...import scipyimport ytfrom yt.analysis_modules.cosmological_observation.api import LightRayall are fine. But,from yt.analysis.modules.absorption_spectrum.api import AbsorptionSpectrumfrom yt.analysis.modules.absorption_spectrum.api import generate_total_fitAnd both of these succeed when scipy isn't installed?What happens if you do:import scipy.optimizeAlso you're using the conda-based python that the latest version of the install script builds, right? Maybe you should try the conda binary builds instead:$ pip uninstall scipy$ conda install scipyboth give me a Segmentation fault and kick me out of pythonI can keep trying to figure out how to have gdb give me something useful, but does this give any clues in the meantime?Thanks,Stephaniestonnes@gmail.comCarnegie Observatories, Pasadena, CA--Alvin E. Nashman Postdoctoral Fellow
Dr. Stephanie TonnesenOn Fri, Jul 1, 2016 at 12:28 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:Hi Stephanie,It's very hard to say what's going wrong without more information.Can you get a core dump or run python under gdb to get a stack trace at the place where the segmentation fault happens?Can you run this on your laptop? If so, do you get a segmentation fault there?-NathanOn Fri, Jul 1, 2016 at 2:25 PM, Stephanie Tonnesen <stonnes@gmail.com> wrote:_______________________________________________However, then my submission script no longer worked at all and I was given the error:scipy was installed.>pip install scipyyt told me I needed scipy for this to work. yt does not have scipy. So I typed:Hi all,I have the yt-conda installation of yt. I am trying to create an absorption spectrum, so need the command "generate_total_fit".
/var/spool/torque/mom_priv/jobs/50052.mies.stanford.edu.SC: line 26: 3750 Segmentation fault python HI_absorbers.pyWhen I pip uninstall scipy, my code runs again!The only commands in my script aresource /home/stonnes/yt-conda/bin/activatepython HI_absorbers.pyCan anyone help me out with this?Thanks!Stephaniestonnes@gmail.comCarnegie Observatories, Pasadena, CA--Alvin E. Nashman Postdoctoral Fellow
Dr. Stephanie Tonnesen
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org