Bug 462779 - Using the latest upstream source and building with openmpi
Summary: Using the latest upstream source and building with openmpi
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: blacs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-18 20:33 UTC by Deji Akingunola
Modified: 2008-09-23 16:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-23 16:12:46 UTC
Type: ---
Embargoed:


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

Description Deji Akingunola 2008-09-18 20:33:43 UTC
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 20:35:43 UTC
Created attachment 317118 [details]
Updated patch that allows building with mpi compilers

Comment 2 Deji Akingunola 2008-09-18 20:53:41 UTC
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 20:54:49 UTC
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 20:59:03 UTC
Created attachment 317124 [details]
Updated Makefile includes

Comment 5 Deji Akingunola 2008-09-19 02:19:29 UTC
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 16:12:46 UTC
Committed and built in rawhide, thanks!


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