* Was: Port3/Lucent Technologies, Now: lapack stuff
@ 1998-12-08 10:52 Johannes G.D. Hausmann
1998-12-09 18:07 ` Adam
1998-12-09 19:47 ` Adam
0 siblings, 2 replies; 4+ messages in thread
From: Johannes G.D. Hausmann @ 1998-12-08 10:52 UTC (permalink / raw)
Hi,
Adam asked me about some missing files in the lapack stuff on our ftp
server, more specifically, the 981113 and 981122 directories as well
as the blas_patch.gz (which you need *only* to correct the typo in
axpy.S in the 981122 file).
Well, they're not missing, I just locked them so you don't see them. I
reworked some of the stuff (as is noted on the lapack.html page) to
make things simpler. There are two source rpms, for lapack and
fastmath (which has been upgraded to libffm-0.28), and the BLAS are in
a separate tar file.
The reason for this is that lapack itself will most probably not need
to be changed anymore - once you have it, that's it. The BLAS and
fastmath, OTOH, are still evolving, so it's best to have them
separately.
So, this is what things looks like now:
ftp://ftp.neuro.uni-oldenburg.de/pub
alpha: contains lapack.html and blas-alpha.tar
alpha/SRPMS: contains source rpms for lapack, fastmath, and the
lapack.rpmrc
In case of problems, please contact me!
Jo
--
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme
EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Was: Port3/Lucent Technologies, Now: lapack stuff
1998-12-08 10:52 Was: Port3/Lucent Technologies, Now: lapack stuff Johannes G.D. Hausmann
@ 1998-12-09 18:07 ` Adam
1998-12-09 19:47 ` Adam
1 sibling, 0 replies; 4+ messages in thread
From: Adam @ 1998-12-09 18:07 UTC (permalink / raw)
Hello,
Now a new problem: I know how to fix the makefile, how do I build a new
binary RPM?
I tried editing the Makefile in the BUILD/BLAS dir, and all of the tests
worked fine, then any rpm -b command killed the whole BUILD/BLAS tree,
making the build die in the tests.
So, I tried to back out, construct an entirely new lapackrpm directory,
and re-construct the blas-alpha.tar file. Then while building the RPM,
the patch failed!
How can I re-create the blas_patch to reflect my changes in the
top-level makefile? How can I make the RPM? At least I can copy
BUILD/BLAS/libblas.a and .so* to the right places, but then lapack.rpm
won't install unless I can build and install the blas rpm!!
Finally just added . to my path and built successfully, but but didn't
create the .rpm in RPMS! Oh well.
This RPM system seems to make installation negligibly easier ("make" is
planty easy for me), but modification extremely difficult. Since
parts of the library aren't LGPL, we can't distribute the RPMs, thus
negating much of the motive for making an RPM in the first place. As a
general principle, for something like this under heavy development,
might it make more sense to have a source .tar.gz with a makefile and a
place to put the non-LGPL part, patch only that part, and distribute the
.spec file separately? It seems this would make modifying and
rebuilding far less painful.
Sorry to flame, I'm just frustrated after a couple of hours' worth of
repeated fix/rebuild attempts.
Zeen,
-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Was: Port3/Lucent Technologies, Now: lapack stuff
1998-12-08 10:52 Was: Port3/Lucent Technologies, Now: lapack stuff Johannes G.D. Hausmann
1998-12-09 18:07 ` Adam
@ 1998-12-09 19:47 ` Adam
1998-12-10 14:32 ` Kazushige Goto
1 sibling, 1 reply; 4+ messages in thread
From: Adam @ 1998-12-09 19:47 UTC (permalink / raw)
Hello again,
Sorry for all the messages- I keep finding new problems in the rpms. :-(
There's an error in the fastmath top-level makefile so that libffm.so
comes with no symbols defined (except for pow, which depends on powr, so
it's not very helpful). It seems that all of the .o files except pow.o
are deleted before the shared library is created.
There are two possible fixes: modify the libffm makefile so that it
doesn't remove the object files (or so that it creates the shared
library itself), or expand line 21 of the makefile replacing "make
pow.o" with "make asincos.o atan.o atan2.o exp.o log.o powr.o sincos.o
tancotan.o sinhcosh.o sqrt.o sqrti.o dsqrtv.o dsqrtiv.o pow.o". Kinda
ugly, but I don't see a way around one or the other. Of course, since
libffm is LGPL, you can modify and redistribute the makefile with no
copyright problems.
One other question: why call it libffm.so.1.0.0 when it's 0.28?
Finally, a question to the libffm authors: as of version 0.28, aside
from log32 and sqrt32, I don't see any symbols in libfm that are missing
from libffm. Can we now link -lffm -lm and remove libfm from our
systems?
Zeen,
-Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____
USDoC, National Institute of Standards & Technology (NIST) |\ ||< |
Center for Theoretical and Computational Materials Science | \||_> |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Was: Port3/Lucent Technologies, Now: lapack stuff
1998-12-09 19:47 ` Adam
@ 1998-12-10 14:32 ` Kazushige Goto
0 siblings, 0 replies; 4+ messages in thread
From: Kazushige Goto @ 1998-12-10 14:32 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
Hi,
From: "Adam C. Powell, IV" <adam.powell@nist.gov>
Subject: Re: Was: Port3/Lucent Technologies, Now: lapack stuff
adam.powell> Finally, a question to the libffm authors: as of version 0.28, aside
adam.powell> from log32 and sqrt32, I don't see any symbols in libfm that are missing
adam.powell> from libffm. Can we now link -lffm -lm and remove libfm from our
adam.powell> systems?
I do not think you need libfm any longer. You can remove libfm.
Thanks,
goto@statabo.rim.or.jp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-12-10 14:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-08 10:52 Was: Port3/Lucent Technologies, Now: lapack stuff Johannes G.D. Hausmann
1998-12-09 18:07 ` Adam
1998-12-09 19:47 ` Adam
1998-12-10 14:32 ` Kazushige Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox