Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1819 - Ebuilds for LAPACK (linear algebra) libraries and documentation
Summary: Ebuilds for LAPACK (linear algebra) libraries and documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hannes Mehnert (RETIRED)
URL: http://www.math.duke.edu/~jvmatthe/eb...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-15 21:08 UTC by Matt Matthews
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

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


Attachments
Tarball of the lapack ebuild directory (lapack-3.0.tar.gz,5.00 KB, application/gzip)
2002-10-19 11:51 UTC, Stephen Boulet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Matthews 2002-04-15 21:08:47 UTC
LAPACK is used by some engineers, mathematicians, and scientists for reliable,
well-documented linear algebra routines. The three ebuilds here are my attempt
at installing lapack on a Gentoo system. They are based heavily on a study of
how Red Hat's lapack.spec file handles the build and install.

The Makefiles that comes with the LAPACK system are not very useful; Red Hat has
two that they include with their SRPM that are more functional for this purpose.
I've included it in the directory above. They had no identification (copyright,
etc.) so I've not modified them, since they can be used as-is.

This is my first ebuild experiment. Please test them for sanity.
Comment 1 Matt Matthews 2002-04-15 21:15:08 UTC
I tried to attach the ebuilds to this bug, but no go. Sorry. :^| See the URL
listed in this bug for ebuilds and/or tar containing them (and digests, etc.)
Comment 2 Tod M. Neidt (RETIRED) gentoo-dev 2002-04-16 09:05:12 UTC
Very cool Matt!

We need to work out a system for this, so we can use alternate blas
implementations.  We will probably need to create a virtual/blas, and then make
the lapack ebuild work with it.  For example,  to utilize atlas ( need to
enhance with shared libs ) or the intel fastmath libs (future).

Matt, if you're interested, look at dev-libs/atlas. I would appreciate any
thoughts you might have of getting the shared libs implemented. Atlas has a
goofy build also. (Why does netlibs have to be different :) You can contact me
at tod@gentoo.org.

Daniel, could you asign this one to me? 
Comment 3 Stephen Boulet 2002-10-19 11:49:50 UTC
There are a few problems with the ebuild that will need to be addressed:

1) both the atlas package and the lapack package list "/usr/lib/liblapack.a". Is
the last one emerged writing over the other one?

2) the ebuild has the lines:

cp -f /usr/portage/dev-libs/lapack/files/Makefile.blas ./BLAS/SRC/Makefile
cp -f /usr/portage/dev-libs/lapack/files/Makefile.lapack ./SRC/Makefile

Won't this fail if you have the ebuild in some portage.local directory?

Also, maybe the ebuild should simply be called "lapack", not "lapack-libs".

I'll tarball the ebuild directory and attach it.
Comment 4 Stephen Boulet 2002-10-19 11:51:22 UTC
Created attachment 4822 [details]
Tarball of the lapack ebuild directory
Comment 5 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-28 17:04:24 UTC
i will take this bug, i rewrote the ebuilds, please take a look at 
http://gentoo.org/~hannes/app-sci/blas/ and http://gentoo.org/~hannes/app-sci/lapack 
 
the only reason i haven't currently commited them is i can't find any license at blas and 
lapack home page, but i mailed the author of blas/lapack to send me their license.  
Comment 6 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-31 12:02:41 UTC
commited, thanks for the ebuild.