I made a slight change to the file. Changed FFLAGS to FCFLAGS, and made the
directories of the compilers and library files consistent, but this did not
yet advance beyond the fortran linking stage.

Thanks in advance.



Paul Guillermo Arias, Ph.D.
Associate Research Scientist
Rutgers Discovery Informatics Institute

On Fri, Jan 26, 2018 at 4:57 PM, Paul Arias <paul.g.ar...@gmail.com> wrote:

> Hello,
>
> I am trying to compile HDF5 (1.8.20) with openmpi, fortran (gnu).
>
> This is the error message that I get near the end:
>
> checking whether a simple MPI-IO C program can be linked... yes
> checking whether a simple MPI-IO Fortran program can be linked... no
> configure: error: unable to link a simple MPI-IO Fortran program
>
> This is my configuration script:
> -------
> export CC=/usr/mpi/gcc/openmpi-1.10.4-hfi/bin/mpicc
> export FC=/usr/mpi/gcc/openmpi-1.10.4-hfi/bin/mpifort
> export F77=/usr/mpi/gcc/openmpi-1.10.4-hfi/bin/mpifort
> export F90=/usr/mpi/gcc/openmpi-1.10.4-hfi/bin/mpifort
>
> export FFLAGS="-I/usr/mpi/gcc/openmpi-1.10.4/include/"
> export CFLAGS="-I/usr/mpi/gcc/openmpi-1.10.4/include/"
> export LDFLAGS="-L/usr/mpi/gcc/openmpi-1.10.4/lib64/"
> export LIBS="-lmpi"
>
> ./configure --enable-parallel --enable-fortran
> --prefix=/home1/pgarias/software/hdf5-mpich3.2-gcc4.9.4
> ----
>
> I'm wondering what I might be missing when attempting to configure HDF5
> with mpi-io.
>
> Thanks you for your assistance!
> Paul
>
>
>
>
> Paul Guillermo Arias, Ph.D.
> Associate Research Scientist
> Rutgers Discovery Informatics Institute
>
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to