Bug 462779 - Using the latest upstream source and building with openmpi
Using the latest upstream source and building with openmpi
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: blacs (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tom "spot" Callaway
Fedora Extras Quality Assurance
: Patch
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-18 16:33 EDT by Deji Akingunola
Modified: 2008-09-23 12:12 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-23 12:12:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
An updated spec file (5.47 KB, application/octet-stream)
2008-09-18 16:33 EDT, Deji Akingunola
no flags Details
Updated patch that allows building with mpi compilers (5.14 KB, patch)
2008-09-18 16:35 EDT, Deji Akingunola
no flags Details | Diff
Updated spec (5.46 KB, application/octet-stream)
2008-09-18 16:53 EDT, Deji Akingunola
no flags Details
Updated patch that allows building with mpi compilers (5.14 KB, patch)
2008-09-18 16:54 EDT, Deji Akingunola
no flags Details | Diff
Updated Makefile includes (10.75 KB, application/octet-stream)
2008-09-18 16:59 EDT, Deji Akingunola
no flags Details
Updated patch that allows building with mpi compilers (5.14 KB, patch)
2008-09-18 22:19 EDT, Deji Akingunola
no flags Details | Diff

  None (edit)
Description Deji Akingunola 2008-09-18 16:33:43 EDT
Created attachment 317117 [details]
An updated spec file

Description of problem:
There is a newer version of the blacs tarball on netlib site (http://www.netlib.org/blacs/). I know it is very easy not to notice it as tarball doesn't carry any version info neither has the website info been updated. The contents of the other blacs tarball in fedora cvs (blacstester.tgz) is now included in the main source tarball.

As was earlier requested in the scalapack RFE, I'll like to ask that blacs be built with openmpi instead of lam. Also I want to ask that the package (and scalapack too) be built with the mpi compiler wrappers (mpif77 and mpicc) instead of using the compiler directly. This has the advantage of making it easier for user to rebuild the package with their choice of MPI compiler.

I've modified the spec file and created a new patch for these changes (attached). I made a scratch build using the updated tarball and spec file which can be seen at http://koji.fedoraproject.org/koji/taskinfo?taskID=832538.  

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Deji Akingunola 2008-09-18 16:35:43 EDT
Created attachment 317118 [details]
Updated patch that allows building with mpi compilers
Comment 2 Deji Akingunola 2008-09-18 16:53:41 EDT
Created attachment 317120 [details]
Updated spec

Actually there is no need to forcibly require openmpi, only the libraries (in openmpi-libs) are needed and those are already auto-required by rpm.
Comment 3 Deji Akingunola 2008-09-18 16:54:49 EDT
Created attachment 317122 [details]
Updated patch that allows building with mpi compilers

The patch needs a minor adjustment too.
Comment 4 Deji Akingunola 2008-09-18 16:59:03 EDT
Created attachment 317124 [details]
Updated Makefile includes
Comment 5 Deji Akingunola 2008-09-18 22:19:29 EDT
Created attachment 317146 [details]
Updated patch that allows building with mpi compilers

Use the mpif77 wrapper to create the mpiblacs shared library. This helps building scalapack without hard-coding the mpi-f77 library.
Comment 6 Tom "spot" Callaway 2008-09-23 12:12:46 EDT
Committed and built in rawhide, thanks!

Note You need to log in before you can comment on or make changes to this bug.