<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15 in Intel® Distribution for Python*</title>
    <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506844#M2050</link>
    <description>&lt;P&gt;new requirements.docx file attached : Intel_Env environment based on the environment.yml file provided by Intel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a. I installed Anaconda 2023.07 for Windows 10 PRO 64&lt;/P&gt;&lt;P&gt;b. I created the environment as per the instructions using the yml file provided by Intel&lt;/P&gt;&lt;P&gt;c. i activated this environment&lt;/P&gt;&lt;P&gt;d. I checked that all the relevant packages for my Python Code were installed in the Intel_Env environment&lt;/P&gt;&lt;P&gt;e. I executed the first program ( using Tensorflow and matplotlib)&amp;nbsp;Neural Networks Program 03:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. cell by cell:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 2. &lt;FONT color="#FF0000"&gt;it completed successfully&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;f. I executed the first program ( using Tensorflow and matplotlib)&amp;nbsp;Neural Networks Program 04:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. cell by cell&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 2. &lt;FONT color="#FF0000"&gt;it crashed when executing the matplotlib code.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I will now uninstall numpy and matplotlib from the Intel_ENV environment&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I will then install&amp;nbsp;numpy and matplotlib into the Intel_ENV environment&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I will try to repeat the two programs again using the updated Intel_ENV environment:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;a.&amp;nbsp;Neural Networks Program 03&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;b.&amp;nbsp;Neural Networks Program 04&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 04:27:08 GMT</pubDate>
    <dc:creator>Jon_1607</dc:creator>
    <dc:date>2023-07-21T04:27:08Z</dc:date>
    <item>
      <title>Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1503854#M2041</link>
      <description>&lt;P&gt;I am trying to run a Python script under Jupyter Notebook ( Anaconda3-2023.03-1-Windows-10_Pro x86_64).&lt;/P&gt;&lt;P&gt;I import the following Python Libraries and Data:&lt;/P&gt;&lt;P&gt;import tensorflow&lt;/P&gt;&lt;P&gt;from tensorflow.keras import layers, models&lt;/P&gt;&lt;P&gt;import matplotlib.pyplot as mplot&lt;/P&gt;&lt;P&gt;from keras.datasets import cifar10&lt;/P&gt;&lt;P&gt;import numpy as np&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the following text file:&lt;/P&gt;&lt;P&gt;Neural Networks Program 04.docx which includes both the Python Code and the Output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A:&amp;nbsp; When the section involving MatPlotLib constructing a graph is executed , The Kernel Fails.&lt;/P&gt;&lt;P&gt;B: When I inspected the Jupyter Notebook Log; it displayed the following message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C: OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5 already initialized.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results.&lt;/P&gt;&lt;P&gt;The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library.&lt;/P&gt;&lt;P&gt;As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results.&lt;/P&gt;&lt;P&gt;For more information, please see &lt;A href="http://www.intel.com/software/products/support/" target="_blank"&gt;http://www.intel.com/software/products/support/&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate it if someone could help me to diagnose and understand this problem so that I can prevent this error as well as the Kernel dying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 22:14:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1503854#M2041</guid>
      <dc:creator>Jon_1607</dc:creator>
      <dc:date>2023-07-11T22:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1504741#M2042</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thanks for posting in Intel Communities&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Appreciate your detail of information by providing us with the sample code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide additional details inorder to debug this issue of multiple copies of OpenMP runtime being linked to the program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Are you using Intel Distribution for Python? If yes, Please provide the version of the package.&lt;/P&gt;
