Description of problem: This is a request to build scalapack with openmpi instead of lam for MPI support because lam (as is in Fedora right now) doesn't provide a F90 support while openmpi does. Moreover LAM/MPI is now in maintenance mode, having teamed up with others to put new development efforts in openmpi (according to http://www.lam-mpi.org/ and http://www.open-mpi.org/faq/?category=general#what). The change will actually be useful for a new package I'm trying to get into Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=453703). The package (trilinos) depends on scalapack, blacs, among other packages and can be built in parallel with MPI support, but it needs a MPI f90 module and the scalapack library to be built with the same mpi library. Swapping openmpi for lam in building blacs too would be appreciated. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Created attachment 317144 [details] Updated scalapack patch to use the generic mpi compiler wrapper
Created attachment 317145 [details] Updated spec Please find the attached updated scalapack.spec and scalapack-1.7-fedora.patch that implements the proposed change. The patch went further to use mpi compiler wrappers (mpif77 and mpicc) instead of gfortran and gcc. This is done so as to make it easier to rebuild the package with other MPI compilers.
Implemented in rawhide, thanks!