Results 1 to 2 of 2

Thread: umfpack - undefined reference

  1. #1
    Join Date
    Jun 2012

    umfpack - undefined reference

    Downloaded and compiled UMFPACK [1] and it went well
    copied out the example program Tim Davis has written up and I got this error

    me@sun:~/umfpack$ cc ex.c
    /tmp/ccBVFK6B.o: In function `main':
    ex.c.text+0x4a): undefined reference to `umfpack_di_symbolic'
    ex.c.text+0x7b): undefined reference to `umfpack_di_numeric'
    ex.c.text+0x87): undefined reference to `umfpack_di_free_symbolic'
    ex.c.text+0xc6): undefined reference to `umfpack_di_solve'
    ex.c.text+0xd2): undefined reference to `umfpack_di_free_numeric'
    collect2: ld returned 1 exit status

    I had originally thought that I would need to use libraries like such:

    me@sun:~/umfpack$ cc ex.c -lumfpack -lamd -lcblas -latlas

    but the libraries can't be found.

    I had to adjust the paths for a few header files already, so this is probably the same issue , I just don't know where or what needs fixing.

    Any help is much appreciated.

    [1] compile guide -
    [2] user guide -

  2. #2
    Join Date
    Jun 2012

    Re: umfpack - undefined reference

    Fixed it using the Makefile from the Demos and turning off BLAS.
    Not 100% sure yet how BLAS affects this yet though.


Posting Permissions

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