I'm currently trying to install ARPACK so that I can use sparse matrices in Armadillo for large information networks. The instructions for
However, when I try running make lib
after altering the directory the files are in, but I run into trouble with this line of the README
7. Do "make lib" in the current directory to build the standard library
"libarpack_$(PLAT).a"
In the subfolders, there are only four different files for platforms, which are
ARmake.CRAY
ARmake.SGI
ARmake.SP2
ARmake.SUN4
The default is SUN4, and the file for the platform must exist because of the line
ARPACKLIB = $(home)/libarpack_$(PLAT).a
included in the makefile. However, my computer has Sandy Bridge architecture (Ubuntu 12.04) and I'm not sure if I'm supposed to use that file.
Additionally, I get the following error after running the make lib
command (which is make all
in this context):
me@mycomp:~/devel/ARPACK2/ARPACK$ make lib
Making lib in /home/me/devel/ARPACK2/ARPACK/BLAS
/bin/sh: 6: /bin/make: not found
Making lib in /home/me/devel/ARPACK2/ARPACK/LAPACK
/bin/sh: 6: /bin/make: not found
Making lib in /home/me/devel/ARPACK2/ARPACK/UTIL
/bin/sh: 6: /bin/make: not found
Making lib in /home/me/devel/ARPACK2/ARPACK/SRC
/bin/sh: 6: /bin/make: not found
ranlib /home/me/devel/ARPACK2/ARPACK/libarpack_SUN4.a
ranlib: '/home/me/devel/ARPACK2/ARPACK/libarpack_SUN4.a': No such file
make: *** [arpacklib] Error 1
I just installed LAPACK and OpenBLAS using make
, but for some reason I'm running into issues here. I'm not very experienced installing libraries, but the documentation I've come across hasn't helped me get past this point.