libcula_lapack.so not found in lib and lib64 directories
2 posts
• Page 1 of 1
libcula_lapack.so not found in lib and lib64 directories
Hi guys,
I downloaded CULA Dense R17 Free Edition for Linux.
I noticed that in lib and lib64 directories, there isn't libcula_lapack.so but there is only libcula_lapack_basic.so. 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
export LD_LIBRARY_PATH = "$CULA_LIB_PATH_64"
I tried to compile a very simple c program to test if cula run correctly.
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?

I downloaded CULA Dense R17 Free Edition for Linux.
I noticed that in lib and lib64 directories, there isn't libcula_lapack.so but there is only libcula_lapack_basic.so. 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
export LD_LIBRARY_PATH = "$CULA_LIB_PATH_64"
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));
culaShutdown();
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?



- dared90
- Posts: 1
- Joined: Mon Feb 09, 2015 12:15 pm
Re: libcula_lapack.so not found in lib and lib64 directories
Hi,
I do have the same issue.
Have you solved this problem?
I do have the same issue.
Have you solved this problem?
- zhongjs52
- Posts: 1
- Joined: Wed Oct 14, 2015 3:36 am
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests