🏠
Working from home
Computational astrophysicist
- New Mexico
-
02:37
(UTC -07:00) - https://trwaters.github.io/
Pinned Loading
-
FigAxe
FigAxe PublicProductivity tool to automate the process of making publication-ready plots with matplotlib
Python
-
multiphaseAGNdiskwinds
multiphaseAGNdiskwinds PublicSimulations from Waters, Proga, & Dannen (2021)
HTML
-
How to compile Athena++ with hdf5 th...
How to compile Athena++ with hdf5 the easy way 1On a linux machine, it's possible to avoid building hdf5 from source in order to compile Athena++ with hdf5 output enabled, both with and without MPI. On OS X, however, there seems to be no way around building HDF5 from source to compile Athena++ with both MPI and HDF5. The directions below suffice if MPI capability isn't needed. Otherwise, follow [these instructions](https://gist.github.com/trwaters/b354fabdf7ef7c53ad259e0876f3d897) instead after installing Anaconda and doing `conda install h5py`.
23Since the anaconda python distribution is so widely used and HDF5 libraries are needed to read Athena++ output, here I simply access the same library for Athena++ to use to write the HDF5 files.
45Installing the hdf5 libraries using conda should be as simple as `conda install h5py`.
-
Compile Athena++ with MPI on Ubuntu
Compile Athena++ with MPI on Ubuntu 1Continuing the theme of using conda to install all the libraries necessary for running Athena++ simulations in parallel
2(see my [previous gist](https://gist.github.com/trwaters/1d5d28e2def25ad47b14c1518f4dca8e) on installing hdf5), here I'll walk through the steps I took for MPI, both for Ubuntu (20.04) and for OS X (10.11.6). First I installed mpi4py using
3`conda install mpi4py`\
4Then in Ubuntu I encountered the error `x86_64-conda_cos6-linux-gnu-c++ command not found`, and the fix was to install gxx_linux-64:
5`conda install gxx_linux-64`
-
join_tabs
join_tabs PublicMerge scripts for Athena++ tab dumps, analogous to join_vtk++ included in vis folder of public Athena++ repo
C++
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.