by 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.