bindings: Factor out MPI-specific Fortran bindings into separate sources
Created by: bradking
Combine the EDIT: This part was moved to #1994.bindings/Fortran/modules/{mpi,nompi}/*
sources to provide a single definition of the modules providing the adios2_init
and adios2_open
generic procedures. Include the MPI signatures only when ADIOS is built with MPI enabled.
Split the implementations of the serial and MPI variants of the Fortran bindings into separate source files. For each of the adios2_init
and adios2_open
generic procedures, all signatures must remain declared in a single module, so use Fortran submodules (EDIT: generic procedure interfaces can have different signatures added by different modules) put the implementations in separate modules in separate sources. Later this will be useful for compiling the MPI-specific sources in a separate library.