alphalinux.org high-perf list (1998-2001)
 help / color / mirror / Atom feed
* Re: libffm required architecture
  1999-04-19 14:44 libffm required architecture Adam
@ 1999-04-19 14:04 ` Dr. Joachim Wesner
  1999-04-19 17:00 ` Johannes G.D. Hausmann
  1999-04-19 18:05 ` Adam
  2 siblings, 0 replies; 5+ messages in thread
From: Dr. Joachim Wesner @ 1999-04-19 14:04 UTC (permalink / raw)


Adam C. Powell, IV wrote:

> 

> Hi,

> 

> Just curious, does libffm work at all on 21064?  In particular, would

> Joe's fastmath rpm, if released in binary form compiled (assembled) on

> 21164, run on older machines?

> 

> Thanks,

If I recall correctly (never tried it myself, have no 21064 - yet- would

like to get such an old beast), there is nothing 21164-only in libffm,

besides - clearly - 21164 specific optimization.

However, some people even sent me reports (some time ago) that it also

worked on 21064/66 and performance was pretty good.

If - for some reason - the latest version should not work due to

incomtibilities that crept in, please tell and it will be fixed.

BTW, how about libcmpl in this regard ?? Can't remeber in the moment

what is claimed.

Cheers

Joachim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* libffm required architecture
@ 1999-04-19 14:44 Adam
  1999-04-19 14:04 ` Dr. Joachim Wesner
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Adam @ 1999-04-19 14:44 UTC (permalink / raw)


Hi,

Just curious, does libffm work at all on 21064?  In particular, would

Joe's fastmath rpm, if released in binary form compiled (assembled) on

21164, run on older machines?

Thanks,

-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] 5+ messages in thread

* Re: libffm required architecture
  1999-04-19 14:44 libffm required architecture Adam
  1999-04-19 14:04 ` Dr. Joachim Wesner
@ 1999-04-19 17:00 ` Johannes G.D. Hausmann
  1999-04-19 17:35   ` Michal Jaegermann
  1999-04-19 18:05 ` Adam
  2 siblings, 1 reply; 5+ messages in thread
From: Johannes G.D. Hausmann @ 1999-04-19 17:00 UTC (permalink / raw)


Hi,

> > Just curious, does libffm work at all on 21064?  In particular, would

> > Joe's fastmath rpm, if released in binary form compiled (assembled) on

> > 21164, run on older machines?

> >

> > Thanks,

> 

> If I recall correctly (never tried it myself, have no 21064 - yet- would

> like to get such an old beast), there is nothing 21164-only in libffm,

> besides - clearly - 21164 specific optimization.

> 

So if Joachim promises this, all one would need to do is take out the

-mcpu=ev56 in the .rpmrc, recompile and that's it. Probably one should

rename the spec file and the binary, like fastmath-ev4-something.

If people are interested, I could make these. Also, what about taking

out the libfm stuff - then I would see no problem in putting up the

binaries.

Jo

-- 
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme

EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libffm required architecture
  1999-04-19 17:00 ` Johannes G.D. Hausmann
@ 1999-04-19 17:35   ` Michal Jaegermann
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 1999-04-19 17:35 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

Johannes G.D. Hausmann wrote:

> 

> So if Joachim promises this, all one would need to do is take out the

> -mcpu=ev56 in the .rpmrc, recompile and that's it.

Just for the record.  To modify flags used by RPM you do not have

to touch .rpmrc - which may not even exist.  It is enough to set

RPM_OPT_FLAGS to desired values and this can be done in a spec

file; the same way as RPM_BUILD_ROOT, for example.  We are talking

about creating rmp archive, of course, or otherwise this does not

make any sense.

> Probably one should

> rename the spec file and the binary, like fastmath-ev4-something.

And that, i.e. this modified spec file, is an excellent place for

something like '-mcpu=ev4' as one of options in RPM_OPT_FLAGS.

Or you may set CFLAGS for 'make' in spec file directly.  Keep in mind

that somebody else may use this spec file in the future.

  Michal

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: libffm required architecture
  1999-04-19 14:44 libffm required architecture Adam
  1999-04-19 14:04 ` Dr. Joachim Wesner
  1999-04-19 17:00 ` Johannes G.D. Hausmann
@ 1999-04-19 18:05 ` Adam
  2 siblings, 0 replies; 5+ messages in thread
From: Adam @ 1999-04-19 18:05 UTC (permalink / raw)


"Johannes G.D. Hausmann" wrote:

> If people are interested, I could make these. Also, what about taking

> out the libfm stuff - then I would see no problem in putting up the

> binaries.

I asked this of the list back in December (12/9), when I saw that libffm

symbols had become a subset of those in libffm, and K. Goto replied that

libfm can be removed.

Thanks Joe!  I don't know how much difference it would make for most apps,

but as far as RPM features go, ease of installation of is only the

beginning...  We could put up other RPMs on ftp.alphalinux.org that depend on

fastmath, such as perhaps spreadsheets- or Mesa, where I imagine faster sqrt,

sin and cos would help a lot.  OTOH, CPML is slightly faster, and might be

the preferred dependency there.  But then again, vectorized sqrt, sin and cos

could make a big difference in Mesa- we'd just have to provide patches to

them, and have them added to the official Mesa tree.  [Of course, programs

using Mesa would see no advantage unless they link against ffm- and would be

required to link against it if Mesa included ffm-specific calls.  Libtool

seems to be able to handle this though- see the info page, on inter-library

dependencies.]  Does anyone have some free time on their hands to hack Mesa?

To fantasize a little further, there could be a standard cross-platform

fastmath API whose implementation uses libffm on Alpha, 3D-Now! on AMD,

Katmai on newer Intel, and it would be a dependency for a lot of different

packages- sort of like the BLAS/LAPACK are a cross-platform matrix API with

different implementations on different architectures.  But this type of

proposal may exist already, and if not, is just a little bit beyond the scope

of this list.

For now, since it seems it will work for 21064/21066, we can probably put up

a binary fastmath RPM and see what people do with it...

One pointer: Joe, are you familiar with the GNU shared library versioning

conventions?  If not, it might be worth looking into the libtool info page,

in the section on "Versioning".  The convention is somewhat different from

other software, and is important because it clearly indicates changes in

library APIs.  For example, although the gnome-libs package is at version

1.0.8, libgnome is at 32.3.2, libgnomeui at 32.9.0, libgnorba at 27.1.5, etc.

so an older software package can link with the the most recent older library

version that has the correct API, or otherwise fail to run if it can't find

any with the right API.  That was a convoluted explanation, but I think it

might be worth numbering the shared library object using this convention

(e.g. libffm.so.4.7.3), even if it differs from the package version number

(e.g. 0.30).

One last question: how soon can we call you "Dr. Hausmann"? :-)

Thanks again,

-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] 5+ messages in thread

end of thread, other threads:[~1999-04-19 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-19 14:44 libffm required architecture Adam
1999-04-19 14:04 ` Dr. Joachim Wesner
1999-04-19 17:00 ` Johannes G.D. Hausmann
1999-04-19 17:35   ` Michal Jaegermann
1999-04-19 18:05 ` Adam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox