Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932452 - sci-mathematics/petsc-3.20.5-r1 does not build with mpi
Summary: sci-mathematics/petsc-3.20.5-r1 does not build with mpi
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 10:38 UTC by Thomas Scheiblauer
Modified: 2024-05-24 19:17 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info.txt,12.82 KB, text/plain)
2024-05-22 10:38 UTC, Thomas Scheiblauer
Details
build.log (build.log,33.36 KB, text/plain)
2024-05-22 10:40 UTC, Thomas Scheiblauer
Details
configure.log (configure.log,960.64 KB, text/plain)
2024-05-22 10:41 UTC, Thomas Scheiblauer
Details

Note You need to log in before you can comment on or make changes to this bug.
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