Dear Gizo,

On 29/08/2018 14:17, [email protected] wrote:
Hi,

I wounder why it was the --ignore-installed option introduced in the easyblock 
of tensorflow, which
prevents to resolve dependencies in other locations. In fact, tensorflow build 
fails to compile
numpy dependency if the openblas is missing locally. If the --ignore .. is 
removed or enabled optionally, then one could
use the numpy provided by easybuild as dependence and avoid failure.

https://github.com/easybuilders/easybuild-easyblocks/commit/dc1e9a66e721d1276589bbd19f0dc6d53a6a75e6#diff-925e7942309e22e4c64cb2d99b50c206

We made this change to prevent that pip updated Python packages in place wherever it feels like it.

If a newer version of numpy is required, i.e. if the one provided by the Python installation is not sufficient, we i) want to make sure we know about it, and ii) be in control over which numpy version is used to fix the issue (by including numpy as an additional extension in the TensorFlow easyconfig file).

Letting pip auto-update Python packages can cause problems elsewhere (because stuff isn't compatible with the updated packages), and it also implies that you need to have internet access during the installation, which we try to avoid when we can (that's not true yet for TensorFlow thanks to the mess with Bazel, but it may be in the future).

Can you clarify the problem you were running into? Which easyconfig were you using? Can you provide a full (debug) log?


regards,

Kenneth

Reply via email to