Linker is not reading all the dependecies
Even adding the correct dependencies for the compiler, the linker seems to be unaware of rp_emulator and read_precision files, so the make
command fails.
Running this after the attempt to compile
gfortran -fopenmp -ffree-line-length-none -g -O2 -cpp -fconvert=big-endian /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/dmi_omp.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/acraneb2.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/acraneb3.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/callmain.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/dmi_timer.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/ini_acraneb2.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/ini_modules.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/ini_var_3D-data.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/ini_var_ideal.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/input_acraneb2.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/main.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/output_basic.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/parkind1.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/yomrad.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/radia_dwarf.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/read_precisions.o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/src/rp_emulator.o -o /home/bsc32/bsc32402/local/recipe_4_dwarf-lonlev-0.91_0/Remote/dwarf-lonlev-0.91_0/dwarf
will produce the executable.
The place where the linker reads the dependencies has to be found and they are to be modified.