February 26, 2018
On Monday, 26 February 2018 at 19:02:36 UTC, Arredondo wrote:
>
> This worked. Thank you jmh530!
>
> I feel like at this moment, lubeck should be clearly marked "not Windows ready", as not everybody will have the inclination/patience to deal with incompatible object file formats or the Windows subsystem for Linux.
>
> I wonder if compiling OpenBlas from source using DMC would solve this. I also wonder if the resulting binaries would be as fast.
>
> Arredondo

The people who created lubeck are aware that there is scope for improvement in the documentation.

If you compile OpenBlas from source with DMC, then it will not work with LDC, which would have the best performance, or DMD with 64bit binaries. To get it to work with LDC (or 64bit DMD), you'd need to compile it with Visual Studio.

https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio
July 04, 2018
On Sunday, 25 February 2018 at 14:26:24 UTC, Arredondo wrote:
> On Friday, 23 February 2018 at 18:29:09 UTC, Ilya Yaroshenko wrote:
>> openblas.net contains precompiled openblas library for Windows. It may not be optimised well for exactly your CPU but it is fast enought to start. Put the library files into your prodject and add openblas library to your project dub configuration. A .dll files are dinamic, you need also a .lib /.a to link with.
>>
>> OpenBLAS contains both cblas and lapack api by default.
>>
>> We defenetely need to add an example for Windows
>>
>> Best
>> Ilya
>
> It is not working my friend. I've been at this for nearly two full days now. All the .lib/.a files I have tried for BLAS and LAPACK just fail to link, including those from openblas.net.
> rdmd insists on:
>
> Error 42: Symbol Undefined _cblas_dgemm
> Error 42: Symbol Undefined _cblas_dger
> Error: linker exited with status 2
>
> Am I missing something?
> Thank you.

CBLAS. Lubeck uses its API. Intel MKL do have it. Just pick required libs (there multiple variants plus core and thread libs).
July 04, 2018
On Wednesday, 4 July 2018 at 00:23:36 UTC, 9il wrote:
> On Sunday, 25 February 2018 at 14:26:24 UTC, Arredondo wrote:
>> On Friday, 23 February 2018 at 18:29:09 UTC, Ilya Yaroshenko wrote:
>>> [...]
>>
>> It is not working my friend. I've been at this for nearly two full days now. All the .lib/.a files I have tried for BLAS and LAPACK just fail to link, including those from openblas.net.
>> rdmd insists on:
>>
>> Error 42: Symbol Undefined _cblas_dgemm
>> Error 42: Symbol Undefined _cblas_dger
>> Error: linker exited with status 2
>>
>> Am I missing something?
>> Thank you.
>
> CBLAS. Lubeck uses its API. Intel MKL do have it. Just pick required libs (there multiple variants plus core and thread libs).

Openblas also has cblas api, but it may need explicitly included into the project. See its command line config param.
1 2
Next ›   Last »