bugGNU Scientific Library - Bugs: bug #33040, libgsl should be linked against...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33040: libgsl should be linked against libgslcblas

Submitter:  Christoph Junghans <junghans>
Submitted:  Sun 10 Apr 2011 12:05:46 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Operating System:  OpenSuse 10.3 Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed
Release:  1.14

Wed 13 Apr 2011 05:05:37 PM UTC, comment #1: 

Thanks for the suggestion.  I'm going to stick with the existing setup, since the behavior of requiring the BLAS library to be specified separately at link time with -lgslcblas has been the documented way to handle this for 10+ years.

-Deleted Account- <bjg>
Sun 10 Apr 2011 12:05:46 PM UTC, original submission:  

$cat main.c
int gsl_linalg_QR_decomp();
int main() {
  return 0;
}
$gcc main.c -lgsl
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../lib64/libgsl.so: undefined reference to `cblas_csyrk'
(and more)

In gentoo the problem is fixed. (see patch)

The patch also includes the possibility to use an external cblas implementation, which is very very useful on HPC machines with an optimized version of cblas.

Christoph Junghans <junghans>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #23186:  gsl-1.14-cblas.patch added by junghans (17KiB - application/octet-stream - Used in gentoo for a long time and hence well tested)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by junghans (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-13 bjg StatusNone Wont Fix
        Open/ClosedOpen Closed
    2011-04-10 junghans Attached File- Added gsl-1.14-cblas.patch, #23186

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code