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 interfaces

Python

Automatic installation

Simply use pip install G2S

Manual compilation

  1. If needed Python and Numpy: sudo apt install python3-distutils python3-dev python3-numpy -y
  2. (A C++ compiler with c++17 is required)
  3. Go to build/python-build
  4. Run python3 setup.py install --user

Check proper interface installation

Simply run from g2s import g2s; g2s('--version')

MATLAB

Installation on Ubuntu

  1. (A C++ compiler with c++17 is required)
  2. Open MATLAB
  3. Go to build/matlab-build
  4. Run CompileG2S
  5. Add compiled file in the MATLAB path

Installation on macOS

  1. Open MATLAB
  2. Go to build/build-matlab
  3. Run CompileG2S
  4. Add compiled file in the MATLAB path

Installation on Windows 10

Download precompiled interfaces
  1. Download here.
  2. Unzip and add the folder to MATLAB path.
Manual compilation
  1. (A C++ compiler with c++17 is required)
  2. If needed, install python with the option to add it to the Path
  3. Open MATLAB
  4. Install a compiler with c++17, available here (2017 or later)
  5. Go to build/build-matlab
  6. Run CompileG2S
  7. Add compiled file in the MATLAB path
Check proper interface installation

Simply run g2s('--version')

R

TODO !