First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 30459
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Derek Dolney <nospam@dolney.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
atlas-lapack-3.4.2.ebuild atlas-lapack-3.4.2.ebuild text/plain Derek Dolney 2003-10-05 20:15 0000 2.59 KB Details
atlas-gentoo.patch atlas-gentoo.patch patch Derek Dolney 2003-10-05 20:17 0000 22.40 KB Details | Diff
lapack-20020531-20021004.patch lapack-20020531-20021004.patch patch Derek Dolney 2003-10-05 20:21 0000 1.02 MB Details | Diff
lapack-gentoo.patch lapack-gentoo.patch patch Derek Dolney 2003-10-05 20:22 0000 1.24 KB Details | Diff
war war text/plain Derek Dolney 2003-10-05 20:22 0000 489 bytes Details
f77-ATLAS f77-ATLAS text/plain Derek Dolney 2003-10-05 20:30 0000 408 bytes Details
atlas-lapack-3.4.2.ebuild atlas-lapack-3.4.2.ebuild text/plain Derek Dolney 2003-10-08 19:52 0000 3.94 KB Details
atlas-gentoo.patch atlas-gentoo.patch patch Derek Dolney 2003-10-17 13:04 0000 22.50 KB Details | Diff
atlas-lapack-3.4.2.ebuild atlas-lapack-3.4.2.ebuild text/plain Derek Dolney 2003-10-28 23:40 0000 3.94 KB Details
lapack-atlas-3.4.2.ebuild lapack-atlas-3.4.2.ebuild text/plain Derek Dolney 2004-02-04 11:04 0000 4.00 KB Details
lapack-atlas-3.6.0.ebuild lapack-atlas-3.6.0.ebuild text/plain Derek Dolney 2004-02-19 12:03 0000 4.00 KB Details
lapack-atlas-3.6.0.ebuild lapack-atlas-3.6.0.ebuild text/plain Derek Dolney 2004-03-01 17:26 0000 4.16 KB Details
atlas3.6.0-shared-libs.patch.bz2 atlas3.6.0-shared-libs.patch.bz2 patch Derek Dolney 2004-03-01 17:27 0000 4.91 KB Details | Diff
war war text/plain Derek Dolney 2004-03-01 17:27 0000 545 bytes Details
lapack-atlas-3.6.0.ebuild lapack-atlas-3.6.0.ebuild text/plain Derek Dolney 2004-05-18 15:57 0000 4.56 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 30459 depends on: Show dependency tree
Show dependency graph
Bug 30459 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-10-05 20:14 0000
This is an ebuild for ATLAS LAPACK. Please see comments in bug 30453.

This builds a complete LAPACK library by taking routines that ATLAS doesn't provide from the reference implementation on netlib.

------- Comment #1 From Derek Dolney 2003-10-05 20:15:35 0000 -------
Created an attachment (id=18832) [edit]
atlas-lapack-3.4.2.ebuild

------- Comment #2 From Derek Dolney 2003-10-05 20:17:38 0000 -------
Created an attachment (id=18833) [edit]
atlas-gentoo.patch

Note: this is the same patch as that for atlas-blas (bug 30453).

------- Comment #3 From Derek Dolney 2003-10-05 20:21:32 0000 -------
Created an attachment (id=18834) [edit]
lapack-20020531-20021004.patch

The ebuild expects this to be bzip2'ed in files/

------- Comment #4 From Derek Dolney 2003-10-05 20:22:28 0000 -------
Created an attachment (id=18835) [edit]
lapack-gentoo.patch

Those last two patches are for the netlib reference LAPACK.

------- Comment #5 From Derek Dolney 2003-10-05 20:22:50 0000 -------
Created an attachment (id=18836) [edit]
war

------- Comment #6 From Derek Dolney 2003-10-05 20:25:49 0000 -------
BTW, the patches in lapack-20020531-20021004.patch are minor patches from
http://www.netlib.org/lapack/release_notes.html
that have not been put in the release tarball.

------- Comment #7 From Derek Dolney 2003-10-05 20:30:49 0000 -------
Created an attachment (id=18839) [edit]
f77-ATLAS

LAPACK profile for use by lapack-config (bug 30460).

------- Comment #8 From Derek Dolney 2003-10-08 19:52:38 0000 -------
Created an attachment (id=18980) [edit]
atlas-lapack-3.4.2.ebuild

This ebuild is a little better. I added support for ifc USE to compile the
reference LAPACK routines with ifc.

------- Comment #9 From Derek Dolney 2003-10-17 13:04:30 0000 -------
Created an attachment (id=19371) [edit]
atlas-gentoo.patch

Please use this patch instead. I fixed a couple of minor bugs.

------- Comment #10 From Derek Dolney 2003-10-28 23:40:53 0000 -------
Created an attachment (id=19920) [edit]
atlas-lapack-3.4.2.ebuild

