kerncraft icon indicating copy to clipboard operation
kerncraft copied to clipboard

IACA not available for download anymore

Open JanLJL opened this issue 11 months ago • 0 comments

When running iaca_get, an error is thrown due to the fact that Intel removed the IACA binaries from its downloads.

$ iaca_get --I-accept-the-Intel-What-If-Pre-Release-License-Agreement-and-please-take-my-soul
Trying /home/hpc/b182dc/b182dc10/.local/lib/python3.9/site-packages/kerncraft/iaca/lin64/: selected.
IACA v2.1 (for manual use - only version analyzing latency):
Downloading https://software.intel.com/content/dam/develop/external/us/en/protected/iaca-version-2.1-lin64.zip ...
Traceback (most recent call last):
  File "/home/hpc/b182dc/b182dc10/.local/bin/iaca_get", line 8, in <module>
    sys.exit(main())
  File "/home/hpc/b182dc/b182dc10/.local/lib/python3.9/site-packages/kerncraft/iaca_get.py", line 132, in main
    zfile = zipfile.ZipFile(BytesIO(urlopen(url).read()))
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 555, in error
    result = self._call_chain(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 555, in error
    result = self._call_chain(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 555, in error
    result = self._call_chain(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/apps/python/3.9-anaconda/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

I guess a quick fix would be to change the default code analyzer to OSACA.

JanLJL avatar Jul 06 '23 08:07 JanLJL