not found in lib and lib64 directories

General CULA Dense (LAPACK & BLAS) support and troubleshooting. Use this forum if you are having a general problem or have encountered a bug. not found in lib and lib64 directories

Postby dared90 » Wed Feb 25, 2015 3:21 pm

Hi guys,
I downloaded CULA Dense R17 Free Edition for Linux.

I noticed that in lib and lib64 directories, there isn't but there is only Is it normal?

I set environment variables in .bashrc file in this way:
export CULA_LIB_PATH_32=/usr/local/cula/lib
export CULA_ROOT=/usr/local/cula
export CULA_LIB_PATH_64=/usr/local/cula/lib64
export CULA_INC_PATH=/usr/local/cula/include

I tried to compile a very simple c program to test if cula run correctly.

Code: Select all
#include <cula.h>
#include <stdio.h>

int main()
    culaStatus s;
    s = culaInitialize();
    if (s != culaNoError)
       printf("%s\n", culaGetStatusString(s));

    return 0;

I compile with:
gcc -I$CULA_INC_PATH -L$CULA_LIB_PATH_64 -lcula_lapack_basic prog.c -o prog

I received this errors:
/tmp/ccDSdmLN.o: In function `main':
prog.c:(.text+0xe): undefined reference to `culaInitialize'
prog.c:(.text+0x21): undefined reference to `culaGetStatusString'
prog.c:(.text+0x33): undefined reference to `culaShutdown'
collect2: ld returned 1 exit status

How to resolve this compilation problem? :roll: :roll: :(
Posts: 1
Joined: Mon Feb 09, 2015 12:15 pm

Re: not found in lib and lib64 directories

Postby zhongjs52 » Wed Oct 14, 2015 3:38 am


I do have the same issue.

Have you solved this problem?
Posts: 1
Joined: Wed Oct 14, 2015 3:36 am

Return to CULA Dense Support

Who is online

Users browsing this forum: No registered users and 4 guests