Showing posts with label Compiling. Show all posts
Showing posts with label Compiling. Show all posts

Thursday, August 27, 2015

Executables of GEOtop 2.0 for Windows 7

Please refers to this post at the GrowWorkingHard blog by Francesco Serafin.
Therefore we have:
Please observe that these executables assume the use of the MeteoIO libraries, for input data interpolation and treatment, and not at all the use of the internal routines, called meteodistr. Therefore some of the examples, based on the latter routines, could not work.
Enjoy!

Tuesday, April 8, 2014

Installing GEOtop 2.0 on Linux

I receive from Matteo Dall'Amico and I publish the following instruction to compile GEOtop 2.0 from command line on Linux.

# Install the following packages (or verify you have them already):

# install GIT
sudo apt-get install git

#Install and compile MeteoIO libraries
See instructions here

#Install pkg-config
sudo apt-get install pkg-config

# install boost libraries
sudo apt-get install libboost-dev
sudo apt-get install libboost-test-dev
sudo apt-get install libboost-regex-dev
sudo apt-get install libboost-program-options-dev
sudo apt-get install libboost-filesystem-dev
sudo apt-get install libboost-iostreams-dev

# install autoconf
sudo apt-get install autoconf

# download GEOtop
git clone https://github.com/skyglobe/geotop#

# go inside the geotop folder
cd geotop










# create the makefile
ccmake .

# add the path of MeteoIO: /usr/local
# To process the file press "c" (like "configure") and then "g" (like "generate")
# make the project
make

#try geotop example
cd tests/test_sample_run/small_example

#create symbolic link
ln -s ../../../geotop/geotop geotop_TN

#run geotop_TN
./geotop_TN .