Problem with OpenMPI
Rudnei Dias da Cunha
Thu Oct 1 14:47:21 GMT 2020
I have installed all the relevant OpenMPI packages to develop programs in
Fortran but found a problem when compiling programs in Fortran 90 with the
as mpifort then complains:
$ mpifort hello_usempi.f90
13 | use mpi
Fatal Error: Cannot open module file ‘mpi.mod’ for reading at (1): No such
file or directory
The workaround was to use
as /usr/lib is the directory where mpi.mod resides after the installation
of the OpenMPI packages.
Has anyone found this before? Shouldn't the flag -J/usr/lib be issued as
part of the string issued by mpifort?
More information about the Cygwin