I changed the RDEPEND from atlas-blas to virtual/blas.

This works, but I'm worried that a clean or depclean might yank
app-sci/atlas-blas if app-sci/blas-reference is installed. This is probably
not
what the user will want to happen. How are does this (virtual) work exactly?
Can the atlas USE flag be setup to make atlas-blas the preferred virtual/blas?

------- Comment #11 From Dirk-Jan Heijs 2004-01-19 01:47:14 0000 -------
I think that there should be only one atlas package which installs both the
blas and the complete lapack implementation and thus providing "virtual/blas"
and "virtual/lapack". In that way you prevent problems like having the 'wrong'
blas installed (because also app/sci/blas can be used). To me this seems the
best solution.

------- Comment #12 From Dirk-Jan Heijs 2004-01-19 01:49:01 0000 -------
I think that there should be only one atlas package which installs both the
blas and the complete lapack implementation and thus providing "virtual/blas"
and "virtual/lapack". In that way you prevent problems like having the 'wrong'
blas installed (because also app/sci/blas can be used). To me this seems the
best solution.

------- Comment #13 From Raimondo Giammanco 2004-01-19 10:09:04 0000 -------
*** Bug 38722 has been marked as a duplicate of this bug. ***

------- Comment #14 From George Shapovalov 2004-01-21 02:52:16 0000 -------
Hi guys.

Derek:
>This works, but I'm worried that a clean or depclean might yank
>app-sci/atlas-blas if app-sci/blas-reference is installed. 
This shouldn't happen. Individual installed packages are registered in the world file, so they will be both maintained and kept track of.

Dirk:
I am not quite sure what you are suggesting. Is that to make one ebuild install two packages? I see a great potential for confusion here. At most we can go with the wrapper packaged (that only depends on other packages), like is done with kde ebuilds, but it is usefull to keep individual packages available as well. As for the wrong version being selected - Derek proposed a nice naming scheme that will probably be implemented if we go with virtuals approach. However there is also an issue of virtuals vs useflags on which I am not completely clear (i.e. what will work better). Please see #30453, last comments, for more details.

George

------- Comment #15 From Derek Dolney 2004-02-04 11:04:57 0000 -------
Created an attachment (id=24952) [edit]
lapack-atlas-3.4.2.ebuild

changed some references to "atlas-lapack" -> "lapack-atlas"

moved RPATH definition

added -lg2c dependency to ifc built library, because the atlas portion is still
compiled with gcc.

------- Comment #16 From Derek Dolney 2004-02-19 12:03:49 0000 -------
Created an attachment (id=25940) [edit]
lapack-atlas-3.6.0.ebuild

I marked lapack-atlas-3.4.2.ebuild as obsolete because you can use this ebuild
instead, suitably renamed, of course. You can diff them and see that I just
moved ${FFLAGS} ahead of -shared in the ifc link line in order to override any
flag a user might set that contradicts -shared. It seemed that this was
unlikely, yet possible.

------- Comment #17 From Derek Dolney 2004-03-01 17:26:05 0000 -------
Created an attachment (id=26697) [edit]
lapack-atlas-3.6.0.ebuild

Please test.

George: this ebuild won't work with ifc and libtool older than 1.5, but these
libtools are marked unstable. For now, I'm going to cross my fingers and hope
that libtool-1.5 becomes stable before this package. If need be, I can add
support for older libtools later.

------- Comment #18 From Derek Dolney 2004-03-01 17:27:05 0000 -------
Created an attachment (id=26698) [edit]
atlas3.6.0-shared-libs.patch.bz2

------- Comment #19 From Derek Dolney 2004-03-01 17:27:48 0000 -------
Created an attachment (id=26699) [edit]
war

------- Comment #20 From George Shapovalov 2004-05-01 10:56:15 0000 -------
Ok, trying to get this one done.
I slightly modified the ebuild, - to set exec permissions on war (as in blas-atlas), using the atlas patch that is now in tree (IIRC it had some more modifications on top of the one posted here.)
Still geting the:

 gcc -I/usr/include/atlas -DL2SIZE=524288 -I/var/tmp/portage/lapack-atlas-3.6.0/work/ATLAS/include -I/var/tmp/portage/lapack-atlas-3.6.0/work/ATLAS/include/Linux_PIIISSE1 -I/var/tmp/portage/lapack-atlas-3.6.0/work/ATLAS/include/contrib -DAdd__ -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_PIII -DATL_SSE1 -DATL_GAS_x8632 -fomit-frame-pointer -O3 -funroll-all-loops -c -DDREAL ../f77wrap/ATL_f77wrap_trtri.c -o ATL_f77wrap_dtrtri.o >/dev/null 2>&1
libtool --mode=compile g77 -o dgesv.o -c -fomit-frame-pointer -O ../dgesv.f
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

