Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

xblas compile fails tests with intel compiler 2015.3.187

Armando_S_
Beginner
434 Views

FAILED dot       : FAIL/TOTAL = 6/28

PASSED sum       : FAIL/TOTAL = 0/4

FAILED axpby     : FAIL/TOTAL = 4/12

FAILED waxpby    : FAIL/TOTAL = 10/28

FAILED gemv      : FAIL/TOTAL = 3/28

FAILED ge_sum_mv : FAIL/TOTAL = 13/28

FAILED gbmv      : FAIL/TOTAL = 8/28

FAILED symv      : FAIL/TOTAL = 15/28

FAILED spmv      : FAIL/TOTAL = 13/28

FAILED sbmv      : FAIL/TOTAL = 15/28

FAILED hemv      : FAIL/TOTAL = 7/12

FAILED hpmv      : FAIL/TOTAL = 6/12

FAILED hbmv      : FAIL/TOTAL = 7/12

FAILED trmv      : FAIL/TOTAL = 7/12

FAILED tpmv      : FAIL/TOTAL = 8/12

FAILED trsv      : FAIL/TOTAL = 8/12

FAILED tbsv      : FAIL/TOTAL = 8/12

FAILED gemm      : FAIL/TOTAL = 16/28

FAILED symm      : FAIL/TOTAL = 14/28

FAILED hemm      : FAIL/TOTAL = 7/12

FAILED gemv2     : FAIL/TOTAL = 16/28

FAILED symv2     : FAIL/TOTAL = 16/28

FAILED hemv2     : FAIL/TOTAL = 7/12

FAILED gbmv2     : FAIL/TOTAL = 16/28

0 Kudos
3 Replies
TimP
Honored Contributor III
434 Views

The instructions tell you to start out by generating make.inc.  How would anyone guess what you have done there?

There seems little point in using icc in place of gcc, particularly if you don't use ifort.

0 Kudos
Armando_S_
Beginner
434 Views
Thanks Tim.. Here are my settings: $CC environment variable is: /apps/ic/ic-2015.3.187/composerxe/bin/icc Make.inc : # # Basic include options. # CC is the C compiler, normally invoked with options CFLAGS. # LINKER and LDFLAGS function as CC and CFLAGS, but for linking stages. # LINKER = $(CC) LDFLAGS = EXTRA_LIBS = -lm # M4 macro preprocessor M4 = m4 M4_OPTS = -B65536 INDENT = indent INDENT_OPTS = -ce -i2 -nfc1 -br -brs -cs -npcs -nprs -npsl # # The name of the libraries to be created/linked to # XBLASLIB = libxblas.a # # The archiver and the flag(s) to use when building archive (library) # If your system has no ranlib, set RANLIB = echo. # ARCH = ar ARCHFLAGS = cr RANLIB = ranlib Where do I specify ifort in make.inc ? What else I should be customizing in make.inc ? Regards Armando
0 Kudos
Anoop_M_Intel
Employee
434 Views

ICC build with -O2 will enable -fp-model:fast while the GCC's -O2 build doesn't. The sanity test for xblas goes fine with ICC when you include CFLAGS = -O2 -fp-model:precise in the make.inc file. When I build xblas with GCC and -ffast-math, the sanity test fails in a similar fashion.

Thanks and Regards
Anoop

0 Kudos
Reply