summaryrefslogtreecommitdiff
path: root/benchmark/Makefile
diff options
context:
space:
mode:
authorWerner Saar <wernsaar@googlemail.com>2016-04-08 10:37:59 +0200
committerWerner Saar <wernsaar@googlemail.com>2016-04-08 10:37:59 +0200
commit08bddde3f3abe3337a1a4177a6a9dbb2428fc87c (patch)
tree551f2a9b5cfe4b8997b67666241cf80d5ca76648 /benchmark/Makefile
parente173c51c0416dade779478b698ccff9429034a7f (diff)
downloadopenblas-08bddde3f3abe3337a1a4177a6a9dbb2428fc87c.tar.gz
openblas-08bddde3f3abe3337a1a4177a6a9dbb2428fc87c.tar.bz2
openblas-08bddde3f3abe3337a1a4177a6a9dbb2428fc87c.zip
updated benchmark Makefile for ESSL
Diffstat (limited to 'benchmark/Makefile')
-rw-r--r--benchmark/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/benchmark/Makefile b/benchmark/Makefile
index badd42c6b..8166f3863 100644
--- a/benchmark/Makefile
+++ b/benchmark/Makefile
@@ -34,7 +34,8 @@ LIBMKL = -L$(MKL) -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread
LIBVECLIB = -framework Accelerate
ESSL=/opt/ibm/lib
-LIBESSL = -lessl $(ESSL)/libxlomp_ser.so.1 $(ESSL)/libxlf90_r.so.1 $(ESSL)/libxlfmath.so.1 $(ESSL)/libxlsmp.so.1 /opt/ibm/xlC/13.1.2/lib/libxl.a
+#LIBESSL = -lesslsmp $(ESSL)/libxlomp_ser.so.1 $(ESSL)/libxlf90_r.so.1 $(ESSL)/libxlfmath.so.1 $(ESSL)/libxlsmp.so.1 /opt/ibm/xlC/13.1.3/lib/libxl.a
+LIBESSL = -lesslsmp $(ESSL)/libxlf90_r.so.1 $(ESSL)/libxlfmath.so.1 $(ESSL)/libxlsmp.so.1 /opt/ibm/xlC/13.1.3/lib/libxl.a
ifeq ($(OSNAME), WINNT)
@@ -259,7 +260,8 @@ mkl :: slinpack.mkl dlinpack.mkl clinpack.mkl zlinpack.mkl \
endif
essl :: sgemm.essl strmm.essl dgemm.essl dtrmm.essl \
- cgemm.essl ctrmm.essl zgemm.essl ztrmm.essl
+ cgemm.essl ctrmm.essl zgemm.essl ztrmm.essl \
+ slinpack.essl clinpack.essl dlinpack.essl zlinpack.essl
veclib :: slinpack.veclib dlinpack.veclib clinpack.veclib zlinpack.veclib \
scholesky.veclib dcholesky.veclib ccholesky.veclib zcholesky.veclib \
@@ -312,6 +314,9 @@ slinpack.mkl : slinpack.$(SUFFIX)
slinpack.veclib : slinpack.$(SUFFIX)
-$(CC) $(CFLAGS) -o $(@F) $^ $(LIBVECLIB) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+slinpack.essl : slinpack.$(SUFFIX)
+ -$(CC) $(CFLAGS) -o $(@F) $^ $(LIBESSL) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+
##################################### Dlinpack ####################################################
dlinpack.goto : dlinpack.$(SUFFIX) ../$(LIBNAME)
$(CC) $(CFLAGS) -o $(@F) $^ $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB) -lm
@@ -328,6 +333,9 @@ dlinpack.mkl : dlinpack.$(SUFFIX)
dlinpack.veclib : dlinpack.$(SUFFIX)
-$(CC) $(CFLAGS) -o $(@F) $^ $(LIBVECLIB) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+dlinpack.essl : dlinpack.$(SUFFIX)
+ -$(CC) $(CFLAGS) -o $(@F) $^ $(LIBESSL) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+
##################################### Clinpack ####################################################
clinpack.goto : clinpack.$(SUFFIX) ../$(LIBNAME)
@@ -345,6 +353,9 @@ clinpack.mkl : clinpack.$(SUFFIX)
clinpack.veclib : clinpack.$(SUFFIX)
-$(CC) $(CFLAGS) -o $(@F) $^ $(LIBVECLIB) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+clinpack.essl : clinpack.$(SUFFIX)
+ -$(CC) $(CFLAGS) -o $(@F) $^ $(LIBESSL) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+
##################################### Zlinpack ####################################################
zlinpack.goto : zlinpack.$(SUFFIX) ../$(LIBNAME)
@@ -362,6 +373,9 @@ zlinpack.mkl : zlinpack.$(SUFFIX)
zlinpack.veclib : zlinpack.$(SUFFIX)
-$(CC) $(CFLAGS) -o $(@F) $^ $(LIBVECLIB) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+zlinpack.essl : zlinpack.$(SUFFIX)
+ -$(CC) $(CFLAGS) -o $(@F) $^ $(LIBESSL) $(CEXTRALIB) $(EXTRALIB) $(FEXTRALIB)
+
##################################### Scholesky ###################################################
scholesky.goto : scholesky.$(SUFFIX) ../$(LIBNAME)