This page provides instructions to install the DRAGON/DONJON distribution on a brand new Mac computer. All proposed downloads are free, althought some packages are Apple proprietary. This tutorial is released under the GNU Lesser General Public License.
Both Version4 and Version5 distributions can be installed using these instructions. However, OSX 10.15 (Catalina) and beyong are pure 64-bit operating systems. Consequently, only the Version5 distribution can be installed on these systems.
Installation steps:
Perform a Software Update check (from the apple menu).
Start the App Store application and downloads the Xcode package.
Go to the "Open Developer Tool/More Developer Tools..." pane of Xcode menu, log in your Apple Developer account and install the command line tools.
As an alternative, you may install the command line tools using the Terminal application by running the following command:
xcode-select --install
At this point, you may want to install two optional packages. These packages are not required if you plan to simply execute Version4 or Version5 components on your Mac, but may be useful for doing professional work.
Install the X11 package from XQuartz website. X11 is useful to communicate with other Linux or Unix workstations on your network or at remote locations.
Install the nedit editor and the gv PostScript interpreter from Homebrew website. nedit is a basic editor that exist on most Linux or Unix workstations. It can be used remotely without requiring high bandwidth. The interpreter gv is used at the end of the installation script for compiling the Latex documentation.
Install the gfortran compiler from Homebrew website.
Optional: Install the ANSI C HDF5 bindings and the python3 platform from Homebrew website.
Download the Version4 or Version5 package from Merlin website. Read carefully the readme file and follow the instructions.
Add environment variables in the the .profile
or .zprofile
script. If you don't
activate HDF5 file support and/or python3 bindings, you don't need to make these modifications. Double check the version numbers in these
lines. For example, on the Catalina OS, include the following lines:
DRAGON/DONJON software is owned by: École Polytechnique de
Montréal
For more information contact: Alain
Hébert