Difference between mpif90 and mpifort

What is the difference between these two compilers, mpif90 and mpifort? Both seem to be for Fortran 90 code. Both were installed when I installed openMPI on Linux. Are the uses (compiler options) different?

+3


source to share


1 answer


The MPI standard says nothing about the various compiler shells, except that "Some MPI libraries are shipped with special compilation scripts."

Thus, it is necessary to consult the OpenMPI documentation:



http://www.open-mpi.org/faq/?category=mpi-apps#mpifort-vs-mpif77-and-mpif90

The bottom line is that modern fortran compilers are better at determining whether to process code like fortran 2008, fortran 2003, fortran 90, fortran 77, or something else. OpenMPI wants people to just use mpifort and let the fortran front-end compiler do the job.

+5


source







All Articles