Firstly you have to install suitesparse and metis.
sudo apt-get install libsuitesparse-dev
sudo apt-get install libmetis-dev
levmar
1.Download Levmar and extract it.
2.Open Terminal in that directory and input “make”;
Sparselm
1.Download Sparselm and extract it.
2.open the makefile do the following change:
Before
MACH_CFLAGS=-march=pentiumpro -malign-double # machine specific gcc flags, in this case for the pentium pro
...
SUITESPARSE_PATH=/home/lourakis/SuiteSparse-3.4.0
...
CHOLMOD_INC=-I$(SUITESPARSE_PATH)/CHOLMOD/Include
After
#MACH_CFLAGS=-march=pentiumpro -malign-double machine specific gcc flags, in this case for the pentium pro
...
SUITESPARSE_PATH=/usr/include/suitesparse
...
CHOLMOD_INC=-I$(SUITESPARSE_PATH)
3.open the makefile_demo and do some changes:
Before
MACH_CFLAGS=-march=pentiumpro -malign-double # machine specific gcc flags, in this case for the pentium pro
...
SUITESPARSE_PATH=/home/lourakis/SuiteSparse-3.4.0
...
CHOLMOD_LIB=-L$(SUITESPARSE_PATH)/CHOLMOD/Lib
...
UFconfig_LIB=-L$(SUITESPARSE_PATH)/UFconfig/
AMD_LIB=-L$(SUITESPARSE_PATH)/AMD/Lib/
COLAMD_LIB=-L$(SUITESPARSE_PATH)/COLAMD/Lib/
CCOLAMD_LIB=-L$(SUITESPARSE_PATH)/CCOLAMD/Lib/
CAMD_LIB=-L$(SUITESPARSE_PATH)/CAMD/Lib/
METIS_LIB=-L/usr/local/lib/
After
#MACH_CFLAGS=-march=pentiumpro -malign-double machine specific gcc flags, in this case for the pentium pro
...
SUITESPARSE_PATH=/usr/include/suitesparse
...
CHOLMOD_LIB=-L$(SUITESPARSE_PATH)
...
UFconfig_LIB=-L$(SUITESPARSE_PATH)
AMD_LIB=-L$(SUITESPARSE_PATH)
COLAMD_LIB=-L$(SUITESPARSE_PATH)
CCOLAMD_LIB=-L$(SUITESPARSE_PATH)
CAMD_LIB=-L$(SUITESPARSE_PATH)
METIS_LIB=-L/usr/lib/
4.open the Terminal and input “make”.
sba
1.Download SBA and extract it.
2.Open Terminal in that directory and input “make”;