<commit_before>Quick installation instructions
===============================

GADfit is developed with the CMake build system generator. CMake is a set of tools for configuring, building, and testing software. In comparison to GNU Autotools, it uses a simpler syntax and generally runs faster. It is advised to read the [user guide](https://raullaasner.github.io/gadfit/doc/user_guide/user_guide.pdf) for detailed installation instructions. This document provides quick installation steps aimed mainly at Autotools users.

0. For the impatient
--------------------

Obtain CMake, the GADfit tarball, and issue

```
tar xf gadfit.tar.gz
cd gadfit
cmake .
make
make install
```

Note that this might produce only a serial build.

1. Prerequisites
----------------

GADfit comes in two implementations, one in C++ and one in Fortran.

* **CMake (required)**. On Ubuntu, CMake, released under the New BSD license, can be obtained by issuing

   ```
   sudo apt-get install cmake
   ```

  Source code is available at http://cmake.org.

* C++ version:
  * **C++ compiler (required)**. GADfit is expected to work with the latest GNU C++ compiler (G++). One is probably present in your system so you don't need to do anything here.

* Fortran version:
  * **Fortran compiler (required)**. GADfit is expected to work with the latest GNU Fortran compiler (GFortran). In principle, any other F2008 compliant compiler should also work. On Ubuntu, GFortran, released under the GPL 3+ license, can be obtained by issuing

    ```
    sudo apt-get install gfortran
    ```
<commit_msg>Add note about BUILD_CXX_VERSION to INSTALL.md<commit_after>Quick installation instructions
===============================

GADfit is developed with the CMake build system generator. CMake is a set of tools for configuring, building, and testing software. In comparison to GNU Autotools, it uses a simpler syntax and generally runs faster. It is advised to read the [user guide](https://raullaasner.github.io/gadfit/doc/user_guide/user_guide.pdf) for detailed installation instructions. This document provides quick installation steps aimed mainly at Autotools users.

0. For the impatient
--------------------

Obtain CMake, the GADfit tarball, and issue

```
tar xf gadfit.tar.gz
cd gadfit
cmake .
make
make install
```

Note that this might produce only a serial build.

1. Prerequisites
----------------

GADfit comes in two implementations, one in C++ and one in Fortran. The CMake variable that controls which version is built is `BUILD_CXX_VERSION`.

* **CMake (required)**. On Ubuntu, CMake, released under the New BSD license, can be obtained by issuing

   ```
   sudo apt-get install cmake
   ```

  Source code is available at http://cmake.org.

* C++ version:
  * **C++ compiler (required)**. GADfit is expected to work with the latest GNU C++ compiler (G++). One is probably present in your system so you don't need to do anything here.

* Fortran version:
  * **Fortran compiler (required)**. GADfit is expected to work with the latest GNU Fortran compiler (GFortran). In principle, any other F2008 compliant compiler should also work. On Ubuntu, GFortran, released under the GPL 3+ license, can be obtained by issuing

    ```
    sudo apt-get install gfortran
    ```

{'fraction_non_alphanumeric': 0.11291807302853636, 'fraction_numerical': 0.004295796256520405, 'mean_word_length': 3.773060029282577, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5659019', 'n_tokens_mistral': 921, 'n_tokens_neox': 856, 'n_words': 430}