Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641976 - sys-cluster/openmpi-2.0.2 USE=fortran should install /usr/include/mpif.h
Summary: sys-cluster/openmpi-2.0.2 USE=fortran should install /usr/include/mpif.h
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
Depends on:
Reported: 2017-12-21 21:24 UTC by alex Mezey
Modified: 2021-08-25 12:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description alex Mezey 2017-12-21 21:24:20 UTC
emerge sys-cluster/openmpi-2.0.2[fortran] lacks at least to install /usr/include/mpif.h 
I cannot build sci-libs/hdf5 with it.

I know Fortran is short for formula translator, it's old and there are 2 or 3 main releases, that's it.
Well except for a more very very special file - I don't remember the name, but it was much longer than just mpi.fh or mpif.h i couldn't find any fortran includes, that hdf5 complaint about while doing configure, so
I installed sys-cluster/mpich2 as ALTERNATIVE to get virtual/mpi and built hdf5 with that, which worked an gave me /usr/include/mpif.h among others.
Sorry, I can not give you more Information, as I would have to break my system to make more investigation.

Reproducible: Didn't try

Steps to Reproduce:
1.emerge sys-cluster/openmpi-2.0.2[fortran]
Actual Results:  
crucial fortran headers for mpi missing,
I have not checked the libs.

Expected Results:  
basic fortan mpi support
Comment 1 Pacho Ramos gentoo-dev 2021-08-25 12:39:57 UTC
4.0.5-r1 installs it properly