IanButterworth / SystemBenchmark.jl

Julia package for benchmarking a system
MIT License
43 stars 3 forks source link

SystemBenchmark.jl didn't run on my Windows 10 laptop #1

Closed ltf-canada closed 4 years ago

ltf-canada commented 4 years ago

I got the following output running in the REPL:

julia> now()
2020-05-07T15:57:19.629

julia> using SystemBenchmark

julia> compdf = compareToRef()
[ Info: CuArrays.functional() == false. No usable GPU detected
CPU tests 50%|█████████████████████████████████████████                                        |  ETA: 0:00:24ERROR: IOError: unlink: resource busy or locked (EBUSY)
Stacktrace:
 [1] uv_error at .\libuv.jl:97 [inlined]
 [2] unlink(::String) at .\file.jl:888
 [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
 [4] rm at .\file.jl:260 [inlined]
 [5] writevideo(::Array{Array{UInt8,2},1}, ::Bool) at C:\Users\jsutherland\.julia\dev\SystemBenchmark\src\SystemBenchmark.jl:130
 [6] writevideo at C:\Users\jsutherland\.julia\dev\SystemBenchmark\src\SystemBenchmark.jl:128 [inlined]
 [7] ##core#278(::Array{Array{UInt8,2},1}) at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:371
 [8] ##sample#279(::BenchmarkTools.Parameters) at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:377
 [9] _run(::BenchmarkTools.Benchmark{Symbol("##benchmark#277")}, ::BenchmarkTools.Parameters; verbose::Bool, pad::String, kwargs::Base.Iterators.Pairs{Symbol,Integer,NTuple{4,Symbol},NamedTuple{(:samples, :evals, :gctrial, :gcsample),Tuple{Int64,Int64,Bool,Bool}}}) at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:405
 [10] (::Base.var"#inner#2"{Base.Iterators.Pairs{Symbol,Integer,NTuple{5,Symbol},NamedTuple{(:verbose, :samples, :evals, :gctrial, :gcsample),Tuple{Bool,Int64,Int64,Bool,Bool}}},typeof(BenchmarkTools._run),Tuple{BenchmarkTools.Benchmark{Symbol("##benchmark#277")},BenchmarkTools.Parameters}})() at .\essentials.jl:715
 [11] #invokelatest#1 at .\essentials.jl:716 [inlined]
 [12] #run_result#37 at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:32 [inlined]
 [13] run(::BenchmarkTools.Benchmark{Symbol("##benchmark#277")}, ::BenchmarkTools.Parameters; progressid::Nothing, nleaves::Float64, ndone::Float64, kwargs::Base.Iterators.Pairs{Symbol,Integer,NTuple{5,Symbol},NamedTuple{(:verbose, :samples, :evals, :gctrial, :gcsample),Tuple{Bool,Int64,Int64,Bool,Bool}}}) at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:94
 [14] #warmup#45 at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:141 [inlined]
 [15] warmup(::BenchmarkTools.Benchmark{Symbol("##benchmark#277")}) at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:141
 [16] macro expansion at C:\Users\jsutherland\.julia\packages\BenchmarkTools\eCEpo\src\execution.jl:287 [inlined]
 [17] sysbenchmark(; printsysinfo::Bool) at C:\Users\jsutherland\.julia\dev\SystemBenchmark\src\SystemBenchmark.jl:96
 [18] compareToRef() at C:\Users\jsutherland\.julia\dev\SystemBenchmark\src\SystemBenchmark.jl:69
 [19] top-level scope at REPL[3]:1
 [20] eval(::Module, ::Any) at .\boot.jl:331
 [21] eval_user_input(::Any, ::REPL.REPLBackend) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\REPL\src\REPL.jl:86
 [22] run_backend(::REPL.REPLBackend) at C:\Users\jsutherland\.julia\packages\Revise\MgvIv\src\Revise.jl:1023
 [23] top-level scope at none:0
ltf-canada commented 4 years ago

Further details on my system:

julia> versioninfo(verbose=true)
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
      Microsoft Windows [Version 10.0.18363.778]
  CPU: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz:
              speed         user         nice          sys         idle          irq
       #1  2794 MHz   14645015            0     19450437    299774843      3967750  ticks
       #2  2794 MHz    7844390            0      6777843    319247890       111687  ticks
       #3  2794 MHz   19385296            0     15775312    298709515       244906  ticks
       #4  2794 MHz    8931281            0      6592078    318346750       141140  ticks
       #5  2794 MHz   14106187            0     14214859    305549062       240359  ticks
       #6  2794 MHz   12665718            0      7479671    313724718       114031  ticks
       #7  2794 MHz   14056609            0     12464171    307349328       194734  ticks
       #8  2794 MHz   13967984            0      8780171    311121937       124890  ticks

  Memory: 15.907386779785156 GB (7696.43359375 MB free)
  Uptime: 333867.0 sec
  Load Avg:  0.0  0.0  0.0
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, haswell)
Environment:
  HOMEDRIVE = C:
  HOMEPATH = \Users\jsutherland
  PATH = C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Git\cmd;C:\Users\jsutherland\AppData\Local\Microsoft\WindowsApps;C:\Users\jsutherland\AppData\Local\atom\bin
  PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  PSMODULEPATH = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
IanButterworth commented 4 years ago

Thanks. Maybe it's too ambitious to delete the temp file during each benchmark loop. I've disabled the deletion on master. Can you try again?

IanButterworth commented 4 years ago

We now have CI tests set up across all platforms including Windows, and all tests pass. I'll close, but please reopen if you still have issues