Hello,
At least I see that your configuration of the gfortran compiler has the -DHAVE_MUMPS option (which means that you have installed the direct solver library MUMPS before, which is probably not the case):
gfortran -c -g -fbounds-check -Wall -fbacktrace -finit-real=nan -DHAVE_MPI -DHAVE_MUMPS
If you do not want to install MUMPS (not very useful except for module Artemis) just remove the -DHAVE_MUMPS option.
There could be also a problem with the installation of MPI but I am not able to give you an advice for that. Anyway this is for parallelism, so you could remove also -DHAVE_MPI from your compiler options, to start with.
With best regards,
Jean-Michel Hervouet