I need to install CBLAS on an Ubuntu 16.04.4 machine. The following values have been set in the Makefile.in
file of CBLAS:
SHELL = /bin/sh
PLAT = LINUX
BLLIB = /home/ubuntu/BLAS-3.8.0/blas_LINUX.a
CBLIB = /home/ubuntu/CBLAS/lib/cblas_LINUX.a
CC = gcc
FC = gfortran
LOADER = $(FC)
CFLAGS = -O3 -DADD_ -fPIC
FFLAGS = -O3 -fPIC
ARCH = gcc
ARCHFLAGS = -shared -o
RANLIB = ranlib
However, while running the make
command I run into following error:
ranlib: /home/ubuntu/CBLAS/lib/cblas_LINUX.a: File format not recognized
The following is the stack trace:
Can someone suggest how this can be resolved?