OpenBLAS: Self Tests Fail (L2/L3) When Using IBM Compilers

The self and link tests fail when using the IBM build tools but work fine on the same system with gcc 5.4.0. I have not tried with MASS or without OpenMP; nor have I compared the assembly produced by the different compilers yet. I have tried everything from O0 to O5 with and without the strict flag and the results are the same.

I have included a file with the test output below and will update the issue when I know more.

System Details:

  • RHEL 7 Little Endian
  • IBM Power8 (8335-GTA) (dual socket 8PE/8thread per socket)
  • xlc-14…1(beta 6)/xlf-16.1(beta 6)

Make/Compilation: VERBOSE=1 USE_OPENMP=1 TARGET=POWER8 make tests xlc -Ofast -q64 -qstrict -qarch=pwr8 -qtune=pwr8 -qalign=linuxppc -DUSE_OPENMP -qsmp=omp xlf90_r -q64 -qpic=large -O2 -q64 -qstrict -qfixed -qarch=pwr8 -qtune=pwr8 -qalign=bindc=linuxppc -DUSE_OPENMP -qsmp=omp I have also tried including -L${XLF_ROOT}/lib -L${XLC_ROOT}/lib -lxlf90_r -lxlopt -lxlsmp -lxl -lxlfmath

build-tests.txt

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 29 (9 by maintainers)

Most upvoted comments

Yup. I can build it with gcc, including MASS, with no problem. However, I would like to be able to use IBM’s toolchain, so I’ll keep working on this and report back when I have an update.