Page 1 of 1

install LAPACP++, searching alternative for -lsunperf

PostPosted: Wed Oct 12, 2005 3:10 am
by xixi
makefile.def (only changed vars)

CPP = g++
CC = gcc

FLIBS = -g77 -lm -lsunperf

when 'make all', the three ++ libs are built, but failed in testing. The error information is as follows:
make[1]: Entering directory '../Lapackpp1.1a/blaspp/testing'
g++ -I../../inlcude -DSUN4 -Wall -o tblasd++ tblasd++.o ../../liblamatrix++.a\
../../libblas++.a ../LAPACK/blas_SUN4.a \
-g77 -lm -lsunperf
ld: fatal: library -lsunperf: not found
ld: fatal: File processing errors. No output written to tblasd++
collect2: ld returned 1 exit status

We did not buy the solaris C++ compiler, can we find the alternative for -lsunperf? If we do not have this library, many variables will be undefined in liblapack.a

What can we do now?


PostPosted: Wed Oct 12, 2005 9:54 am
by Julie

You can use either the referenced blas library ( or the atlas library ( ) if you don't have access to the sunperf library. The atlas library is tuned for your architecture, so it will be much more faster than the referenced blas.

Sun has enhanced these public domain routines and bundled them as the Sun Performance Library, which uses optimizations specific to the SPARC[r] architecture that are not present in the base Netlib libraries. Thus, the serial speed of the Sun routines can be significantly faster than the source Netlib routines. In addition, many of the Sun routines have been parallelized to take advantage of systems with multiple processors.

Julie Langou