<div dir="ltr">Hi Turhan,<div><br></div><div>There are numerous methods for installing the HDF5 libraries including conda (<a href="http://conda.pydata.org/docs/install/quick.html#linux-miniconda-install">http://conda.pydata.org/docs/install/quick.html#linux-miniconda-install</a>) or just building hdf5 from source (<a href="https://support.hdfgroup.org/HDF5/release/obtainsrc.html">https://support.hdfgroup.org/HDF5/release/obtainsrc.html</a>).  </div><div><br></div><div>Aside from that, I am not sure what to tell you about other help with installing gadget.  After all, this is the yt mailing list, not the gadget help list.  Looks like there is some info here: <a href="http://wwwmpa.mpa-garching.mpg.de/gadget/html/">http://wwwmpa.mpa-garching.mpg.de/gadget/html/</a> .  Good luck with the install!</div><div><br></div><div>Cameron</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 18, 2016 at 4:01 PM, turhan nasri <span dir="ltr"><<a href="mailto:turhannasri@gmail.com" target="_blank">turhannasri@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi, <br></div>I am just starting to learn the SPH simulation code Gadget2, I followed this tutorial <a href="https://astrobites.org/2011/04/02/installing-and-running-gadget-2/" target="_blank">https://astrobites.org/2011/<wbr>04/02/installing-and-running-<wbr>gadget-2/</a> and succesfully ran the simulation and got some output files.<br></div>However, I needed to comment out the -DHAVE HDF5 to avoid compilation error and now I have no good way to visualize my output. I srated with SPLASH but still trying to figure out how to deal with some error there.<br><br></div>I figured out yt has analysis tool for Gadget outputs and I would very much love to try yt. I would very appreciate if anyone tells me how to get Gadget output in HDF5 formate. <br></div>I am using ubuntu 16.04LTS. I need to know how to install HDF5 or necessary package in my machine to get the HDF5 output first. laso If you tell me a little how to change the Gadget Makefile for that, that would be very nice. I am quoting some excerpt from my Makefile.<br><br><br>#-----------------------------<wbr>---------- Output <br>OPT   +=  -DHAVE_HDF5  <br>#OPT   +=  -DOUTPUTPOTENTIAL<br>#OPT   +=  -DOUTPUTACCELERATION<br>#OPT   +=  -DOUTPUTCHANGEOFENTROPY<br>#OPT   +=  -DOUTPUTTIMESTEP<br><br>#-----------------------------<wbr>------------------------------<wbr>-----------<br># Here, select compile environment for the target machine. This may need <br># adjustment, depending on your local system. Follow the examples to add<br># additional target platforms, and to get things properly compiled.<br>#-----------------------------<wbr>------------------------------<wbr>-----------<br><br>#-----------------------------<wbr>---------- Select some defaults<br><br>CC       =  mpicc               # sets the C-compiler<br>OPTIMIZE =  -O2 -Wall -g        # sets optimization and warning flags<br>MPICHLIB =  -lmpich<br><br><br>#-----------------------------<wbr>---------- Select target computer<br><br>SYSTYPE="trina"<br>#SYSTYPE="Mako"<br>#SYSTYPE="Regatta"<br>#SYSTYPE="RZG_LinuxCluster"<br>#SYSTYPE="RZG_LinuxCluster-<wbr>gcc"<br>#SYSTYPE="OpteronMPA"<br>#SYSTYPE="OPA-Cluster32"<br>#SYSTYPE="OPA-Cluster64"<br><br><br>#-----------------------------<wbr>---------- Adjust settings for target computer<br><br>ifeq ($(SYSTYPE),"trina")<br>CC       =  mpicc   <br>OPTIMIZE =  -O3 -Wall<br>GSL_INCL = -I/usr/local/include<br>GSL_LIBS = -L/usr/local/lib<br>FFTW_INCL= -I/usr/local/include<br>FFTW_LIBS= -L/usr/local/lib<br>MPICHLIB = -L/usr/lib<br>endif<br><br><br></div>and sorry for spaming the yt list with Gadget2 stuff.<br></div>thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Turhan<br><div><div><div><br></div></div></div></font></span></div>
<br>______________________________<wbr>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/<wbr>listinfo.cgi/yt-users-<wbr>spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Cameron Hummels<div><span style="font-size:12.8000001907349px">NSF Postdoctoral Fellow</span></div><div><span style="font-size:12.8000001907349px">Department of Astronomy</span></div><div><span style="font-size:12.8000001907349px">California Institute of Technology</span><br></div><div><a href="http://chummels.org" style="font-size:12.8000001907349px" target="_blank">http://chummels.org</a><br></div></div></div></div>
</div>