You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
- Install XCode from Apple App Store
- Install command-line tools through XCode (see Preferences menu, note that the command-line tools are shipped with recent versions of XCode automatically)
- Install gfortran for Mac OS X from https://gcc.gnu.org/wiki/GFortranBinaries#MacOS
- Install MacPorts from http://www.macports.org/install.php
- Install packages using MacPorts
- Go to Terminal
- Run "sudo port install subversion autoconf automake libtool netcdf netcdf-fortran pkg-config"
- Give your password if requested
- Install the mako Python package using easy_install (or pip)
- Go to Terminal
- Run "sudo easy_install mako"
- Register at http://xbeach.org (upper-right corner)
- Create a directory to store the XBeach source code
- Download XBeach using subversion
- Compile XBeach
- Go to Terminal
- Navigate to the "trunk" subdirectory using "cd trunk"
- Run “./autogen.sh”
- Run "./configure --with-netcdf"
- Run "make"
- The XBeach executable will be in the "dist" or "src/xbeach" subdirectory