Open rileychall opened 12 months ago
gfortran + IntelMPI is not among the supported use cases yet. It seems relatively straightforward to support it, I will leave here a reference to the relevant piece of code:
Ah, of course. I did miss that. Do you know why it would produce that error? And is there any significance to gfortran + Intel MPI working on a different system, as on the "Good system" in my other issue?
Description
I'm trying to build an MPI Fortran program using gfortran and Intel MPI. However it immediately fails with this message:
To my knowledge, there is no MPICH on this system. Also, the
mpif90
that is in the path does correctly respond to-compile-info
:The
--verbose
option does not show any more information.* Adding--compiler 'mpif90'
gives the same result, so it looks like it's finding the wrapper I intend.--compiler 'mpiifort'
appears to work correctly. The code is incompatible and it fails, but it does successfully compile the first few files:compiler 'mpiifx'
also immediately fails, but with a different message:This seems like a separate issue to me, but I'm including it just in case. I am using the recently released 2024 Intel compilers, so I could see this just being something needs to updated to accommodate.
Expected Behaviour
I was expecting this to work the same way as on the other systems I've tried. In the event that it didn't work, I was expecting a more relevant error message.
Version of fpm
0.9.0
Platform and Architecture
Ubuntu 22.04
Additional Information
Just for some context, this is using "Bad system 1" from #973. I ran into this while trying Intel MPI as an alternative to Open MPI.
Here is the full
mpif90 -compile-info
/mpif90 -show
, in case it contains any clues:*With this line, it looks like
--verbose
should have printed something useful but didn't. Though I could definitely be misunderstanding it.