Closed
Description
Hello, i built OpenBLAS on Windows 10 with clang/flang as shown here
The build itself was successful but running ctest resulted in some errors possibly with the script test\test_helper.ps1.
OpenBLAS was build with:
cmake .. -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_Fortran_COMPILER=flang -DCMAKE_MT=mt -DBUILD_WITHOUT_LAPACK=no -DNOFORTRAN=0 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
I run ctest in windows powershell and powershell 7 but both resulted in:
ctest --config Release --rerun-failed --output-on-failure
Test project C:/Users/George/source/libraries/openblas/build_rel
Start 2: sblas1
1/16 Test #2: sblas1 ...........................Exit code 0xc0000135
***Exception: 0.10 sec
Start 3: sblas2
2/16 Test #3: sblas2 ...........................***Failed 0.31 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 4: sblas3
3/16 Test #4: sblas3 ...........................***Failed 0.31 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 5: dblas1
4/16 Test #5: dblas1 ...........................Exit code 0xc0000135
***Exception: 0.01 sec
Start 6: dblas2
5/16 Test #6: dblas2 ...........................***Failed 0.31 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 7: dblas3
6/16 Test #7: dblas3 ...........................***Failed 0.31 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 8: cblas1
7/16 Test #8: cblas1 ...........................Exit code 0xc0000135
***Exception: 0.01 sec
Start 9: cblas2
8/16 Test #9: cblas2 ...........................***Failed 0.31 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 10: cblas3
9/16 Test #10: cblas3 ...........................***Failed 0.32 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 11: zblas1
10/16 Test #11: zblas1 ...........................Exit code 0xc0000135
***Exception: 0.01 sec
Start 12: zblas2
11/16 Test #12: zblas2 ...........................***Failed 0.32 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 13: zblas3
12/16 Test #13: zblas3 ...........................***Failed 0.31 sec
& : The term 'file' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At C:\Users\George\source\libraries\openblas\build_rel\test\test_helper.ps1:3 char:31
+ If ((Get-Content $args[1] | & file - | %{$_ -match "BOM"}) -contains ...
+ ~~~~
+ CategoryInfo : ObjectNotFound: (file:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Start 14: xscblat1
13/16 Test #14: xscblat1 .........................Exit code 0xc0000135
***Exception: 0.01 sec
Start 17: xdcblat1
14/16 Test #17: xdcblat1 .........................Exit code 0xc0000135
***Exception: 0.01 sec
Start 20: xccblat1
15/16 Test #20: xccblat1 .........................Exit code 0xc0000135
***Exception: 0.01 sec
Start 23: xzcblat1
16/16 Test #23: xzcblat1 .........................Exit code 0xc0000135
***Exception: 0.01 sec
0% tests passed, 16 tests failed out of 16
Total Test time (real) = 2.69 sec
The following tests FAILED:
2 - sblas1 (Exit code 0xc0000135
)
3 - sblas2 (Failed)
4 - sblas3 (Failed)
5 - dblas1 (Exit code 0xc0000135
)
6 - dblas2 (Failed)
7 - dblas3 (Failed)
8 - cblas1 (Exit code 0xc0000135
)
9 - cblas2 (Failed)
10 - cblas3 (Failed)
11 - zblas1 (Exit code 0xc0000135
)
12 - zblas2 (Failed)
13 - zblas3 (Failed)
14 - xscblat1 (Exit code 0xc0000135
)
17 - xdcblat1 (Exit code 0xc0000135
)
20 - xccblat1 (Exit code 0xc0000135
)
23 - xzcblat1 (Exit code 0xc0000135
)
Errors while running CTest
Metadata
Metadata
Assignees
Labels
No labels