diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fpm_compiler.f90 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fpm_compiler.f90 b/src/fpm_compiler.f90 index 77c94c4..32dfe33 100644 --- a/src/fpm_compiler.f90 +++ b/src/fpm_compiler.f90 @@ -453,7 +453,9 @@ function get_compiler_id(compiler) result(id) integer :: stat, io ! Check whether we are dealing with an MPI compiler wrapper first - if (check_compiler(compiler, "mpifort")) then + if (check_compiler(compiler, "mpifort") & + & .or. check_compiler(compiler, "mpif90") & + & .or. check_compiler(compiler, "mpif77")) then output = get_temp_filename() call run(compiler//" -showme:command > "//output//" 2>&1", & & echo=.false., exitstat=stat) |