<div dir="ltr">Yes indeed.  It's a gigantic pain.  Here are instructions.  Good luck!<div><br></div><div>-----------------</div><div><br></div><div><div>0) Get the GNU software environment set up:  “module swap PrgEnv-cray PrgEnv-gnu” .  This will be necessary later.</div><div><br></div><div>1)  Install the Anaconda python distribution (<a href="https://store.continuum.io/cshop/anaconda/">https://store.continuum.io/cshop/anaconda/</a>) for 64-bit Linux systems.  Refresh your path so the Anaconda python’s in your path.</div><div><br></div><div>2)  Download mpi4py from <a href="https://bitbucket.org/mpi4py/mpi4py/">https://bitbucket.org/mpi4py/mpi4py/</a>, or grab it from my home directory on Blue Waters (~bwoshea/mpi4py-1.3.1.tar.gz).</div><div><br></div><div>3)  Once you’ve unpacked it in your home directory, edit the file mpi.cfg, which is in the top-level mpi4py directory, and add the following chunk of text at the end of the file:</div><div><br></div><div>[cray]</div><div>mpicc = cc</div><div>mpicxx = CC</div><div>extra_link_args = -shared</div><div><br></div><div>then, in the top-level mpi4py directory, type:</div><div><br></div><div>python setup.py build --mpi=cray</div><div>python setp.py install</div><div><br></div><div>At this point, you should have a functional version of mpi4py that uses the cray MPI libraries.  </div><div><br></div><div>4)  You can then install yt via source in your home directory:</div><div><br></div><div>hg clone <a href="https://bitbucket.org/yt_analysis/yt">https://bitbucket.org/yt_analysis/yt</a></div><div>hg update yt</div><div>python setup.py develop</div><div><br></div><div>And it should work, though you’re going to need to modify your LD_LIBRARY_PATH to point to your anaconda /lib directory.  You can verify that yt and mpi4py are playing nicely together by running the scripts hw_MPI.py and yt_parallel_test.py, both of which are sitting in my home directory.  (Note that you can do this via batch script or through the interactive queue, both with aprun - you can’t just do it from the login node.)</div><div><br></div><div>5) and, optionally, if you want to install Rockstar using yt from source, you do the following:</div><div><br></div><div>hg clone <a href="http://bitbucket.org/MatthewTurk/rockstar">http://bitbucket.org/MatthewTurk/rockstar</a></div><div>cd rockstar</div><div>hg pull</div><div>hg up -C tip</div><div>make lib</div><div><br></div><div>and *then* make a file called rockstar.cfg that has a single line of text: the path of the rockstar source code directory.  At that point, you need to run “python setup.py develop” again, and yt will recognize that rockstar has been installed and play nicely with it.  You will likely also have to modify your LD_LIBRARY_PATH to point at your rockstar directory so it can find the rockstar library (librockstar.so).</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 5:04 PM, Jonah Miller <span dir="ltr"><<a href="mailto:jonah.maxwell.miller@gmail.com" target="_blank">jonah.maxwell.miller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi yt users,<br>
<br>
Does anybody have experience installing the development version of yt on blue waters (as opposed to relying on the module pre-provided)? If so, do you have any tips or gotchas? I will be attempting an installation in the next few days and I'm sort of hoping it's a solved problem.<br>
<br>
Best,<br>
Jonah Miller<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>