Public bug reported:
Binary package hint: libf2c2
I try to run the function dgesv_ in lapack. It compiles, links and runs,
but the output is wrong.
In the lapack manual it says that it expects data of type integer array
(arguments of type "integer *").
f2c.h defines integer as long int, which on x86-64 is 64 bit.
When I look at an integer array filled by dgesv_, it is clear that the
integers are 32 bit. When I change the definition of integer in f2c.h to
int, the function works.
Not sure if the error is in f2c.h, or in the lapack build.
I use liblapack3gf 3.1.1-0.3ubuntu2.
ProblemType: Bug
Architecture: amd64
Date: Fri Apr 25 20:49:25 2008
Dependencies:
libgcc1 1:4.2.3-2ubuntu7
gcc-4.2-base 4.2.3-2ubuntu7
libc6 2.7-10ubuntu3
DistroRelease: Ubuntu 8.04
NonfreeKernelModules: openafs nvidia
Package: libf2c2 20050501-2
PackageArchitecture: amd64
ProcEnviron:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libf2c2
Uname: Linux 2.6.24-16-generic x86_64
** Affects: libf2c2 (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug
--
integer type is defined as 64 bit on x86-64, but dgesv_ expects 32 bit
https://bugs.launchpad.net/bugs/222094
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs