hi!
has anyone experience using cpplapack under debian?
I have installed ATLAS and LAPACK in my home directory. Now when i try to start the CPPLAPACK default tests from the /test i get somethinng like this:
> /home/my_home/local/lib/LAPACK/liblapack.a: file not recognized: File truncated
I guess your liblapack.a is broken and needed to be re-compiled.
Please show us the result of
%nm liblapack.a
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi!
has anyone experience using cpplapack under debian?
I have installed ATLAS and LAPACK in my home directory. Now when i try to start the CPPLAPACK default tests from the /test i get somethinng like this:
~/local/lib/cpplapack/test/complex$ g++ main.o -O2 -Wall -L/home/my_home/local/lib/LAPACK -L/home/my_home/local/lib/ATLAS -llapack -lf77blas -latlas -lg2c -lm -o A.OUT
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status
I already used it but with cygwin, everything was fine, and now? does anyone have idea?
ilya
Please show us the result of
% ls -l /home/my_home/local/lib/LAPACK/
Is "liblapack.a" there?
here you go:
drwxr-xr-x 4 neustroev neustroev 4096 2000-05-17 20:25 BLAS
drwxr-xr-x 2 neustroev neustroev 4096 2000-05-17 20:25 INSTALL
lrwxrwxrwx 1 neustroev neustroev 14 2005-10-08 09:06 lapack.a -> lapack_LINUX.a
-rw-r--r-- 1 neustroev neustroev 6521716 2005-10-08 08:42 lapack_LINUX.a
-rw-r--r-- 1 neustroev neustroev 33685 1999-11-04 20:23 latape
-rw-r--r-- 1 neustroev neustroev 2402 2000-05-17 19:33 Makefile
-rw-r--r-- 1 neustroev neustroev 1352 2005-10-08 08:39 make.inc
-rw-r--r-- 1 neustroev neustroev 4557 2000-05-17 19:43 README
drwxr-xr-x 2 neustroev neustroev 45056 2005-10-08 08:42 SRC
drwxr-xr-x 5 neustroev neustroev 4096 2000-05-17 20:27 TESTING
drwxr-xr-x 4 neustroev neustroev 4096 2000-05-17 20:27 TIMING
-rw-r--r-- 1 neustroev neustroev 466760 2005-10-08 08:43 tmglib_LINUX.a
okay! now i have linked the lapack_LINUX.a to liblapack.a and now ld can find it but writes then
g++ main.o -O2 -Wall -L/home/my_home/local/lib/LAPACK -L/home/my_home/local/lib/ATLAS -llapack -lf77blas -latlas -lg2c -lm -o A.OUT
/home/my_home/local/lib/LAPACK/liblapack.a: file not recognized: File truncated
collect2: ld returned 1 exit status
what does he mean?
ilya
> /home/my_home/local/lib/LAPACK/liblapack.a: file not recognized: File truncated
I guess your liblapack.a is broken and needed to be re-compiled.
Please show us the result of
%nm liblapack.a
he doesn't write anything
I'll try to remake everything, although
ilya
Okay! thanx, Yuki! it seems to work.
ilya