# Install the following packages (or verify you have them already):
#Install and compile MeteoIO libraries.
This will include to install the Developers tools, Homebrew and other required libraries. See instructions here
#Check if you have git, otherwise install
brew install git
brew install pkg-config
brew install boost
# download GEOtop
git clone https://code.google.com/p/geotop/
If you do not have installed before, from CMake website. When you start it a window as the one below appears:
Please, observe that, on top the path to source code has been specified, and just below, the path to binaries. click the Configure button to configure the Cmake. If not already present, add the path to MeteoIO libraires: /usr/local. After configuration, the screen should appear as below:
# make the project
In terminal cd to the directories were binaries will be created anc check if the Makefile is present. Issue the command:
# copy either using Finder Window or Terminal commands the binaries files generated to a standard place.
I chose "/usr/local/GEOtop".
This directory is actually not a standard one, However, I placed a symbolic link into /usr/local/bin, which is a directory usually already present in the Terminal path.
$ln -s ../GEOtop/geotop geotop
#try geotop example. Due to previous operation
cd to the directory (folder) tests/test_sample_run/small_example (for instance this, among the others)
$ geotop ./
If you did it well and the goddess of programmers assisted you, it should work, as it did for me.