make a lib directory somewhere (here we do it in `/gyacomo`)
```bash
mkdir lib
```
IMPORTANT: adapt the `gyacomo/local/dirs.inc` file by setting the path to your `gyacomo` folder in the `PREFIX` variable, and your path to the `lib` folder in the `LIBDIR` variable.
You can test now your installation and linkage by typing `make` in `/gyacomo`. The compilation should stop at the call of `futils` routines in `src/parallel_mod.F90`.
## Libraries
Install the following libraries in the `lib` folder.
### futils
Clone `futils` library (or ask for it if you do not have access)
You can test now your installation and linkage by typing `make` in `/gyacomo`. The compilation should stop at the call of `fftw` routines in `src.fourier_mod.F90`.
### FFTW
Download `fftw` zip directory, unzip and go to the directory
Go back to `/gyacomo` and verify that `FFTW3DIR = $(LIBDIR)/fftw-3.3.10` in `/gyacomo/local/dirs.inc` when `ENVTYPE = Linux`.
You can test now your installation and linkage by typing `make` in `/gyacomo`. The compilation should stop at the call of `FM` routines in the `src/coeff_mod.F90` file.
### FM
Go back to your main `lib` directory (for us `/gyacomo/lib/`) and download the zipped folder there
```bash
wget https://dmsmith.lmu.build/FM1.4/FM_files.zip
```
Unzip and enter the folder
```bash
unzip FM_files.zip
mv FM_files FM
cd FM
```
First we have to copy the source file with a .F90 extensions (for our old intel compiler)
```bash
for file in*.f95 ;do cp"$file""${file%.*}.F90";done
```
Now we compile manually (some of them are long to compile)
Put the library together and move it in a local `lib` directory
```bash
mkdir lib
ar r libfm.a fm.o fmsave.o fmzm90.o
mv libfm.a lib
```
Move the the `.mod` files in a `mod` local directory
```bash
mkdir mod
mv*.mod mod
```
You can test now your installation and linkage by typing `make` in `/gyacomo`. The compilation should go through and produce an executable in `/gyacomo/bin/.`named `gyacomo23_dp`.
## First runs
IF the executable `gyacomo23_dp` is present in `/gyacomo/bin/.`, you can now test a first run of the code.
In `/gyacomo`, run the simulations setup script
```bash
sh new_prob
```
This creates a new folder,`/gyacomo/simulations/` with an example of a simulation directory `/gyacomo/simulations/problem_01`. Inside, you can find a `tutorial.md` file explaining how to run the code and analyze its data.