OpenBLAS: Unable to build BLAS - complex.h missing

Hello,

I am currently trying to build BLAS as it is needed for another code I will be using - NEML (https://github.com/Argonne-National-Laboratory/neml). My current setup is Win 10, Visual Studio 2012 with installed Intel Parallel 2015.

I have followed the steps for installing OpenBlas from https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio, but the Conda Prompt exited with an error during the build - ninja: build stopped: subcommand failed. ; see attached output from the shell. It appears that build encountered an error in not finding complex.h. Would it be possible to get some feedback on what the issue might be and how it could be resolved? I can provide any info needed to help resolve this. Sadly I am restricted to using Windows because of other softwares which will later use the above NEML model which requires BLAS. Many thanks all Anaconda Prmt - BLAS.txt

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

No idea, as far as I know it should work since cmake 3.6 Maybe try adding -DBLA_VENDOR=OpenBLAS to your cmake command line for NEML

(i.e. remove the line add_subdirectory(utest) from the toplevel CMakeLists.txt)

strange, from what I had seen on the net I assumed vs2012 would not define STDC_VERSION at all, so I used that to decide which to include. Did you make sure that the “new” ctest.h ended up in the utest folder ? (the less elegant solution would be to remove utest from the cmake targets)