CA4 microbench job: the installed worker's NVRTC DLLs copied beside the fetched exe and the exe run from its own folder (the loader refusal the research lane named)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
26d722fc04
commit
d6a278e465
1 changed files with 8 additions and 0 deletions
|
|
@ -19,6 +19,14 @@ $jobs = Split-Path $jobDir
|
|||
$exe = Join-Path (Join-Path $jobs 'fetch-ca4-microbench-exe-20261007') 'igneum-worker-cuda-ca4mb.exe'
|
||||
if (-not (Test-Path $exe)) { "RESULT error exe missing at $exe (the fetch job fetch-ca4-microbench-exe-20261007 runs first)"; Summary 'failed' @{ error = 'exe missing' }; exit 2 }
|
||||
"RESULT start $(Stamp) job=$jobName exe=$exe sha256=$((Get-FileHash -Algorithm SHA256 $exe).Hash.ToLower()) label=ca4-research"
|
||||
# the loader (the research lane, 8 October 2026, 04:1x UTC): an exit 2 after one line is a loader line; NVRTC's two DLLs must sit beside the
|
||||
# exe, and this exe was fetched into its own job folder; the installed worker's copies are copied beside it (the install folder is read, never
|
||||
# written) and the exe runs from its own folder
|
||||
$inst = @("$env:LOCALAPPDATA\Programs\Igneum Miner", "$env:ProgramFiles\Igneum Miner") | Where-Object { Test-Path (Join-Path $_ 'igneum-worker-cuda.exe') } | Select-Object -First 1
|
||||
$exeDir = Split-Path $exe
|
||||
if ($inst) { foreach ($dll in (Get-ChildItem -Path $inst -Filter 'nvrtc*.dll' -ErrorAction SilentlyContinue)) { if (-not (Test-Path (Join-Path $exeDir $dll.Name))) { Copy-Item -LiteralPath $dll.FullName -Destination $exeDir; "RESULT dll copied beside the exe: $($dll.Name) sha256 $((Get-FileHash -Algorithm SHA256 $dll.FullName).Hash.ToLower())" } } }
|
||||
"RESULT dlls beside the exe: $((Get-ChildItem -Path $exeDir -Filter '*.dll' -ErrorAction SilentlyContinue | ForEach-Object { $_.Name }) -join ', ')"
|
||||
Set-Location $exeDir
|
||||
$smi = (Get-Command nvidia-smi -ErrorAction SilentlyContinue).Source
|
||||
if (-not $smi) { foreach ($p in @((Join-Path $env:ProgramFiles 'NVIDIA Corporation\NVSMI\nvidia-smi.exe'), (Join-Path $env:SystemRoot 'System32\nvidia-smi.exe'))) { if (Test-Path $p) { $smi = $p; break } } }
|
||||
$row = @(& $smi --query-gpu=index,name,uuid,pci.bus_id --format=csv,noheader 2>&1 | ForEach-Object { "$_" }) | Where-Object { $_ -match 'RTX 5090' } | Select-Object -First 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue