Results 1 to 4 of 4

Thread: How do I contact the Science portal maintainers?

  1. #1
    Join Date
    Oct 2009
    Location
    Greater Portland, Oregon, USA
    Posts
    62

    Default How do I contact the Science portal maintainers?

    I am having a problem with the LAPACKE (C wrapper definitions for LAPACK) package. I have lapacke.so.3, lapack.so.3 recently downloaded from the Science portal,version 3.4.2. When I compile/link the following very simple program:

    Code:
    #include <lapacke.h> // <--- header file
    int main()
    {
      double a[] = {1,2,3,4}; //NO need for column-major mode
      double b[] = {19, 22, 43, 50}; //NO need for column-major mode
      int n = 2;
      int nrhs = 2;
      int lda = n;
      int ipiv[n];
      int ldb = n;
     
      int info = LAPACKE_dgesv(LAPACK_ROW_MAJOR, n, nrhs, a, lda, ipiv, b, ldb);
      
      return 0;
    }
    with the command line: g++ lapacke_test_1.cpp /usr/lib64/liblapack.so.3 /usr/lib64/liblapacke.so.3

    I get a list of 14 undefined references in lapacke.so.3:

    Code:
    /usr/lib64/liblapacke.so.3: undefined reference to `slagsy_'
    /usr/lib64/liblapacke.so.3: undefined reference to `claghe_'
    /usr/lib64/liblapacke.so.3: undefined reference to `dlagsy_'
    /usr/lib64/liblapacke.so.3: undefined reference to `zlagge_'
    /usr/lib64/liblapacke.so.3: undefined reference to `dlagge_'
    /usr/lib64/liblapacke.so.3: undefined reference to `zlaghe_'
    /usr/lib64/liblapacke.so.3: undefined reference to `zlatms_'
    /usr/lib64/liblapacke.so.3: undefined reference to `clagsy_'
    /usr/lib64/liblapacke.so.3: undefined reference to `dlatms_'
    /usr/lib64/liblapacke.so.3: undefined reference to `clagge_'
    /usr/lib64/liblapacke.so.3: undefined reference to `clatms_'
    /usr/lib64/liblapacke.so.3: undefined reference to `slagge_'
    /usr/lib64/liblapacke.so.3: undefined reference to `zlagsy_'
    /usr/lib64/liblapacke.so.3: undefined reference to `slatms_'
    These are test programs for LAPACK apparently, and their relevance to linking of regular programs seems dubious. Is this a function of how LAPACK and LAPACKE were built?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: How do I contact the Science portal maintainers?

    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3

    Default Re: How do I contact the Science portal maintainers?

    Hi,
    I am having the same issue - "/usr/lib64/liblapacke.so.3: undefined reference to <test_routine>", where the "test_routine" is slagsy, clagge, and so on as in the original post.

    I ran a couple of checks:

    nm -D /usr/lib64/liblapacke.so.3.5.0 | grep slagsy

    prodices output:

    0000000000101450 T LAPACKE_slagsy_work
    U slagsy_

    nm -D /usr/lib64/lapack/liblapack.so.3.5.0 | grep slagsy

    produces empty output (no symbol slagsy in liblapack.so.3.5.0)

    Am I missing some LAPACK testing package ?

    LAPACKE is a part of LAPACK package. It would be reasonable to expect that the sets of symbols in lapacke.so and in lapack.so are consistent. As it stands now it is impossible to link apps that use LAPACKE routines.

    I wish maintainers of LAPACK{,E} could either separate testing routines in a separate package or include them in lapack.so.

    As for now I have to compile and install my own copy of LAPACK.

  4. #4

    Default Re: How do I contact the Science portal maintainers?

    accidentally found that in Fedora same thing was fixed a while ago:

    https://bugzilla.redhat.com/show_bug.cgi?id=860332

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •