Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.

python dumps core

ThomasL
Beginner
2,967 Views

Have Intel Python 3.7.4 (default, Nov 22 2019, 21:31:39)
[GCC 7.3.0] :: Intel(R) Corporation on linux
installed.

is starting with prompt, but when I give commands like help() or any else I get

double free or corruption (out): 0x00007fb167ca39f0 ***
Aborted (core dumped)

0 Kudos
1 Solution
Louie_T_Intel
Moderator
2,843 Views

Hi Thomas,

 

Sorry for late response.

Intel distribution for Python doesn't include readline, and you get readline from public pip channel instead of intel channel.

 

For your core dump issue, it should be related to your gcc compilation process.

Can you try below steps for using readline python module?

  1. pip install gnureadline
  2. pip uninstall readline

 

Above steps work on my Intel Python environment.

 

Let us know if it works for you or not.

 

regards

Louie


View solution in original post

0 Kudos
7 Replies
AthiraM_Intel
Moderator
2,950 Views

Hi,


Thanks for reaching out to us.

 

We are able to install Intel python 3.7.4 on Linux successfully.

 

Could you please check whether your installation is completed without any failure.

Please install the same again and let us know whether the issue still persists.

 

Please find the below link for register and download Intel python for Linux.

https://software.intel.com/content/www/us/en/develop/tools/distribution-for-python/choose-download/linux.html

Make sure that the installation completed without any failure.



0 Kudos
ThomasL
Beginner
2,944 Views

Hi AthiraM_Intel,

as i become aware the first time the problem, I've updated to patch2 from tarball l_pythoni3_p_2020.1.893 . After installation without any errors i upgraded the complete intel parallel studio cluster edition to parallel_studio_xe_2020_update1_cluster_edition above fresh installed parallel_studio_xe_2020_cluster_edition. Also without errors.

Now get idea,

as I remeber starting interactive python shell I got no module named readline. Then I installed readline using pip.  Since this time the coredumps occures. Now checked with spyder3 . works without any errors. Then i 've removed readline and make some tests codes  and it works on pythonshell, but the startup of the shell gives error about missing readline again but ignored.  May be intelpython does not use readline from pip but from Intelpath ?

Have we to modify the /etc/pythonstart ?   Or to remove the IPYTHONSTARTUP varable points to ?

 

Thomas

0 Kudos
AthiraM_Intel
Moderator
2,921 Views

Hi,


We are investigating on this issue, will get back to you soon.


Thanks


0 Kudos
AthiraM_Intel
Moderator
2,892 Views

Hi,


We are forwarding your case to Subject matter Experts.


Thanks


0 Kudos
Louie_T_Intel
Moderator
2,844 Views

Hi Thomas,

 

Sorry for late response.

Intel distribution for Python doesn't include readline, and you get readline from public pip channel instead of intel channel.

 

For your core dump issue, it should be related to your gcc compilation process.

Can you try below steps for using readline python module?

  1. pip install gnureadline
  2. pip uninstall readline

 

Above steps work on my Intel Python environment.

 

Let us know if it works for you or not.

 

regards

Louie


0 Kudos
ThomasL
Beginner
2,836 Views

Hi Louie,

thanks a lot.

Works for me too.

Perfect, but should Intel distribution not contain  the right readline (gnureadline) per default ?

Anyway, this thread can be closed.

Thomas

0 Kudos
Louie_T_Intel
Moderator
2,811 Views

Hi Thomas,


we will feedback this issue to Intel Python release team, and discuss with them to have proper readline in Intel python release in the feature.


will close the ticket for now.

thanks


0 Kudos
Reply