What is the difference between these two compilers, mpif90 and mpifort? Both seems to be for Fortran 90 code. Both got installed when I installed openMPI on Linux. Are the usage (compiler options) different?
Description. This command can be used to compile and link MPI programs written in Fortran 90. It provides the options and any special libraries that are needed to compile and link MPI programs. This command is still under development, as is support in MPICH for Fortran 90.
The Open MPI Project is an open source Message Passing Interface implementation that is developed and maintained by a consortium of academic, research, and industry partners.
The MPI standard says nothing about the various compiler wrappers, except that "Some MPI libraries are shipped together with special compilation scripts".
Thus, one needs to consult OpenMPI's documentation:
http://www.open-mpi.org/faq/?category=mpi-apps#mpifort-vs-mpif77-and-mpif90
The gist of it is that modern fortran compilers are better about determining if code should be treated like fortran 2008, fortran 2003, fortran 90, fortran 77, or whatever. OpenMPI wants folks to just use mpifort, and let the fortran front-end compiler do the work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With