Once you have all of the software downloaded, you will need to extract the. Open-MPI is included with OS X so if you have a Mac, do not install an MPI library. Don’t download version 3.x of the FFTW library since it doesn’t include multiprocessor support. A Message Passing Interface (MPI) library such as Open-MPI or MPICH.Version 2.1.5 of the FFTW fast Fourier transform library.Version 1.9 of the GNU scientific library (GSL).I’ll be doing all of the simulations for this series of posts on my laptop, a Macbook Pro.įirst, you will need to download a few software packages. If you have a different system, it might not be possible to follow my instructions exactly. Since I have a Mac, I’m going to focus on getting these codes working on OS X Snow Leopard. On Windows, you’ll probably need to install cygwin which will give your Windows installation full UNIX support.Ī simulation of cosmic structure formation run with Gadget-2 (Springel et al. If you’re on a Mac, you’ll need to install and update Xcode, which includes all of the compilers you will need. If you’re running Linux or UNIX, you have all of the tools you will need to compile the codes already. The instructions for installing Gadget-2 will be highly platform dependent. Star command galaxies download mac how to#In a future post, I’ll discuss how to set up and run a simple hydrodynamics test problem. Gadget-2 is open source and publically available, so anyone can run simulations with it. So far, it looks like there’s been a dearth of posts on the tools of theoretical astrophysics, so I thought I’d take the opporunity to show how easy it is to run a simulation using Gadget-2, a smoothed particle hydrodynamics (or SPH) code. Today’s astrobite will be another in a series on career advice and useful astronomical tools. Click here for the second post in the series. This is the first of two posts detailing how to install and operate the Gadget-2 hydrodynamics code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |