[Bug 202869] Re: ICAMAX/IZAMAX tests

Rolf Leggewie 202869 at bugs.launchpad.net
Fri Nov 21 19:12:31 UTC 2014


Hardy has seen the end of its life and is no longer receiving any
updates. Marking the Hardy task for this ticket as "Won't Fix".

** Changed in: atlas (Ubuntu Hardy)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to blas in Ubuntu.
https://bugs.launchpad.net/bugs/202869

Title:
  ICAMAX/IZAMAX tests

Status in “atlas” package in Ubuntu:
  Fix Released
Status in “blas” package in Ubuntu:
  Fix Released
Status in “atlas” source package in Hardy:
  Won't Fix
Status in “blas” source package in Hardy:
  Fix Released

Bug description:
  Binary package hint: blas

  On architectures with internal floating point precision higher than
  that of the varibles (such as 68000, x86) files src/icamax.f and
  src/izamax.f must necessarily be compiled with -ffloat-store option.
  Otherwise the corresponding functions do not perform to their
  specification and the corresponding blas level 1 tests fail. This, in
  particular, prevents atlas-3.6.0-21.1ubuntu2 from building on i386.

  It is, of course, an overkill to enable -ffloat-store for the whole
  BLAS, but enabling it only for two said files works well and the
  impact on performance is negligible.

  This can be acomplished by the following changes to debian/rules
  BOBJ:=$(BSRC:.f=.o)
  +BOBJ1:=$(filter-out src/izamax.o,$(filter-out src/icamax.o,$(BOBJ)))
  +BOBJ2:=src/icamax.o src/izamax.o

  ....

  debian/shared_dir debian/static_dir debian/test_dir:
          mkdir -p $(subst _dir,,$(@))
          touch $@

  !$(subst src/,debian/static/,$(BOBJ1)): \
          debian/static/%.o : src/%.f debian/static_dir debian/patch_applied

          $(F77) $(F77FLAGS) -c $< -o $@

  +$(subst src/,debian/static/,$(BOBJ2)): \
  +        debian/static/%.o : src/%.f debian/static_dir +debian/patch_applied
  +
  +        $(F77) $(F77FLAGS) -ffloat-store -c $< -o $@

  The resulting library passes all of the BLAS test suite. This also
  fixes atlas-3.6.0-21.1ubuntu2 build problem.

  TEST CASE:
  1) grab the atlas 3.6.0-21.1ubuntu2 source package from <https://launchpad.net/ubuntu/hardy/+source/atlas/3.6.0-21.1ubuntu2>.
  2) try to build it on hardy/i386
  3) install the blas packages from hardy-proposed
  4) try to build it again

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/atlas/+bug/202869/+subscriptions



More information about the foundations-bugs mailing list