Indeed, that's the expected behavior of the Intel MPI Library mpif90 script. If you look at Section 2.1 "Compiler Commands" in the Reference Manual (included in the
Hope this helps. Let us know how it goes.
Great point! Also, if we're talking options, you can use a flag like this:
mpif90 -f90=ifort ...
This is all assuming ifort in your PATH. If not, just specify the full path when using the flag or the env variable.