clapack 3.2.1 cmake: x64 test failures

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

clapack 3.2.1 cmake: x64 test failures

Postby sherm1 » Fri Nov 05, 2010 2:33 am

I downloaded the very convenient clapack-3.2.1-CMAKE package, chose Visual Studio 9 32 bit, did an ALL_BUILD in RelWithDebInfo, the RUN_TESTS and everything passed -- very nice.

Then I attempted the same choosing Visual Studio 9 64 bit, everything built fine, but all tests after xlintsts_stest_in failed (and all tests prior to that succeeded). Below are the last 3 successes and first 3 failures:

Code: Select all
1>10/94 Test #10: xblat3c ..........................   Passed    0.19 sec
1>      Start 11: xblat3d
1>11/94 Test #11: xblat3d ..........................   Passed    0.10 sec
1>      Start 12: xblat3z
1>12/94 Test #12: xblat3z ..........................   Passed    0.19 sec
1>      Start 13: xlintsts_stest_in
1>13/94 Test #13: xlintsts_stest_in ................***Failed    0.04 sec
1>      Start 14: xlintstc_ctest_in
1>14/94 Test #14: xlintstc_ctest_in ................***Failed    0.04 sec
1>      Start 15: xlintstd_dtest_in
1>15/94 Test #15: xlintstd_dtest_in ................***Failed    0.04 sec
1>      Start 16: xlintstz_ztest_in


I took all the defaults -- here is what arithchk put out:

Code: Select all
#define IEEE_8087
#define Arith_Kind_ASL 1
#define Double_Align
#define X64_bit_pointers
#define NO_LONG_LONG
#define NANCHECK
#define QNaN0 0x0
#define QNaN1 0xfff80000

I'm running in Windows 7 on an i7 processor, and using CMake 2.8.2.

Has anyone seen this problem or can you give me some advice on how to debug it? I am an experienced user of CMake, VC++, and Lapack.

Thanks,
Sherm
sherm1
 
Posts: 2
Joined: Fri Nov 05, 2010 2:13 am

Re: clapack 3.2.1 cmake: x64 test failures

Postby sherm1 » Mon Nov 29, 2010 7:18 pm

No, I set this aside hoping for a reply! Please let me know if you figure it out.
sherm1
 
Posts: 2
Joined: Fri Nov 05, 2010 2:13 am

Re: clapack 3.2.1 cmake: x64 test failures

Postby drescherjm » Fri May 13, 2011 5:02 pm

I get the same test failures with visual studio 2010 x64.

I am not sure if this is causing me a problem or not since with the x64 cmake compiled version I get different results using a coworkers program versus a binary .lib compiled for Visual Studio 2005 x86.
drescherjm
 
Posts: 1
Joined: Fri May 13, 2011 4:56 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby admin » Wed May 18, 2011 10:37 am

Hi,
Sorry to get to you so late.
From what I see, BLAS Testing are successful but not the CLAPACK Testing in 64 bit configuration.
To check that something is actually working.
Could you try running the example http://icl.cs.utk.edu/lapack-for-window ... ml#running (part 2)

This problem happens only under Windows, CLAPACK 64 bit works fines under Linux system with CMAKE.
My Windows machine is down at the moment, but I will try to take a look later.
Julie
admin
Site Admin
 
Posts: 501
Joined: Wed Dec 08, 2004 7:07 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby rvenable » Tue Oct 25, 2011 4:40 pm

I'm getting a very similar error. I was using VS2008, and both 32 and 64 bit CMAKE generated solutions compiled just fine and passed all tests. Then I got a new machine and VS2010, patched (ad nauseum) with Windows Update and VS2010 SP1. A nice fresh new VS2010 32-bit solution generated with clapack-3.2.1-CMAKE and CMake 2.8.6 compiles and passes all tests, both Debug and Release. However, a 64-bit generated solution compiles, but fails every test from xlintsts_stest_in onward:

1>------ Build started: Project: RUN_TESTS, Configuration: Debug x64 ------
1>Build started 10/25/2011 4:18:35 PM.
1>InitializeBuildStatus:
1> Creating "x64\Debug\RUN_TESTS\RUN_TESTS.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1> Building Custom Rule D:/work/clapack-3.2.1-CMAKE/CMakeLists.txt
1> CMake does not need to re-run because D:\work\MyCLAPACK-64-2\CMakeFiles\generate.stamp is up-to-date.
1>PostBuildEvent:
1> Test project D:/work/MyCLAPACK-64-2
1> Start 1: xblat1s
1> 1/94 Test #1: xblat1s .......................... Passed 0.03 sec
1> Start 2: xblat1c
1> 2/94 Test #2: xblat1c .......................... Passed 0.02 sec
1> Start 3: xblat1d
1> 3/94 Test #3: xblat1d .......................... Passed 0.03 sec
1> Start 4: xblat1z
1> 4/94 Test #4: xblat1z .......................... Passed 0.03 sec
1> Start 5: xblat2s
1> 5/94 Test #5: xblat2s .......................... Passed 0.05 sec
1> Start 6: xblat2c
1> 6/94 Test #6: xblat2c .......................... Passed 0.12 sec
1> Start 7: xblat2d
1> 7/94 Test #7: xblat2d .......................... Passed 0.06 sec
1> Start 8: xblat2z
1> 8/94 Test #8: xblat2z .......................... Passed 0.11 sec
1> Start 9: xblat3s
1> 9/94 Test #9: xblat3s .......................... Passed 0.09 sec
1> Start 10: xblat3c
1> 10/94 Test #10: xblat3c .......................... Passed 0.22 sec
1> Start 11: xblat3d
1> 11/94 Test #11: xblat3d .......................... Passed 0.08 sec
1> Start 12: xblat3z
1> 12/94 Test #12: xblat3z .......................... Passed 0.22 sec
1> Start 13: xlintsts_stest_in
1> 13/94 Test #13: xlintsts_stest_in ................***Failed 0.02 sec
1> Start 14: xlintstc_ctest_in
1> 14/94 Test #14: xlintstc_ctest_in ................***Failed 0.02 sec
1> Start 15: xlintstd_dtest_in
<snip>
1> 93/94 Test #93: xeigtstz_gsv_in ..................***Failed 0.02 sec
1> Start 94: xeigtstz_lse_in
1> 94/94 Test #94: xeigtstz_lse_in ..................***Failed 0.02 sec
1>
1> 13% tests passed, 82 tests failed out of 94
1>
1> Total Test time (real) = 2.36 sec
1>
1> The following tests FAILED:
1> 13 - xlintsts_stest_in (Failed)
1> 14 - xlintstc_ctest_in (Failed)
1> 15 - xlintstd_dtest_in (Failed)
1> 16 - xlintstz_ztest_in (Failed)
<snip>
1> 93 - xeigtstz_gsv_in (Failed)
1> 94 - xeigtstz_lse_in (Failed)
1> Errors while running CTest
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "D:\Program Files (x86)\CMake 2.8\bin\ctest.exe" --force-new-ctest-process -C Debug
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 8.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.46
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I have used the 32-bit libraries to correctly run the example project as suggested below, but the example doesn't have a 64-bit configuration, so I can't be sure if the problem with the 64-bit is in the actual logic or with the testing framework, but I tend to suspect the latter. I regret that I am not yet familiar enough with CMake generated projects to know where/how to debug this, any assistance would be greatly appreciated.
rvenable
 
Posts: 1
Joined: Tue Oct 25, 2011 4:10 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby Mokosha » Wed Mar 14, 2012 6:01 pm

admin wrote:Hi,
Sorry to get to you so late.
From what I see, BLAS Testing are successful but not the CLAPACK Testing in 64 bit configuration.
To check that something is actually working.
Could you try running the example http://icl.cs.utk.edu/lapack-for-window ... ml#running (part 2)

This problem happens only under Windows, CLAPACK 64 bit works fines under Linux system with CMAKE.
My Windows machine is down at the moment, but I will try to take a look later.
Julie


Hi, I just tried this and it works fine, regardless of the errors when running the tests.

In light of this thread necromancy, my CLAPACK tests are also failing when trying to build CLAPACK in 64 bit mode from a CMake generated VS2010 solution on Windows 7.
Mokosha
 
Posts: 2
Joined: Wed Mar 14, 2012 5:58 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby Mokosha » Wed Mar 14, 2012 6:02 pm

admin wrote:Hi,
Sorry to get to you so late.
From what I see, BLAS Testing are successful but not the CLAPACK Testing in 64 bit configuration.
To check that something is actually working.
Could you try running the example http://icl.cs.utk.edu/lapack-for-window ... ml#running (part 2)

This problem happens only under Windows, CLAPACK 64 bit works fines under Linux system with CMAKE.
My Windows machine is down at the moment, but I will try to take a look later.
Julie


Hi, I just tried this and the example works fine, regardless of the errors when running the tests.

In light of this thread necromancy, my CLAPACK tests are also failing when trying to build CLAPACK in 64 bit mode from a CMake generated VS2010 solution on Windows 7.
Mokosha
 
Posts: 2
Joined: Wed Mar 14, 2012 5:58 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby Scott54 » Tue Jul 10, 2012 3:54 pm

I believe I am experiencing the same problem. when I attempt to run a test such as "xeigtsts < nep.in > snep.out" I receive this message: the system cannot execute the specified program. This problem only occurs with the executables in the TESTING directory for the an x64 build on windows. Everything works great on Linux and on windows, there are no problems with anything if you compile in 32 bit and the BLAS tests work correctly for a 64 bit build. If anyone has found a solution of has a good idea of what may be causing this problem I would greatly appreciate any help.
Scott54
 
Posts: 6
Joined: Thu Jan 26, 2012 5:08 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby Scott54 » Fri Jul 13, 2012 3:45 pm

This has something to do with the size of the stack. I believe that the size of the stack is changed with some regex expression if you are compiling in 32 but it is not is you are compiling in 64. I just know if I append /STACK:40000000 to the end of the link line in visual studio xeigstst, the test runs as it should and with out doing that, when I run it the system says it cannot execute the specified program on the system.
Scott54
 
Posts: 6
Joined: Thu Jan 26, 2012 5:08 pm

Re: clapack 3.2.1 cmake: x64 test failures

Postby Scott54 » Mon Jul 16, 2012 11:26 am

The problem here is that the requested stack size is extremely large. I don't know why that is allowed to fly on 32 bit and not 64, but it is. In the CMakeList.txt file in TESTING, there is a regex which places /STACK:900,000,000,000,000,000 in the link line. That's a pretty big number. If you replace that number with 40000000 everything works. I suggest that change be made to the next cmake clapack release if anyone on here has the power to do that but it is a pretty easy fix if you just wanna get the tests running with the existing release.
Scott54
 
Posts: 6
Joined: Thu Jan 26, 2012 5:08 pm


Return to Windows

Who is online

Users browsing this forum: No registered users and 1 guest

cron