2008-03-16 14:44:56 |
Konstantin L. Metlov |
bug |
|
|
added bug |
2008-03-16 16:26:56 |
Konstantin L. Metlov |
description |
Binary package hint: blas
On architectures with internel 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. |
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. |
|
2008-04-16 16:11:08 |
Konstantin L. Metlov |
bug |
|
|
assigned to atlas (Ubuntu) |
2008-05-23 18:44:14 |
StefanPotyra |
bug |
|
|
added subscriber Matthias Klose |
2008-06-13 15:33:37 |
Matthias Klose |
blas: status |
New |
In Progress |
|
2008-06-13 15:37:00 |
Matthias Klose |
blas: status |
New |
In Progress |
|
2008-06-16 08:08:41 |
Martin Pitt |
atlas: status |
New |
Fix Committed |
|
2008-06-16 08:08:45 |
Martin Pitt |
blas: status |
In Progress |
Fix Committed |
|
2008-06-16 08:09:25 |
Martin Pitt |
blas: assignee |
|
doko |
|
2008-06-16 08:09:25 |
Martin Pitt |
blas: milestone |
|
intrepid-alpha-2 |
|
2008-06-16 08:09:33 |
Martin Pitt |
atlas: status |
Fix Committed |
New |
|
2008-06-16 11:21:57 |
Launchpad Janitor |
blas: status |
In Progress |
Fix Released |
|
2008-06-16 11:22:05 |
Martin Pitt |
blas: milestone |
intrepid-alpha-2 |
|
|
2008-06-16 16:05:10 |
Launchpad Janitor |
atlas: status |
New |
Fix Released |
|
2008-07-01 20:41:36 |
Steve Langasek |
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. |
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 |
|
2008-07-01 23:33:57 |
Steve Langasek |
blas: status |
Fix Committed |
Fix Released |
|
2009-07-18 02:17:18 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-branches/ubuntu/hardy/blas/hardy-proposed |
|
2009-07-22 09:50:46 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic/atlas |
|
2014-11-21 19:12:33 |
Rolf Leggewie |
atlas (Ubuntu Hardy): status |
New |
Won't Fix |
|