Commit 424c991f authored by Christopher Subich's avatar Christopher Subich
Browse files

Update of belize build

This adds -lblas to the lapack library flag, because with the last
update the toolchain on Belize is more strict about implicit library
inclusions.

Also, the library flags have been re-ordered in the general makefile,
going (roughly) from most specific to least.
parent cdccc1c4
......@@ -40,7 +40,7 @@ INCLUDE_DIRS := -I../include $(MPI_INCDIR) $(LAPACK_INCDIR) $(BLITZ_INCDIR) $(FF
CFLAGS := $(CFLAGS) $(INCLUDE_DIRS)
LIB_DIRS := -L../lib $(MPI_LIBDIR) $(LAPACK_LIBDIR) $(BLITZ_LIBDIR) $(FFTW_LIBDIR) $(UMF_LIBDIR)
LDLIBS := -lfftw3 $(MPI_LIB) $(LAPACK_LIB) -lblitz -lm -lstdc++ -lumfpack -lamd -lboost_program_options
LDLIBS := -lfftw3 $(MPI_LIB) -lumfpack -lamd -lboost_program_options $(LAPACK_LIB) -lblitz -lm -lstdc++
LDFLAGS := $(LDFLAGS) $(LIB_DIRS)
.PHONY: all
......
......@@ -33,7 +33,7 @@ MPI_LIBDIR=
MPI_INCDIR=
# Library names/locations for LAPACK
LAPACK_LIB="-llapack"
LAPACK_LIB="-llapack -lblas"
LAPACK_LIBDIR=
LAPACK_INCDIR=
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment