Code: Select all
In src/Makefile, modify the following variables to your system settings:
CBLASDIR = directory of BLAS installation, with libraries in $CBLASDIR/lib and headers in $CBLASDIR/include
ICC/ICXX = serial C/C++ compilers
CC/CXX = C/C++ compilers, either serial or MPI
CFLAGS/CXXFLAGS = compiler flags for includes and optimisations, etc.
--> Include "-DPARALLEL" for MPI compilation
Code: Select all
#GSL directory
GSLDIR = /opt/local
#GSLDIR = /usr/local/other/SLES11.1/gsl/1.15/intel-12.1.0.233
#CBlas directory
CBLASDIR = /usr/local/lib/
#SERIAL
ICC = $(CC)
ICXX = $(CXX)
ICFLAGS += -I. -I$(GSLDIR)/include/ -O3
ICXXFLAGS += -I. -I$(GSLDIR)/include/ -O3
#MAC OSX
CFLAGS += -I. -O3
CXXFLAGS += -I. -O3
LAPACKLIB = -llapack -latlas
configure: Fehler: CBLAS-Bibliothek konnte nicht gefunden werden
Sollen sich alle Dateien sowohl in /lib als auch in /include befinden?
Mobile version