Your message dated Sun, 15 Jun 2008 17:33:36 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#486407: Missing depency on libblas-dev
has caused the Debian Bug report #486407,
regarding Missing depency on libblas-dev
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
486407: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486407
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libgsl0-dev
Version: 1.8-2
Severity: normal

When building a executbale which needs libgsl0 it fails to 
build unless libblas-dev is also install, sinve libgsl0 refers to
fucntions in libblas.

So libgsl-dev should depend on libblas-dev.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (120, 'testing'), (20, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-rgg
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages libgsl0-dev depends on:
ii  libgsl0                       1.8-2      GNU Scientific Library (GSL) -- li

libgsl0-dev recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Roger,

Thanks for the bugreport!

On 15 June 2008 at 22:53, roger wrote:
| Package: libgsl0-dev
| Version: 1.8-2
| Severity: normal
| 
| When building a executbale which needs libgsl0 it fails to 
| build unless libblas-dev is also install, sinve libgsl0 refers to
| fucntions in libblas.
| 
| So libgsl-dev should depend on libblas-dev.

No, I think that is not correct. 

You may have overlooked the fact the GSL itself comes with a set of blas
functions in the library libgslcblas -- this gives the option of staying with
basic blas (eg using libgslcblas) or by using another blas library, optimised
(like Atlas) or not, via libblas..  See the example session below.

So with that I am closing the bug report.  If you disagree feel free to
re-open but add a few lines explaining my think my analysis is faulty.

Cheers, Dirk


[EMAIL PROTECTED]:~/src/progs/C> cat blas_sgemm_gsl.c

/* from the gsl info documentation in node 'gsl cblas examples' */
/* compile via 'gcc -o $file $file.c -lgslcblas' */
/* edd 15 Nov 2003 */

#include <stdio.h>
#include <gsl/gsl_cblas.h>

int
main (void)
{
  int lda = 3;

  float A[] = { 0.11, 0.12, 0.13,
                0.21, 0.22, 0.23 };

  int ldb = 2;

  float B[] = { 1011, 1012,
                1021, 1022,
                1031, 1032 };

  int ldc = 2;

  float C[] = { 0.00, 0.00,
                0.00, 0.00 };

  /* Compute C = A B */

  cblas_sgemm (CblasRowMajor,
               CblasNoTrans, CblasNoTrans, 2, 2, 3,
               1.0, A, lda, B, ldb, 0.0, C, ldc);

  printf ("[ %g, %g\n", C[0], C[1]);
  printf ("  %g, %g ]\n", C[2], C[3]);

  return 0;
}

[EMAIL PROTECTED]:~/src/progs/C> gcc -o sgem_gslblas blas_sgemm_gsl.c -lgsl 
-lgslcblas -lm
[EMAIL PROTECTED]:~/src/progs/C> gcc -o sgem_blas blas_sgemm_gsl.c -lgsl -lblas 
-lm
[EMAIL PROTECTED]:~/src/progs/C> ldd sgem_gslblas
        linux-gate.so.1 =>  (0xffffe000)
        libgsl.so.0 => /usr/lib/libgsl.so.0 (0xb7df0000)
        libgslcblas.so.0 => /usr/lib/libgslcblas.so.0 (0xb7dbe000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7d98000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7c4a000)
        /lib/ld-linux.so.2 (0xb7fe1000)
[EMAIL PROTECTED]:~/src/progs/C> ldd sgem_blas
        linux-gate.so.1 =>  (0xffffe000)
        libgsl.so.0 => /usr/lib/libgsl.so.0 (0xb7dd9000)
        libblas.so.3gf => /usr/lib/atlas/libblas.so.3gf (0xb7a5e000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7a38000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb78ea000)
        libgfortran.so.3 => /usr/lib/libgfortran.so.3 (0xb7838000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb782b000)
        /lib/ld-linux.so.2 (0xb7fca000)
[EMAIL PROTECTED]:~/src/progs/C> ./sgem_gslblas
[ 367.76, 368.12
  674.06, 674.72 ]
[EMAIL PROTECTED]:~/src/progs/C> ./sgem_blas
[ 367.76, 368.12
  674.06, 674.72 ]
[EMAIL PROTECTED]:~/src/progs/C> 


| 
| -- System Information:
| Debian Release: 4.0
|   APT prefers stable
|   APT policy: (500, 'stable'), (120, 'testing'), (20, 'unstable')
| Architecture: amd64 (x86_64)
| Shell:  /bin/sh linked to /bin/bash
| Kernel: Linux 2.6.22-rgg
| Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
| 
| Versions of packages libgsl0-dev depends on:
| ii  libgsl0                       1.8-2      GNU Scientific Library (GSL) -- 
li
| 
| libgsl0-dev recommends no packages.
| 
| -- no debconf information
| 
| 

-- 
Three out of two people have difficulties with fractions.


--- End Message ---

Reply via email to