&lt;P&gt;2. Packages version sitting in your base conda environment/virtual environment where you are facing this issue, with pip freeze &amp;gt; requirements.txt. Send us your requirements.txt file as this will help us replicate your exact conda environment.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Provide the screen shot of the error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rajashekar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2023 09:18:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1504741#M2042</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-14T09:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1505225#M2043</link>
      <description>&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;&lt;U&gt;LIBIOMP5.DLL ERROR&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;When running Jupyter Notebook outside of Anaconda Navigator I noticed an error in the log:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;Error #15: Initializing libiomp5md.dll, but found libiomp5 already initialized&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;T&lt;/SPAN&gt;&lt;FONT face="comic sans ms, sans-serif" color="#0000ff"&gt;his file is stored in two places:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT face="comic sans ms, sans-serif" color="#0000ff"&gt;C:&lt;SPAN&gt;\&lt;/SPAN&gt;users&lt;SPAN&gt;\&lt;/SPAN&gt;jondi&lt;SPAN&gt;\&lt;/SPAN&gt;anaconda3&lt;SPAN&gt;\&lt;/SPAN&gt;library&lt;SPAN&gt;\&lt;/SPAN&gt;bin&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT face="comic sans ms, sans-serif" color="#0000ff"&gt;C:&lt;SPAN&gt;\&lt;/SPAN&gt;users&lt;SPAN&gt;\&lt;/SPAN&gt;jondi&lt;SPAN&gt;\&lt;/SPAN&gt;anaconda3&lt;SPAN&gt;\&lt;/SPAN&gt;pkgs&lt;SPAN&gt;\&lt;/SPAN&gt;intel-openmp 2023.1.0-h59b6b97_46319&lt;SPAN&gt;\Library&lt;/SPAN&gt;&lt;SPAN&gt;\bin&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT size="4" color="#000000"&gt;&lt;SPAN&gt;How can I prevent this problem from occurring? In general and when running Jupyter Notebook?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 16 Jul 2023 19:32:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1505225#M2043</guid>
      <dc:creator>Jon_1607</dc:creator>
      <dc:date>2023-07-16T19:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1505396#M2044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Unfortunately, I'm not getting any libiomp conflict error in my environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to debug and replicate your issue requesting you to follow up on below questions.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Are you using Intel Distribution for python (intelpython) ? check via command&lt;LI-CODE lang="bash"&gt;conda list​&lt;/LI-CODE&gt;.&lt;/LI&gt;
&lt;LI&gt;To replicate we need to check packages present in your conda environment, you can do that by&amp;nbsp;&lt;LI-CODE lang="bash"&gt;conda list --export &amp;gt; requirements.txt​&lt;/LI-CODE&gt;and send the requirements.txt file.&lt;/LI&gt;
&lt;LI&gt;As a workaround you can uninstall and install matplotlib using&amp;nbsp;&lt;LI-CODE lang="markup"&gt;conda uninstall matplotlib
conda install matplotlib​&lt;/LI-CODE&gt;and check if the issue still persists.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rajashekar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:46:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1505396#M2044</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-17T12:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1505639#M2045</link>
      <description>&lt;DIV class=""&gt;Thank you for responding to my request for assistance w.r.t. the code in the two Jupyter Notebook&amp;nbsp;programs.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;In my previous response to the email from Intel, I sent a copy of the requirements.txt file .&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I have uninstalled Anaconda 2023.03 and removed everything&amp;nbsp;related to its installation from my computer.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I have downloaded and installed Anaconda 2023.07 selecting YES to the specification w.r.t. Python 3.11&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;A. I am not able to install Tensorflow into the Root Environment either from within Anaconda Navigator(GUI)&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;or within the Command Prompt.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;B. I created a new environment TFLOW, from within Anaconda Navigator; starting with tensorflow and specifying&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Python 3.10 and I then added the basic versions of the additional packages: numpy, pandas, matplotlib, sklearn...&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I have run the Jupyter Notebook containing the code for the Neural Networks Program 03 ( sent to you )&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;This program runs successfully in the TFLOW environment.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;I have run the Jupyter Notebook containing the code for the Neural Networks Program 04 ( sent to you).&lt;/DIV&gt;&lt;DIV class=""&gt;This program was executed one cell at a&amp;nbsp;time to confirm the&amp;nbsp;input,&amp;nbsp;&lt;FONT color="#0000ff"&gt;process and output and it runs successfully&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000ff"&gt;in the TFLOW environment&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;but as soon as the matplotlib code cell is&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;executed then the kernel dies....&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#0000ff"&gt;I have attempted to run both programs on another platform that is available from Anaconda Navigator [ DATALORE FROM JETBRAINS ] : While both the above programs;&amp;nbsp;&lt;/FONT&gt;&lt;SPAN&gt;Neural Networks Program 03&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Neural Networks Program 04,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;ran successfully&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and I produced the correct output,&amp;nbsp; I did observe some strange warning messages from this platform&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;relating to memory or&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;storage issues.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;So I increased the Windows PageFile size and I increased the buffer size in the Jupyter Notebook Config file and then&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;tried to run the two Jupyter Notebook programs in my TFLOW environment one cell at a time.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;BUT I received the same results as before:&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;a. program 03 ( including matplotlib&amp;nbsp;code ) works fine&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;b. program 04 works fine (UNTIL the matplotlib code is executed&amp;nbsp;==&amp;gt; Kernel Error)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;U&gt;KERNEL DYING&amp;nbsp;ERROR QUESTIONS&lt;/U&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;&lt;U&gt;System Information:&lt;/U&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jon_1607_1-1689631308105.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/43681i1B3953524A020275/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Jon_1607_1-1689631308105.png" alt="Jon_1607_1-1689631308105.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;BR /&gt;&lt;DIV class=""&gt;Are&amp;nbsp;the Kernel problems caused by:&lt;/DIV&gt;&lt;DIV class=""&gt;a&amp;nbsp; Memory / Resource issue with Jupyter Notebook?&lt;/DIV&gt;&lt;DIV class=""&gt;b. A clash between various packages: MatplotLib, Numpy, Tensorflow, Python ...?&lt;/DIV&gt;&lt;DIV class=""&gt;c.&amp;nbsp; A conflict between TensorFlow and the recent version of Python ?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Is there a way to optimize&amp;nbsp;the order of imputation of packages into a Notebook?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Is there a way to optimize&amp;nbsp;the order of installation of packages into an environment?&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;I&gt;&lt;FONT color="#000000"&gt;This whole saga is very frustrating and internet research on this problem (which seems to have been around in&amp;nbsp;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;I&gt;&lt;FONT color="#000000"&gt;various&amp;nbsp;forms for several years ) , is not very helpful.&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I will try the suggestion w.r.t. uninstalling matplotlib ...&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jul 2023 22:02:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1505639#M2045</guid>
      <dc:creator>Jon_1607</dc:creator>
      <dc:date>2023-07-17T22:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506155#M2046</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, Please try the uninstalling and installing method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reading your issue, you mentioned that you've sent us the requirements.txt and code related to Neural Networks Program 03, We can confirm from our end that we haven't received that yet in this Community (Intel Distribution for Python).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, requesting you to send the requirements.txt file to check whether you are using intelpython and other packages version, to replicate the same.&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;conda list --export &amp;gt; requirements.txt&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Even I've tried the same steps which you've done Installing everything from scratch, But couldn't replicate the issue as you faced with the code you sent Neural Networks Program 04.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="no_warning_of_omp.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/43788iD0F4B0C732B513D5/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="no_warning_of_omp.png" alt="no_warning_of_omp.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rajashekar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 06:16:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506155#M2046</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-19T06:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506306#M2047</link>
      <description>&lt;P&gt;I have attached the requirements.txt.&lt;/P&gt;&lt;P&gt;The previous email reply was rejected because i simply replied via gmail instead of logging in?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 17:25:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506306#M2047</guid>
      <dc:creator>Jon_1607</dc:creator>
      <dc:date>2023-07-19T17:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506310#M2048</link>
      <description>&lt;DIV class=""&gt;I installed the Intel Distribution for Python and got the same results as before w.r.t. the two programs&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;When the first program ran there was no kernel problem:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;When the second program ran there was no Jupyter Notebook and so no kernel problem:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;However, it crashed when&amp;nbsp;executing the matplotlib code because of the following&amp;nbsp;problem&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;FONT color="#ff0000"&gt;Error #15: Initializing libiomp5md.dll, but found libiomp5 already initialized&lt;BR /&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Please refer to the attached screenshot&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Jul 2023 17:30:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506310#M2048</guid>
      <dc:creator>Jon_1607</dc:creator>
      <dc:date>2023-07-19T17:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506486#M2049</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are trying hard to replicate your issue, Hence in order to debug we request your assistance in follow-up questions and follow our suggested workaround where we didn't face any issue even while having Intel Distribution for Python in the environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. As you mentioned you are using Intel distribution for python, the requirements.txt you've sent doesn't reflect it.&lt;/P&gt;
&lt;P&gt;2. Did you try uninstalling and installing Matplotlib?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One possible issue might be your conda environment, we suggest you to create the environment which we used as we didn't face any error with jupyter kernel and CLI execution of program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Please find the attached environment.yml file under the zip file and create a conda environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;conda env create -n new_env -f environment.yml&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Activate the environment using:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;conda activate new_env&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Launch your jupyter notebook with the following command:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;jupyter notebook&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Create a jupyter notebook and execute the program which you've provided &lt;U&gt;&lt;EM&gt;Neural Networks Program 04&lt;/EM&gt; &lt;/U&gt;cell by cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We even executed your program on CLI without kernel, and didn't face any issue.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="no_kernel_CLI_Run.png" style="width: 999px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/43812iB8B6CBFFFC7FACD0/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="no_kernel_CLI_Run.png" alt="no_kernel_CLI_Run.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rajashekar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jul 2023 08:14:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506486#M2049</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-20T08:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506844#M2050</link>
      <description>&lt;P&gt;new requirements.docx file attached : Intel_Env environment based on the environment.yml file provided by Intel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a. I installed Anaconda 2023.07 for Windows 10 PRO 64&lt;/P&gt;&lt;P&gt;b. I created the environment as per the instructions using the yml file provided by Intel&lt;/P&gt;&lt;P&gt;c. i activated this environment&lt;/P&gt;&lt;P&gt;d. I checked that all the relevant packages for my Python Code were installed in the Intel_Env environment&lt;/P&gt;&lt;P&gt;e. I executed the first program ( using Tensorflow and matplotlib)&amp;nbsp;Neural Networks Program 03:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. cell by cell:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 2. &lt;FONT color="#FF0000"&gt;it completed successfully&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;f. I executed the first program ( using Tensorflow and matplotlib)&amp;nbsp;Neural Networks Program 04:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;1. cell by cell&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; 2. &lt;FONT color="#FF0000"&gt;it crashed when executing the matplotlib code.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I will now uninstall numpy and matplotlib from the Intel_ENV environment&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I will then install&amp;nbsp;numpy and matplotlib into the Intel_ENV environment&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I will try to repeat the two programs again using the updated Intel_ENV environment:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;a.&amp;nbsp;Neural Networks Program 03&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;b.&amp;nbsp;Neural Networks Program 04&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 04:27:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1506844#M2050</guid>
      <dc:creator>Jon_1607</dc:creator>
      <dc:date>2023-07-21T04:27:08Z</dc:date>
    </item>
    <item>
      <title>Re:Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1508638#M2051</link>
      <description>&lt;P&gt;Hi, Good day to you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We have not heard back from you. Is your issue resolved with the above solutions you mentioned you're going to try? If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;FYI, we don't have the sample which you're mentioning it's working for you (Neural Networks Program 3)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If you are still facing issue, provide below details,&lt;/P&gt;&lt;P&gt;1) CPU Details&lt;/P&gt;&lt;P&gt;2) Log where the notebook is getting crashed where you've tried with environment provided by us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajashekar&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Jul 2023 06:47:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1508638#M2051</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-27T06:47:11Z</dc:date>
    </item>
    <item>
      <title>Re:Python Jupyter Notebook: Kernel Dies and OMP: Error #15</title>
      <link>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1509950#M2053</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajashekar&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Aug 2023 06:17:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-for-Python/Python-Jupyter-Notebook-Kernel-Dies-and-OMP-Error-15/m-p/1509950#M2053</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-08-01T06:17:01Z</dc:date>
    </item>
  </channel>
</rss>

