Installation
============

The GMCT distribution is tested on a variety of
different GNU/Linux Unix-like systems. GMCT is
written in C/C++. You will need reasonably up-to-date
C++ and C compilers and a standard "make" program.
GMCT uses the zlib library for reading and writing
of compressed simulation trajectories. The library
can be obtained from "http://zlib.net". The path to
zlib has to be specified in the Makefile by altering
the variable ZLIBPATH. You can set your favorite
compiler by defining the standard environment
variable CXX for setting the C++ compiler.
Then type:

make
make install

to build the binaries and to copy them into
the directory ./bin/


A compilation on other systems than GNU/Linux should
also be possible with the corresponding native
machinery to compile C/C++ programs. Minor
alterations of the code could be necessary, e.g., for
system calls used to create directories, though
the command mkdir should be rather universal.
Look out for calls of system() like:

    sprintf(help,"mkdir %s", CORRDIR);
    system(help);

C++17 <filesystem> offers a platform independent way
for filesystem operations. But as of 2020, it is still
too early to rely on this standard because many systems
come still with aged compilers or system C++ standard
libraries that barely support C++17.
