G2S: The GeoStatistical Server
A free and flexible multiple point (geo)statistics framework including state-of-the-art algorithms: QuickSampling and Narrow Distribution Selection
Installation of the server
Installation of the server on Ubuntu
- Install linuxbrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Run
brew install open-geocomputing/brew/g2s
- Use the
g2s
command
Installation of the server on macOS
- Install homebrew if not already done
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Run
brew install open-geocomputing/brew/g2s
- Use the
g2s
command
Installation of the server on Windows 10
- Check that the latest updates of Windows are installed
- Install WSL following these instructions, and select a Linux distribution (we recommend choosing Ubuntu for beginners).
- Install linuxbrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Run
brew install open-geocomputing/brew/g2s
- Use the
g2s
command
Installation of the server manually from source on Ubuntu
Automatic with GCC on Ubuntu
- First clone the code from this GitHub:
git clone https://github.com/GAIA-UNIL/G2S.git
- Then run
build/c++-build/install_needs_W_VM.sh
Manual (including Intel C++ Compiler)
- First clone the code from this GitHub:
git clone https://github.com/GAIA-UNIL/G2S.git
- Basics for compiling are needed (e.g. on Ubuntu: build-essential).
- The following packages are required: ZMQ, JsonnCpp and zlib for G2S; fftw3 for QS and NDS.
- To install them on Ubuntu:
sudo apt install build-essential libzmq3-dev libjsoncpp-dev zlib1g-dev libfftw3-dev libcurl4-openssl-dev -y
(libcurl4-openssl-dev is optional).
- The C++ extension for ZMQ is required too, and can be installed via:
wget "https://raw.githubusercontent.com/zeromq/cppzmq/master/zmq.hpp" -O ./include/zmq.hpp
- Go to the build subfolder.
- Run:
make -j
, if the Intel C++ compiler is installed, the adapted version will be compiled too. The Intel compiler can be downloaded freely in many cases: here.
To manually select between GCC or Intel compiler use make c++ -j
or make intel -j
, respectively.
- Run:
make install
Installation of the server manually from source on macOS
using Homebrew (now recommended)
- First clone the code from this GitHub:
git clone https://github.com/GAIA-UNIL/G2S.git
- Install the package manager Homebrew (if not already done)
- The following packages are required: ZMQ, JsonnCpp and zlib for G2S. fftw3 for QS and NDS.
- To install them with Homebrew:
brew install fftw zmq jsoncpp cppzmq curl
Note: curl is optional.
- Go to the
build
subfolder.
- Run:
make -j
, if the Intel C++ compiler is installed the adapted version will be compiled too. The Intel compiler can be downloaded freely in many cases: here. Obviously, Intel compiler is only for Intel CPUs 😁. To manually select between GCC or Intel compiler use make c++ -j
or make intel -j
, respectively.
- Run:
make install
using MacPort (now deprecated)
- First clone the code from this GitHub:
git clone https://github.com/GAIA-UNIL/G2S.git
- Install the package manager MacPort (if not already done)
- The following packages are required: ZMQ, JsonnCpp and zlib for G2S. fftw3 for QS and NDS.
- To install them with macPort:
sudo port install zmq-devel jsoncpp-devel zlib cppzmq-devel fftw-3 fftw-3-single curl
Note: curl is optional.
- Go to the
build
subfolder.
- Run:
make -j
, if the Intel C++ compiler is installed the adapted version will be compiled too. The Intel compiler can be downloaded freely in many cases: here.
To manually select between GCC or Intel compiler use make c++ -j
or make intel -j
, respectively.
- Run:
make install
Installation of the server manually from source on Windows 10
- Check that the latest updates of Windows are installed
- Install WSL following these instructions, and select a Linux distribution (we recommend choosing Ubuntu for beginners).
- Clone the code from this GitHub repository: https://github.com/GAIA-UNIL/G2S.git (or download and unzip the zip-file on the top right of this page).
- In Windows, go to the directory
build/c++-build
and run/double-click install.bat
.