So I have succesfully fixed the problem with my netCDF Fortran by setting the LIBS=-lgfortran and both the FC and F77 to gfortran.
Now I am getting a new problem when trying to run make in /m3tools. I get the error:
collect2: error: ld returned 1 exit status
Makefile:208: recipe for target ‘airs2m3’ failed
make: *** [airs2m3] Error 1
make.log.txt (1.9 KB)