I am trying to compile and run this software. I have Open-MPI library installed with gfortran. I get the following error.
mpif90 -o .obj/mod4source.o mod4source.f90 -g -heap-arrays -fcheck=all -traceback -ftree-vectorize -fbounds-check -O2 -w -lm -c -funroll-loops -J.mod -I/home/guddu/includess
gfortran: error: unrecognized command-line option '-h'
gfortran: error: unrecognized command-line option '-traceback'
make: *** [.obj/mod4source.o] Error 1
mpif90 --version
GNU Fortran (GCC) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It is unclear to me where the error is coming from. -h is not even in the compilation flags in the command. I have a feeling it is somehow related to these two issues (Compiler doesn't recognize flags, gfortran is called instead of mpif90) but I can't connect the dots. Thanks very much for your help.