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

Bug 932452

Summary: sci-mathematics/petsc-3.20.5-r1 does not build with mpi
Product: Gentoo Linux Reporter: Thomas Scheiblauer <tom>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: UNCONFIRMED ---    
Severity: normal CC: sci-mathematics, tom
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log
configure.log

Description Thomas Scheiblauer 2024-05-22 10:38:29 UTC
Created attachment 893796 [details]
emerge --info

The "configure" phase does not get past the the check for Fortran mpi_init() because the fortran compiler cannot open the includes from /usr/include/mpif.h.

The relevant part from "configure.log" (complete log added as attachment):

Executing: gfortran -c -o /var/tmp/portage/sci-mathematics/petsc-3.20.5-r1/temp/petsc-00urcfrt/config.libraries/conftest.o -I/var/tmp/portage/sci-mathematics/petsc-3.20.5-r1/temp/petsc-00urcfrt/config.setCompile
rs -I/var/tmp/portage/sci-mathematics/petsc-3.20.5-r1/temp/petsc-00urcfrt/config.compilersFortran -I/var/tmp/portage/sci-mathematics/petsc-3.20.5-r1/temp/petsc-00urcfrt/config.compilers -I/var/tmp/portage/sci-ma
thematics/petsc-3.20.5-r1/temp/petsc-00urcfrt/config.libraries -O2 -pipe -fPIC    /var/tmp/portage/sci-mathematics/petsc-3.20.5-r1/temp/petsc-00urcfrt/config.libraries/conftest.F90                               
stdout:                                                                                                                                                                                                            
/usr/include/mpif.h:56:0:                                                                                                                                                                                          
   56 |       include 'mpif-config.h'                                                                                                                                                                              
Fatal Error: Cannot open included file ‘mpif-config.h’                                                   
compilation terminated.
Comment 1 Thomas Scheiblauer 2024-05-22 10:40:24 UTC
Created attachment 893797 [details]
build.log
Comment 2 Thomas Scheiblauer 2024-05-22 10:41:43 UTC
Created attachment 893798 [details]
configure.log