[mpich-discuss] missing mpi_f08 module in MPICH 3.2

Kenneth Raffenetti raffenet at mcs.anl.gov
Thu Mar 15 15:05:12 CDT 2018


F08 bindings will build if they pass the included compiler tests during 
configure. Unfortunately gfortran is unable to build the binding. The 
latest Intel compiler suite will work, if you have access to that.

Ken

On 03/15/2018 02:29 PM, Damian Rouson wrote:
>   
> According to the MPICH Changes web page, "Fortran 2008 bindings are enabled by default and fully supported” starting in MPICH 3.2. Could someone please point me to documentation on using the bindings?  My installation of MPICH 3.2 doesn’t find the mpi_f08 module described in MPI 3.1 standard.  My draft copy of the standard states the following at the beginning of Section 17.1.2: "An MPI implementation providing a Fortran interface must provide a module named mpi_f08 that can be used in a Fortran program.”  Below is an example of what I’m seeing.
> 
> Damian
> 
> 
> $ cat use_mpi_f08.f90
> program main
>    use mpi_f08
>    implicit none
> end program
> 
> $ mpifort use_mpi_f08.f90
> use_mpi_f08.f90:2:6:
> 
>     use mpi_f08
>        1
> Fatal Error: Can't open module file ‘mpi_f08.mod’ for reading at (1): No such file or directory
> compilation terminated.
> 
> $ mpiexec --version
> HYDRA build details:
>      Version:                                 3.2
>      Release Date:                            Wed Nov 11 22:06:48 CST 2015
>      CC:                              gcc
>      CXX:                             g++
>      F77:                             gfortran
>      F90:                             gfortran
>      Configure options:                       '--disable-option-checking' '--prefix=/opt/mpich/3.2/gnu/7.2.0' 'CC=gcc' 'CXX=g++' 'FC=gfortran' '--cache-file=/dev/null' '--srcdir=/home/rouson/Desktop/Builds/opencoarrays/prerequisites/downloads/mpich-3.2/src/pm/hydra' 'CFLAGS= -O2' 'LDFLAGS=' 'LIBS=-lpthread ' 'CPPFLAGS= -I/home/rouson/Desktop/Builds/opencoarrays/prerequisites/builds/mpich-3.2/src/mpl/include -I/home/rouson/Desktop/Builds/opencoarrays/prerequisites/downloads/mpich-3.2/src/mpl/include -I/home/rouson/Desktop/Builds/opencoarrays/prerequisites/downloads/mpich-3.2/src/openpa/src -I/home/rouson/Desktop/Builds/opencoarrays/prerequisites/builds/mpich-3.2/src/openpa/src -D_REENTRANT -I/home/rouson/Desktop/Builds/opencoarrays/prerequisites/builds/mpich-3.2/src/mpi/romio/include'
>      Process Manager:                         pmi
>      Launchers available:                     ssh rsh fork slurm ll lsf sge manual persist
>      Topology libraries available:            hwloc
>      Resource management kernels available:   user slurm ll lsf sge pbs cobalt
>      Checkpointing libraries available:       blcr
>      Demux engines available:                 poll select
> 
> 
> 
> 
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
> 
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list