openworm/OpenWorm

Download for Intel SDK broken in docker build

Closed this issue · 4 comments

I get an error when rebuilding the Docker image, due to broken link to download Intel OpenCL SDK:

Step 17/33 : RUN wget http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/11705/intel_sdk_for_opencl_$INTEL_SDK_VERSION.tgz &&   tar xvf intel_sdk_for_opencl_$INTEL_SDK_VERSION.tgz &&   cd intel_sdk_for_opencl_$INTEL_SDK_VERSION &&   sudo ./install.sh --silent /tmp/silent-intel-sdk.cfg &&   cd $HOME &&   rm intel_sdk_for_opencl_$INTEL_SDK_VERSION.tgz &&   sudo rm /tmp/silent-intel-sdk.cfg
 ---> Running in bd3e32ec351a
--2018-06-29 12:12:00--  http://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/11705/intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz
Resolving registrationcenter-download.intel.com (registrationcenter-download.intel.com)... 96.7.51.9, 96.7.51.25
Connecting to registrationcenter-download.intel.com (registrationcenter-download.intel.com)|96.7.51.9|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /en/irc_nas/11705/intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz/ [following]
--2018-06-29 12:12:01--  http://registrationcenter-download.intel.com/en/irc_nas/11705/intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz/
Reusing existing connection to registrationcenter-download.intel.com:80.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www-ssl.intel.com/content/www/us/en/404.html?aspxerrorpath=/en/irc_nas/11705/intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz/ [following]
--2018-06-29 12:12:01--  https://www-ssl.intel.com/content/www/us/en/404.html?aspxerrorpath=/en/irc_nas/11705/intel_sdk_for_opencl_2017_7.0.0.2511_x64.tgz/
Resolving www-ssl.intel.com (www-ssl.intel.com)... 2.17.220.12
Connecting to www-ssl.intel.com (www-ssl.intel.com)|2.17.220.12|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-29 12:12:01 ERROR 404: Not Found.

I assume the licence wouldn't allow us to keep a backup copy somewhere for ease of access...

There is a version of the Dockerfile here: https://github.com/openworm/OpenWorm/blob/development_c302/Dockerfile_Reuse0.8 which can be used to rebuild the stack. It reuses the 0.8 image from Dockerhub. Not a long term soln, but can help going forward.

lungd commented

@pgleeson, please give that Dockerfile a try.
Based on 4ef71fd (new c302 repo), I tested some packages and I think we can just omit the installation of the intel sdk.

Thanks @lungd, will test this... Any idea why the Inter SDK was installed in the first place if it's not needed, @slarson?

Fixed in current development branch