Setting the compiler
The file I have enclosed is a shell script as a part of a package that should be modified according to compiler settings in my computer to get the code run.
I have MPICH installed with mpif90 and mpicc both in the following path: /usr/local/bin/mpif90\mpicc
The "make" command complains about not finding ifort, which is ok because I have no ifort. But all my trials to replace it with mpif90 have failed. I don't know how to add the "-DMPI" option.
Thanks for your help in advance.