problem. Looks like lapack-specific patch (or its Makefile) need to be updated for new libtool as well.

Oh, btw, I was rebuilding the system anew after the HDD failure on my laptop and, apparently, I forgot the f77 flag to gcc, which gave me gcc without fortran compiler. As you can imagine, this does not help to build lapack :). It would be nice to track this dependency, but to do this cleanely we need to get #2272 implemented first :(. Meanwhile it is possible to do a check in pkg_setup and abort with informative message if requested fortran ompiler is not installed.

George

------- Comment #21 From Derek Dolney 2004-05-02 10:56:59 0000 -------
George,

This works for me. Please check that you are using the newest ebuild that I posted on the bug page. You should have a --tag=F77 in the ebuild.

f77 is a new use flag starting with gcc-3.3.3-r2. I also had g77 disappear from under me, so to speak, after upgrading gcc. That's ok, I always thought gcc should have use flags for the different languages. I bet more than 90% of gentoo users don't have any need for g77. And I don't use objc or gcj.

------- Comment #22 From George Shapovalov 2004-05-10 16:56:27 0000 -------
*** Bug 50585 has been marked as a duplicate of this bug. ***

------- Comment #23 From George Shapovalov 2004-05-11 20:27:39 0000 -------
Ok, I figured that out. That damn firefox seems to have switched to autosave of
links at some update and I just checked that it does so to the right dir at the
time (I mostly use it for bugzilla anyway). But in its quest to ask absolutely
no questions even if file with the same name already exists it just increments
the first number it encounters in the file name. So I got stuff like 
lapack-atlas-3.6.0.ebuild but then also lapack-atlas-4.6.0.ebuild and even
5.6.0 :). I was going like "huh, WTF is that?? When  did we get 5.6.0 out?" I
guess I'll have to switch back to konqueror now :), if only kde guys would fix
that formatting problem (whole paragraph in one line)...

No matter, I've got it right now :), tested out fine and committed. I also aded
a check for the missing g77 in pkg_setup, so it should solve #50585. Testing is
most definitely wellcome!

Now I am going to go back to bals-* packages and start unmasking them (into
~arch) following the plan outlined in #30453, so you should await an
announcement on -dev in a few days. The "fix" for g77 will have to be added too
whereever it is not yet in. Also I want to reduce duplication between packages
somewhat (so atlas3.6.0 patch will go onto the mirrors, although war seems to
be too small for that, so it'll stay in $FILESDIR) and move large stuff onto
the mirrors as well. The last one actually goes for lapack-atlas, I mean here
the lapack-20020531-20021004.patch.bz2, which is almost 60k.

George

------- Comment #24 From Derek Dolney 2004-05-18 15:57:02 0000 -------
Created an attachment (id=31687) [edit]
lapack-atlas-3.6.0.ebuild

George,

Presently this build also needs g77. I added a comment to try to clarify.

------- Comment #25 From George Shapovalov 2004-06-05 16:15:53 0000 -------
Hi Derek.

Thanks for catching this check!. I updated ebuild andcommitted the change.
Btw, [ "`use doc`" ]; syntaxis was "officially deprecated" as per recent discussion on -dev. Although this has already been "fixed" by agriffis few days ago already :).

So, what's the general feel about this one? Can we un-[hard]mask it already? I ahve a request for this as some other package wants to use it... (#53031)

Another thing: I've got an amd64 laptop recently, so I am testing stuff ouf on that as well :). I would add ~amd64 to lapack-atlas and blas-reference as well, but I am not sure what to do on ifc front. Its a binary compiler after all, but I read somewhere that you can link amd64 and x86 binaries together. Anybody reading this knows more details by chance? Is it even worth looking into?

George

------- Comment #26 From Derek Dolney 2004-06-06 14:25:27 0000 -------
George,

Thanks for the use syntax tip. I went and read that thread.

I think we are ready to un-mask. Let's go for it!

I have no experience with amd64, so I can't comment, except that the ifc ebuilds are not flagged for amd64 anyway. But all of these ebuilds (except lapack95) should work on amd64, as long as the user doesn't try to use ifc. Seems portage would complain that ifc blocks on amd64, so maybe we don't even need any extra tests in the ebuilds.

I think it's definitely worth trying, because ATLAS at least recognizes amd64. Presumably it does something extra-magical for that arch, but I don't know any details. I'm still living in the past (x86). :(

------- Comment #27 From George Shapovalov 2004-06-09 19:10:00 0000 -------
Ok, just unmasked lapack-config and lapack-atlas. Added ~amd64 to both as well
(this needed "masking" ifc useflag in use.mask in amd64 profiles). Moving on to
the rest of lapack ebuilds (2 to go as I can see).

George

First Last Prev Next    No search results available      Search page      Enter new bug