Pastix installation
I'm trying to install Pastix library, but I'm still having problems with missing libraries and I'm really helpless now.
I started with copying LINUX-GNU.in as config.in, because I'm working on Lubuntu 15.04. I've changed paths to Scotch and Blas.
But now, when I try to make examples_s, it appears ok, but no compiled files appear in the bin folder.
When I try to make any other example, e.g. make examples_z, eventually I'm getting the error:
/usr/bin/ld: cannot find -lblas
I know that Blas library couldn't be found, but I don't see the mistake I made. Blas libraries are located in my /usr/lib folder like this:
├── libblas
| ├── libblas.so.3 -> libblas.so.3.0
| └── libblas.so.3.0
├── libblas.so.3 -> /etc/alternatives/libblas.so.3
├── libblas.so.3gf -> /etc/alternatives/libblas.so.3gf
├── libgslcblas.so.0 -> libgslcblas.so.0.0.0
└── libgslcblas.so.0.0.0
In config.in I've set BLAS_HOME variable like this:
BLAS_HOME=/usr/lib/libblas
So, do you know, what I'm doing wrong? I have no experience with Pastix and so I'm very confused right now.
Solution
I've finally found out, that Pastix needs specifically libblas.a library.
So, the solution is:
1. 613
Find the package which contains libblas.a - apt-file search libblas.a
2. Choose one of the packages - e.g. libblas-dev
3. Install the chosen package - sudo apt-get install libblas-dev
config.in
HOSTARCH = i686_pc_linux
VERSIONBIT = _32bit
EXEEXT =
OBJEXT = .o
LIBEXT = .a
CCPROG = gcc -Wall
CFPROG = gfortran
CF90PROG = gfortran -ffree-form
MCFPROG = mpif90
CF90CCPOPT = -ffree-form -x f95-cpp-input
# Compilation options for optimization (make expor)
CCFOPT = -O3
# Compilation options for debug (make | make debug)
CCFDEB = -g3
CXXOPT = -O3
NVCCOPT = -O3
LKFOPT =
MKPROG = make
MPCCPROG = mpicc -Wall
MPCXXPROG = mpic++ -Wall
CPP = cpp
ARFLAGS = ruv
ARPROG = ar
EXTRALIB = -lgfortran -lm -lrt
CTAGSPROG = ctags
VERSIONMPI = _mpi
VERSIONSMP = _smp
VERSIONSCH = _static
VERSIONINT = _int
VERSIONPRC = _simple
VERSIONFLT = _real
VERSIONORD = _scotch
###################################################################
# SETTING INSTALL DIRECTORIES #
###################################################################
# ROOT = /home/osboxes/pastix
# INCLUDEDIR = ${ROOT}/include
# LIBDIR = ${ROOT}/lib
# BINDIR = ${ROOT}/bin
# PYTHON_PREFIX = ${ROOT}
###################################################################
# SHARED LIBRARY GENERATION #
###################################################################
#SHARED=1
#SOEXT=. 268