OpenMathLib / OpenMathLib/OpenBLAS

Crash with Open Blas using cblas_dgemm with square matrix of size 100 on widows 10 Visual Studio 2017

Open
#1,404 28 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
7.6k
Forks
1.7k
Avg merge
1d 3h
Merged PRs (30d)
42

Description

Hi all,
I have small test case where I call "cblas_dgemm()" using OpenBLAS and when I use a matrix of size N x N with N >= 70, I have a crash!
I can compile and run the code for N <= 60 but it does not work anymore with N > 70. Here is my environment;

  • Windows 10 Professional 64 bits
  • Visual Studio 2017 (Test with Release x64)
  • OpenBLAS-0.2.20
  • Processor: Intel Core i7-5930K Haswell E-EP with 16GB of RAM

The test code is attached in test_cblas_dgemm.zip. I use the one in the tutorial of Intel
https://software.intel.com/en-us/mkl-tutorial-c-multiplying-matrices-using-dgemm
but using OpenBLAS instead of Intel(R) MKL.

test_cblas_dgemm.zip

Where did I make wrong or any ideas of the issue ?
Thanks !

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by building and running the attached test_cblas_dgemm.zip with OpenBLAS-0.2.20 on Windows 10, Visual Studio 2017, and x64 Release settings. Exercise cblas_dgemm with the reported matrix sizes around N=70 and inspect the Windows/OpenBLAS path for the crash. Done means the failure is reproduced and its cause is identified, with a verified correction or documented usage issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.