Monday, January 3, 2011

dynamical compilation of lapack

add -fPIC to compile option

cp INSTALL/slamch.o and INSTALL/dlamch.o into SRC directory

In the folder of SRC, type

cc -shared -Wl,-soname,liblapack.so -o liblapack.so *.o

In the folder of BLAS/SRC, type

cc -shared -Wl,-soname,libblas.so -o libblas.so *.o

No comments:

Post a Comment