Note that if you have an atnf unix account you can just type mirsync to update your installation (or mirsync -u abc123 where abc123 is your atnf account name).
Now Miriad should be ready to run, change to your data directory and start miriad: e.g.,.Execute the MIRRC.sh script and set your PATH:.Cut and paste the following incantations: Also, as far as I know, now brew switch is obsolete. brew list -versions gcc returns gcc 10.2.04 however brew list -versions gcc9 returns gcc9 9.3.01. If it does, then probably you can use brew switch gcc 9.3.0 to go to the old version and use it. We just need to fix the MIRRC script to make it work. First check if brew list -versions gcc returns the old version. After this there should be a miriad directory with the binary installation.Tar xzf miriad-darwin_x86_64.tar.bz2 (or miriad-darwin_2) Use brew to install gfortran (brew install gfortran) and if needed set DYLD_FALLBACK_LIBRARY_PATH to point to the locations of libgfortran.5.dylib and libX11.6.dylib to get it to run. Use brew to install gfortran (brew install gfortran) and if needed set DYLDFALLBACKLIBRARYPATH to point to the locations of libgfortran.5.dylib and libX11.6.dylib to get it to run. You may need to install gfortran libraries and X11/ XQuartz. You may need to install gfortran libraries and X11/ XQuartz. The above x86 version should work on OSX 10.11 or later. The arm64 version is still experimental.The above x86 version should work on OSX 10.11 or later.Download the files 2 and miriad-darwin_x86_64.tar.bz2 or miriad-darwin_2 (for apple silicon), e.g., with:.Open a Terminal window, choose where you want to install miriad (this can be your home directory), cd to that directory. (Or, easy_install pip and then pip install numpy pip install scipy.Install Miriad using binary installation on a Mac Install Miriad using binary installation on a Mac use the right easy_install to just do easy_install numpy easy_install scipy.This is just brew install gfortran if you use Homebrew. make sure you have the gfortran compiler for scipy.make sure you have setuptools/distribute installed in your installation: run distribute_setup.py from the new python.If you have the OSX developer tools installed, you should be able to install from source without much trouble. Download the installer, and run it (accept the GNU Public License, choose an directory to install gfortran, and let it work. pip install numpy -upgradeĬheck how many tests it fails ) sudo pip install nose
If it complains you have an older version of bumpy installed, upgrade it. Install latest version of Xcode/devtools and fortran ( ). Here are the versions that I am using (some version numbers missing, my notes are not complete):Īt the end of the day, is the easiest way to install everything. Following this advice, I was able to get scipy and numpy to work without enthought. recommends installing an updated version of python 2.x instead of the version that comes with OSX.
They also offer a more extensive distribution that is free only for academic use, otherwise you have to pay for it. They have a free version that includes python and the two packages you want, and the iPython console that I like a lot. A simple and easy way to install numpy and scipy without going through version conflicts is to use the Enthought python distribution.