Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 641976

Summary: sys-cluster/openmpi-2.0.2 USE=fortran should install /usr/include/mpif.h
Product: Gentoo Linux Reporter: alex Mezey <gentoobugs>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: UNCONFIRMED ---    
Severity: normal CC: cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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]
2.
3.
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