RUN_TEST fails with Visual Studio 2015 for clapack-3.2.1

Post here if you are having problem installing LAPACK on a Windows machine

RUN_TEST fails with Visual Studio 2015 for clapack-3.2.1

Postby klamer » Fri Dec 02, 2016 6:24 am

Hi,

Switching over to VS2015 we learned that we had to recompile external static libraries, where earlier we could use a VS2008 compiled lib in VS2008, VS2010 and VS2015.

I was unable to find an external compiled distribution aiming at VS2015. Did I miss something?

CLAPACK 3.2.1 seems to fit my whishes, providing CMake support to make VS2015 64 bit project files, and not needing an Fortran compiler.

Compilation went fine. However, running the tests by building the RUN_TESTS target failed for the programs xlintst[dczs] and xeigtst[dzcs]. I checked this for xlintstc, where in MAIN__(void) we see allocation of quite large arrays including complex a[153384]. This provide a stack error. I "fixed" my tests by providing a very large stack to Visual Studio (100 Mb) where the default is a stack of 1Mb. See also https://msdn.microsoft.com/query/dev14. ... eserveSize)&rd=true

After this fix all test pass.
klamer
 
Posts: 1
Joined: Fri Dec 02, 2016 6:13 am

Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest