If you want to build the examples on NIC4, you must load a gcc module. I recommend the following one which is compatible with many other libraries of the system.
### configuration
If you want to build the examples on NIC4, you must load several modules related to gcc, cmake, git.
```
```
module load gcc
module load gcc git cmake
```
```
The following variables should also be defined so that CMake finds the correct gcc. Put these lines in your `~/.bashrc` file:
The following variables should also be defined so that CMake finds the correct g++.
```
```
export CC=gcc
export CXX=g++
export CXX=g++
export FC=gfortran
```
These 2 commands can be added at the end of the `.bashrc` file which is in your hame directory.
### SSH keys
You must create SSH keys for all the git operations with GitLab. It is done as in the Windows case.