Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing pydaal #8

Closed
amueller opened this issue Feb 15, 2017 · 2 comments
Closed

Error installing pydaal #8

amueller opened this issue Feb 15, 2017 · 2 comments

Comments

@amueller
Copy link

I've tried to install pydaal from the anaconda channel, but run into issues. This is a completely fresh conda environment.

conda install -c intel pydaal=2017.0.1.20161006

The following NEW packages will be INSTALLED:

    icc_rt:      16.0.3-intel_5                 intel [intel]
    intelpython: 2017.0.0-5                     intel
    mkl:         2017.0.1-intel_2               intel [intel]
    numpy:       1.11.2-py35_intel_2            intel [intel]
    openssl:     1.0.2j-intel_4                 intel [intel]
    pip:         8.1.2-py35_intel_4             intel [intel]
    pydaal:      2017.0.1.20161006-py35_intel_6 intel [intel]
    python:      3.5.2-intel_19                 intel [intel]
    setuptools:  23.0.0-py35_intel_4            intel [intel]
    sqlite:      3.13.0-intel_13                intel [intel]
    tbb:         2017.0.2-py35_intel_0          intel [intel]
    tcl:         8.6.4-intel_15                 intel [intel]
    tk:          8.6.4-intel_15                 intel [intel]
    wheel:       0.29.0-py35_intel_4            intel [intel]
    xz:          5.2.2-intel_14                 intel [intel]
    zlib:        1.2.8-intel_9                  intel [intel]

/home/andy/anaconda3/lib/python3.5/site-packages/conda/core/link.py:470: UserWarning: Package intel::intelpython-2017.0.0-5 uses a pre-link script. Pre-link scripts are potentially dangerous.
This is because pre-link scripts have the ability to change the package contents in the
package cache, and therefore modify the underlying files for already-created conda
environments.  Future versions of conda may deprecate and ignore pre-link scripts.

  """ % dist))
ERROR conda.core.link:_execute_actions(330): An error occurred while installing package 'intel::intelpython-2017.0.0-5'.
LinkError: post-link script failed for package intel::intelpython-2017.0.0-5
running your command again with `-v` will provide additional information
location of failed script: /home/andy/anaconda3/envs/intel_daal/bin/.intelpython-post-link.sh
==> script messages <==
<None>


Attempting to roll back.



LinkError: post-link script failed for package intel::intelpython-2017.0.0-5
running your command again with `-v` will provide additional information
location of failed script: /home/andy/anaconda3/envs/intel_daal/bin/.intelpython-post-link.sh
==> script messages <==
<None>



@tomashek
Copy link

Andreas,

This error is caused by an incompatibility between conda version >=4.3.9 and our "intelpython" package version 2017.0.0. The actual failure is with the "intelpython" package's pre-link script. The pydaal package is only affected because of its dependence on "intelpython".

We removed the pre- and post-link scripts from the intelpython package version 2017.0.2, which was just promoted today, so the issue should be resolved if you attempt your install command again.

Best,
Todd

@amueller
Copy link
Author

thanks, works now :)
FYI its slightly confusing if the conda package has a different name than the module.

amgrigoriev added a commit to amgrigoriev/daal that referenced this issue Mar 26, 2020
amgrigoriev added a commit to amgrigoriev/daal that referenced this issue Mar 29, 2020
averbukh pushed a commit to averbukh/oneDAL that referenced this issue Jun 2, 2021
averbukh pushed a commit that referenced this issue Jun 3, 2021
* Experiment to address infinite loop

* Experiment #2 to address infinite loop

* Experiment #3 to address infinite loop

* Temporary debug output added

* External limit for number of threads was removed

* Experiment #4 to address infinite loop

* Experiment #5 to address infinite loop

* Experiment #6 to address infinite loop

* Experiment #7 to address infinite loop

* Experiment #8 to address infinite loop

* 20% is set as optimal value

* Temporary code removed

* Optimal array_size is caclulated based on max thread count

* Optimal array_size is decreased

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Experiment #9 to address infinite loop

* Optimal array_size is adjusted

* Temporary debug output added

* Compilation fix

* Experiment #10 to address infinite loop

* Temporary debug output added

* Experiment #11 to address infinite loop

* Temporary code removed

* Optimal array_size is adjusted
averbukh pushed a commit that referenced this issue Jun 3, 2021
* Experiment to address infinite loop

* Experiment #2 to address infinite loop

* Experiment #3 to address infinite loop

* Temporary debug output added

* External limit for number of threads was removed

* Experiment #4 to address infinite loop

* Experiment #5 to address infinite loop

* Experiment #6 to address infinite loop

* Experiment #7 to address infinite loop

* Experiment #8 to address infinite loop

* 20% is set as optimal value

* Temporary code removed

* Optimal array_size is caclulated based on max thread count

* Optimal array_size is decreased

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Optimal array_size is adjusted

* Experiment #9 to address infinite loop

* Optimal array_size is adjusted

* Temporary debug output added

* Compilation fix

* Experiment #10 to address infinite loop

* Temporary debug output added

* Experiment #11 to address infinite loop

* Temporary code removed

* Optimal array_size is adjusted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants