Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.
417 Discussions

Python installation (standalone and in BaseKit) fail on Linux

drmiket7777
New Contributor I
5,270 Views

Hello,

 

I am trying to install the latest 1-api offline Basekit or standalone Python (intel.oneapi.lin.python3.product,v=2022.1.0-214) but all fail with the following message:

Unable to complete installation
  Suggestion: Close & Relaunch the installer

  Need help?
    View Developer forum:https://software.intel.com/en-us/oneapi/support
    View our FAQ:https://software.intel.com/en-us/oneapi/support
    (include log file in your support ticket):

  Log file:
    /tmp/mtml/intel_oneapi_installer/2022.05.11.15.50.38.885/installer.insta
    ll.intel.oneapi.lin.python3.product,v=2022.1.0-214.2022.05.11.15.50.58.4
    51140.log

  The following errors occurred:
  Installation of component has failed.                                        X
  Component id: intel.oneapi.lin.python3, name: Intel® Distribution for Python |
  *, version: 2022.1.0-214.                                                    |
  During the execution of the application '/home/mtml/intel/installercache/dow |
  nloadcache/intel.oneapi.lin.python3,v=2022.1.0-214/exec_script.sh' with argu |
  ments '/home/mtml/software/x86_64/RHEL7/intel/oneapi' errors were received:' |
  : No such file or directory                 

I am attaching the log file from standalone Python installation.  Similar problem arises when the Basekit tries to install Python.

I am using the command line install : ./installer... -a -c

on Linux (CentOS Linux release 7.9.2009 (Core))

 

thank you

Michael

Can you please provide a workaround?

 

0 Kudos
22 Replies
drmiket7777
New Contributor I
4,686 Views

Unfortunately the installer also wiped out Advisor and VTune from the the previous versions! 

I also tried installing by standalone Advisor but the installer also fails and rolls back everything.

 

Finally at some point I hit Cntr-C and cancelled the installation but now I cannot do any installation as the installer thinks that another installation is in progress.

 

Can you let me know how to install Python, Advisor and Vtune. I suspect all expect Python to be in working order. But I can live without Python. I DO need Advisor and Vtune.

 

Thank you

Michael

0 Kudos
drmiket7777
New Contributor I
4,685 Views

Pls let me know how to reset the installation state so I can rerun the installers. Is there any lock file or a specific option in the installer to reset?

 

thanks

0 Kudos
ArpanB_Intel
Moderator
4,667 Views

Hi Michael, please confirm the below information with us:

 

  • Do you have IDE installed on your system? If so, which version
  • If you have VS installed, did you choose the Desktop Development with C++ component during the installation of the IDE?
  • Do you have any older version of Intel® Parallel Studio XE or Intel® oneAPI Toolkit installed on your system?

 

We would like to know. 


0 Kudos
drmiket7777
New Contributor I
4,661 Views

Yes, I have kept all Intel 1-api full installations on the same location. The installers would keep the various components from the different versions neatly separated. See the box below. I am using the offline installers. 

 

Unfortunately I realized that the Python files in l_BaseKit_p_2022.1.2.146_offline.sh were missing from the corresponding installation and I tried to apply the latest l_BaseKit_p_2022.2.0.262_offline.sh. But that one in the middle of the way after the long wait for the Python installation to finish it gives me the error messages I attached and it rolls-back everything. So in the process I lost all Advisor and Vtune as well. It seems it has kept the compilers and mpi but I haven't tested them out.

I tried to install individually the Advisor (l_oneapi_advisor_p_2022.1.0.171_offline.sh) but it also crashes and rolls-back at the end.

At some point I cancelled (Cntrl-C) the installer and now re-running it it thinks that another install is in progress. 

  1. Can you let me know how to unlock the installation process (remove some lock file?)
  2. How to install the Python, Advisor and Vtune packages either via the base toolkit or individually?

Actually we (Chevron) do have CNDA but if I can get this resolved quickly here I won't have to get the service ticket. 

 

..
└── oneapi
    ├── advisor
    │   ├── 2022.1.0
    │   └── latest -> 2022.1.0
    ├── ccl
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.5.1
    │   └── latest -> 2021.5.1
    ├── clck
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── compiler
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2022.0.1
    │   ├── 2022.0.2
    │   ├── 2022.1.0
    │   └── latest -> 2022.1.0
    ├── conda_channel
    │   ├── bin
    │   ├── icons
    │   ├── linux-32
    │   ├── linux-64
    │   └── noarch
    ├── config
    ├── dal
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.1
    │   ├── 2021.5.3
    │   └── latest -> 2021.5.3
    ├── debugger
    │   ├── 10.1.1
    │   ├── 10.1.2
    │   ├── 10.2.4
    │   ├── 2021.5.0
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── dev-utilities
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.1
    │   ├── 2021.5.2
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── diagnostics
    │   ├── 2022.1.0
    │   └── latest -> 2022.1.0
    ├── dpcpp-ct
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2022.0.0
    │   └── latest -> 2022.0.0
    ├── dpl
    │   ├── 2021.2.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── etc
    │   └── eclipse
    ├── inspector
    │   ├── 2022.1.0
    │   └── latest -> 2022.1.0
    ├── ipp
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.1
    │   ├── 2021.5.2
    │   └── latest -> 2021.5.2
    ├── ippcp
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.5.1
    │   └── latest -> 2021.5.1
    ├── itac
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── licensing
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2022.0.0
    │   ├── 2022.1.0
    │   └── latest -> 2022.1.0
    ├── logs
    ├── mkl
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2022.0.1
    │   ├── 2022.0.2
    │   └── latest -> 2022.0.2
    ├── modulefiles
    │   ├── advisor
    │   ├── ccl
    │   ├── clck
    │   ├── compiler
    │   ├── compiler~
    │   ├── compiler32
    │   ├── compiler-rt
    │   ├── compiler-rt32
    │   ├── dal
    │   ├── debugger
    │   ├── dev-utilities
    │   ├── dnnl
    │   ├── dnnl-cpu-gomp
    │   ├── dnnl-cpu-iomp
    │   ├── dnnl-cpu-tbb
    │   ├── dpct
    │   ├── dpl
    │   ├── icc
    │   ├── icc32
    │   ├── init_opencl
    │   ├── inspector
    │   ├── intel_ippcp_ia32
    │   ├── intel_ippcp_intel64
    │   ├── intel_ipp_ia32
    │   ├── intel_ipp_intel64
    │   ├── itac
    │   ├── mkl
    │   ├── mkl32
    │   ├── mpi
    │   ├── oclfpga
    │   ├── tbb
    │   ├── tbb32
    │   ├── vpl
    │   └── vtune
    ├── mpi
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.5.1
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── tbb
    │   ├── 2021.2.0
    │   ├── 2021.3.0
    │   ├── 2021.4.0
    │   ├── 2021.5.0
    │   ├── 2021.5.1
    │   ├── 2021.6.0
    │   └── latest -> 2021.6.0
    ├── vpl
    │   ├── 2021.4.0
    │   ├── 2021.6.0
    │   ├── 2022.0.0
    │   └── latest -> 2022.0.0
    └── vtune
        ├── 2021.2.0
        └── latest -> 2021.2.0

 

0 Kudos
drmiket7777
New Contributor I
4,660 Views

Also, both Advisor and Vtune directories are basically empty.

 

We do  not have an IDE installed. This is a Linux system :

$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

 

 

thanks

Michael

0 Kudos
drmiket7777
New Contributor I
4,660 Views

The reason I needed the different versions is to test out the performance OpenMP and MPI codes can get out of the compilers and the MPI libs. These often change with newer versions.

 

thanks

0 Kudos
Ying_H_Intel
Employee
4,623 Views

Hi Michael, 

This is Ying from Intel AI Support team.  I'm trying to investigate the issue. 

1. About Intel python installation

as i haven't exact same machine as yours,  find one  lab machine with has Cent OS installed .  

Information as below: 

[yhu5@hsw-ep01 mkl]$ cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core) 

The machine have several previous oneAPI version on it.  But  try installed the 3 install package,  all of installation seem fine. including Intel python. 

 l_BaseKit_p_2022.1.2.146_offline.sh

(l_BaseKit_p_2022.2.0.262_offline.sh

l_pythoni39_oneapi_p_2022.1.0.214_offline.sh)

[yhu5@hsw-ep01 oneapi]$ tree -L 2
.
├── advisor
│   ├── 2022.0.0
│   └── latest -> 2022.0.0

├── intelpython
│   ├── latest -> python3.9
│   └── python3.9

└── vtune
├── 2021.5.0
├── 2022.0.0
├── 2022.2.0
└── latest -> 2022.2.0

but anyway you got Intel python install error. then let's resolve it. 

2. how to unlock the installation process (remove some lock file?)

2.1 could you please kill exist install.sh or bash etc  (or find a new machine, got to step 3) 

>ps -l  find PID number. 

>kill -9  PID

2.2 Clean some install file/folder or remove them

1) Troubleshooting (intel.com)

like rename  (mv them)

  • root: 
    /opt/intel/oneapi/installer
     and 
    /opt/intel/packagemanager/1.0
  • user: 
    ~/intel/oneapi/installer
     and 
    ~/intel/packagemanager/1.0

 2) rm or delete those files (if you have them on your machine)

  • root installation:Go to /var/intel/installercache directory and remove the 
    packagemanager.db database.

  • user (non-root) installation:Go to /home/<username>/intel/installercache directory and remove the 
    packagemanager.db databa

Once the installer can be restart. then install components should be straightforward 

3. How to install the, Advisor and Vtune packages either via the base toolkit or individually?

Intel oneAPI installer support install all of them at a time or  "selected components by custom install"   or "install individually." 

So, actually even Intel python can't be installed, you can install other components and run other components without Intel python installed.  thus 

3.1 you can install Advisor or vtune package individually

3.2 or install oneAPI selected components by  select   Accept & customize

If you use command line or GUI :  please refer to  Install with Command Line (intel.com)  ->  --component

I may recommend to you install directly , like   

> ./sudo sh ./l_BaseKit_p_2022.2.0.262_offline.sh 

(it should ok even without GUI , all selection can be done  in Terminal )

and then tab  to  Accept & customize 

Ying_H_Intel_0-1652511351324.png

 

then unselect (uncheck) intel python. 

Ying_H_Intel_1-1652511404109.png

uncheck  Intel® Distribution for Python* 2022.1.0

then you should be able to install other component smoothly. 

Hope it helps and please feel free to reply if you run into other problem. 

Thanks

Ying.H 

 

Ying_H_Intel_0-1652502438383.png

Ying_H_Intel_3-1652502904434.png

 

Ying_H_Intel_2-1652502868960.png

 

 

Ying_H_Intel
Employee
4,577 Views

Hi Michael, 

With further investigate and test,  we can reproduce the problem you reported on a new machine with Cent OS 7.9.2009. 

and good news is that  it may cause by one known issue in  https://www.intel.com/content/www/us/en/developer/articles/troubleshooting/python-known-issues.html :

Installation may fail if bzip2 is not installed on Linux machine, Bzip2 is required to extract packages, and a system without this software will result in an installation failure”

So I installed the bzip2  on that linux Cent OS 7.9.2009.

>sudo yum install bzip2

and validate the Intel python installation can be installed successfully. 

[ oneapi]$ ./l_pythoni39_oneapi_p_2022.1.0.214_offline.sh

 

Could you please try

1. first unlock all of the install processes, 

2. then install bzip2,  

3. reinstall basetoolkit or install Advisor & vtune package individually? and let us know how it works

and let us know if it works or not for you. 

Thanks

Ying

drmiket7777
New Contributor I
4,559 Views

Hi Ying, thank you much for the detailed response! 

We do have bzip2 installed on the node doing the installation. I have forgotten to mention that the installation is being done with plain user privileges. 

I have managed to restart the installers and now I am at the moment retrying the full installation. If Python fails to install again, I'll restart and disable Python installation. 

 

thanks again!

Michael

0 Kudos
drmiket7777
New Contributor I
4,553 Views

Hi Ying, 

Unfortunately the "l_BaseKit_p_2022.2.0.262_offline.sh" installer failed again and left this log file.

I am retrying now the installer with Python disabled.

As I mentioned we do have bzip2 on the system:

 

$ bzip2
bzip2: I won't write compressed data to a terminal.
bzip2: For help, type: `bzip2 --help'.

 

0 Kudos
drmiket7777
New Contributor I
4,553 Views

BTW, we do have a service contract for Support and I will open a ticket there.

Thanks for your help!

0 Kudos
Rachel_O_Intel
Moderator
4,522 Views

Hi,

 

Let us continue the thread here for now. I am one of the engineers investigating your issue.

 

Can you provide more details of your set-up? Do you have any previous installs of Intel Python or Base Kit included, or other Intel software? What Intel hardware are you using as CPU?

 

Please let us know as we were able to successfully fix the issue by installing bzip2, and would like to try to fully reproduce the issue since that did not work for you.

 

One recommendation as a workaround to install all Base Kit components would be to install Intel oneAPI Base Toolkit using online or offline installer and select Custom Installation to de-select Intel Distribution for Python.

 

Then to install Intel Distribution for Python, install with Anaconda using directions here.

 

Please let me know this information and your results from the workaround.

 

Thanks,

 

Rachel

0 Kudos
drmiket7777
New Contributor I
4,498 Views

Hi Rachel, 

I missed that you posted here so I was posting on the ticket site. 

Update: the “./l_BaseKit_p_2022.2.0.262_offline.sh” finished successfully installing all packages when I un-selected the Python component. I am now installing the “./l_HPCKit_p_2022.2.0.191_offline.sh”. Indeed, the Python failure would rollback the otherwise successful installation of all other packages.

The HPCkit also just finished without errors.

The individual Python installation failed as before.  

I am attaching the logs from the failed install.

 

I haven't attempted to add Python using Anaconda using directions from here.

 



Thank you for the prompt response and attention!

0 Kudos
Ying_H_Intel
Employee
4,471 Views

Hi Michael

 

Thank you a lot for sharing those logs. They are really helpful. 

 

From log information, the installed failed at the step:  

Component id: intel.oneapi.lin.python3, name: Intel® Distribution for Python*, version: 2022.1.0-214.

During the execution of the application '/home/mtml/intel/installercache/downloadcache/intel.oneapi.lin.python3,v=2022.1.0-214/exec_script.sh' with arguments '/data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI' errors were received:': No such file or directory

 

Could you please help to check if you have real folder :  /data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI on your machine

 

Additionally, I noticed you have the install package (l_*.sh)  in the folder  /data/saet/mtml/src/IntelOneAPI/   and  install directory is  /home/mtml/intel/oneapi .   is the /data/saet  or /home/mtml  a  real directory  or   softlink/ mount folder ?  

 

Thanks a lot!

Ying  

0 Kudos
drmiket7777
New Contributor I
4,465 Views

Hi Ying, 

 

Yes, "/data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI" is an actual directory that receives the installed packages: 

 

$ tree -d -L 2 /data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI
/data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI
├── advisor
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── ccl
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── clck
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── compiler
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── conda_channel
│   ├── bin
│   ├── linux-32
│   ├── linux-64
│   └── noarch
├── dal
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── debugger
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── dev-utilities
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── diagnostics
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── dnnl
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── dpcpp-ct
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── dpl
│   ├── 2021.7.0
│   └── latest -> 2021.7.0
├── etc
│   └── eclipse
├── inspector
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── ipp
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── ippcp
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── itac
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── licensing
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── logs
├── mkl
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
├── mpi
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── tbb
│   ├── 2021.6.0
│   └── latest -> 2021.6.0
├── vpl
│   ├── 2022.1.0
│   └── latest -> 2022.1.0
└── vtune
├── 2022.2.0
└── latest -> 2022.2.0

 

I tried the standalone Python after I had installed both the Base and HPC toolkits there.

${HOME}/software is a symlink to /data/saet/mtml/software 
${HOME}/src is a symlink to /data/saet/mtml/src 


Installers are asked to custom install to "/data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI" 

Ying_H_Intel
Employee
4,461 Views

Hi Michael, 

Thank you very much for your quick response.    then  how about the directory :   /home/mtml/intel/oneapi   , does it include all oneAPI components? 

 

is the folder /data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI created by installer by default?  (  usually by default folder  i s/home/mtml/intel/oneapi)

 

thanks

Ying

0 Kudos
drmiket7777
New Contributor I
4,430 Views

${HOME}/intel/oneapi is a symlink to /data/saet/mtml/intel 
It gets too large so I cannot store it under ${HOME}

I request to custom install OneAPI under /data/saet/mtml/software/x86_64/RHEL7/intel/OneAPI  ; the installer would like to use ${HOME}/intel/oneapi instead

0 Kudos
Ying_H_Intel
Employee
4,415 Views

Thank you a lot for the information.  Then the problem may not about the path,  but still in python packages and dependency etc.   we will continue to investigate it and update you if any news. 

 

thanks

Ying

drmiket7777
New Contributor I
4,414 Views

Thanks! 

0 Kudos
drmiket7777
New Contributor I
4,414 Views

We have a few developers using Intel Python and they've been having same issue trying to install the latest Intel Python

0 Kudos
Reply