<?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 Issue with Running mpirun inside docker container in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319107#M8802</link>
    <description>&lt;P&gt;I am trying to run the Linpack benchmark found with under here:&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-mkl-benchmarks-suite.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-mkl-benchmarks-suite.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Linpack benchmark uses mpirun and I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[root@7b514c24d78f mp_linpack]# ./runme_intel64_dynamic -p 2 -q 1 -b 384 -n 80000
This is a SAMPLE run script.  Change it to reflect the correct number
of CPUs/threads, number of nodes, MPI processes per node, etc..
This run was done on: Mon Oct  4 18:19:23 UTC 2021
RANK=1, NODE=1
RANK=0, NODE=0
./runme_intel64_prv: line 30:   890 Bus error               (core dumped) ./${HPL_EXE} "$@"

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 888 RUNNING AT 7b514c24d78f
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;We believe the error is with mpirun since the following line gives a similar issue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[root@f9103950d892]# mpirun -np 2 IMB-MPI1

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 2669 RUNNING AT f9103950d892
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 2670 RUNNING AT f9103950d892
=   KILLED BY SIGNAL: 7 (Bus error)
===================================================================================
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is all being run inside a docker container. I think there is an issue with running mpirun inside a docker container, is there a way to work around this?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Oct 2021 18:27:02 GMT</pubDate>
    <dc:creator>carlosgar</dc:creator>
    <dc:date>2021-10-04T18:27:02Z</dc:date>
    <item>
      <title>Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319107#M8802</link>
      <description>&lt;P&gt;I am trying to run the Linpack benchmark found with under here:&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-mkl-benchmarks-suite.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-mkl-benchmarks-suite.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Linpack benchmark uses mpirun and I get the following error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[root@7b514c24d78f mp_linpack]# ./runme_intel64_dynamic -p 2 -q 1 -b 384 -n 80000
This is a SAMPLE run script.  Change it to reflect the correct number
of CPUs/threads, number of nodes, MPI processes per node, etc..
This run was done on: Mon Oct  4 18:19:23 UTC 2021
RANK=1, NODE=1
RANK=0, NODE=0
./runme_intel64_prv: line 30:   890 Bus error               (core dumped) ./${HPL_EXE} "$@"

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 888 RUNNING AT 7b514c24d78f
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;We believe the error is with mpirun since the following line gives a similar issue:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[root@f9103950d892]# mpirun -np 2 IMB-MPI1

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 2669 RUNNING AT f9103950d892
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 2670 RUNNING AT f9103950d892
=   KILLED BY SIGNAL: 7 (Bus error)
===================================================================================
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is all being run inside a docker container. I think there is an issue with running mpirun inside a docker container, is there a way to work around this?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 18:27:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319107#M8802</guid>
      <dc:creator>carlosgar</dc:creator>
      <dc:date>2021-10-04T18:27:02Z</dc:date>
    </item>
    <item>
      <title>Re:Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319264#M8803</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us the following details to investigate more on your issue?&lt;/P&gt;&lt;P&gt;1. The version of the operating system being used.&lt;/P&gt;&lt;P&gt;2. The version of intel oneAPI installed.&lt;/P&gt;&lt;P&gt;3. The usage model that you have followed to run the application from the link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/mpi-developer-guide-linux/top/running-applications/running-intel-mpi-library-in-containers/run-the-application-with-a-container.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/mpi-developer-guide-linux/top/running-applications/running-intel-mpi-library-in-containers/run-the-application-with-a-container.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;4. The steps to reproduce your issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Oct 2021 08:12:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319264#M8803</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-10-05T08:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319386#M8806</link>
      <description>&lt;P&gt;1. CentOS 8&lt;/P&gt;
&lt;P&gt;This is the Dockerfile I built which answers the other questions:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;FROM centos:8.3.2011 AS build

RUN dnf -y install epel-release &amp;amp;&amp;amp; dnf group -y install "Development Tools" &amp;amp;&amp;amp; dnf -y install wget cmake libarchive

RUN no_proxy=$(echo $no_proxy | tr ',' '\n' | grep -v -E '^\.?intel.com$' | tr '\n' ',') yum install intel-hpckit -y

RUN wget https://software.intel.com/content/dam/develop/external/us/en/documents/l_onemklbench_p_2021.2.0_109.tgz &amp;amp;&amp;amp; tar -xvzf l_onemklbench_p_2021.2.0_109.tgz
RUN dnf install numactl -y&lt;/LI-CODE&gt;
&lt;P&gt;These are the steps I take to run the benchmark that uses mpirun:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cd benchmarks_2021.2.0/linux/mkl/benchmarks/mp_linpack/
source /opt/intel/oneapi/setvars.sh
./runme_intel64_dynamic -p 2 -q 1 -b 384 -n 80000&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Not sure what you mean about the usage model. Isn't the latest version of mpi included in the latest oneAPI hpc toolkit?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 16:44:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1319386#M8806</guid>
      <dc:creator>carlosgar</dc:creator>
      <dc:date>2021-10-05T16:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1321957#M8828</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for providing the details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;"&amp;nbsp;Not sure what you mean about the usage model."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You can choose from three usage models for running your application using a singularity container. For more information, you can refer to the below link.&lt;BR /&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-guide-linux/top/running-applications/running-intel-mpi-library-in-containers/run-the-application-with-a-container.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-guide-linux/top/running-applications/running-intel-mpi-library-in-containers/run-the-application-with-a-container.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;gt;&amp;gt;"Isn't the latest version of mpi included in the latest oneAPI hpc toolkit?"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Yes, the latest oneAPI HPC toolkit includes the latest version of Intel MPI Library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are working on your issue and we will get back to you soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 09:28:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1321957#M8828</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-10-28T09:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1323727#M8856</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are able to reproduce your issue at our end. However, we tried to run the Linpack benchmark successfully using the below workaround on a ubuntu 18.04 machine:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The docker file that we built on the ubuntu machine is given below:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;FROM tacc/tacc-ubuntu18-impi19.0.7-common:latest

RUN apt-get update &amp;amp;&amp;amp; apt-get upgrade -y &amp;amp;&amp;amp; apt-get install wget

RUN wget --user-agent="Mozilla" https://www.intel.com/content/dam/develop/external/us/en/documents/l_onemklbench_p_2021.2.0_109.tgz
RUN tar -xvzf l_onemklbench_p_2021.2.0_109.tgz​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;To build a new MPI-capable container, use the below command:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt; docker build -t USERNAME/pi-estimator:0.1-mpi -f Dockerfile.mpi .​&lt;/LI-CODE&gt;&lt;BR /&gt;
&lt;P&gt;Note: Don’t forget to change USERNAME to your DockerHub username!&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;To push the successfully built image to the DockerHUb, use the below command:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;docker push USERNAME/pi-estimator:0.1-mpi​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;To run the Linpack benchmark, use the below command:&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt; docker run --rm -it USERNAME/pi-estimator:0.1-mpi \
        benchmarks_2021.2.0/linux/mkl/benchmarks/mp_linpack/runme_intel64_dynamic -p 2 -q 1 -b 384 -n 80000​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try the above workaround using "Intel MPI Library 2019 update 7" and let us know the outcomes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meanwhile, we will get back to you regarding the error while using Intel oneAPI HPC Toolkit 2021.4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 11:05:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1323727#M8856</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-10-28T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re:Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1325784#M8883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. Have you tried the above workaround? Please get back to us if you face any issues while following the workaround provided above.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2021 08:10:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1325784#M8883</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-10-29T08:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1325825#M8884</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;&amp;gt;&amp;gt;"Meanwhile, we will get back to you regarding the error while using Intel oneAPI HPC Toolkit 2021.4."&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;We are able to run IMB-MPI1 and the Linpack benchmark successfully using the latest Intel oneAPI 2021.4 as well.&lt;/P&gt;
&lt;P&gt;We followed the below steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;docker pull intel/oneapi-hpckit&lt;/LI&gt;
&lt;LI&gt;docker run --shm-size=4gb -it intel/oneapi-hpckit&lt;/LI&gt;
&lt;LI&gt;cd /opt/intel/oneapi/mkl/latest/benchmarks/mp_linpack&lt;/LI&gt;
&lt;LI&gt;./runme_intel64_dynamic -p 2 -q 1 -b 384 -n 80000&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;In brief, adding the&amp;nbsp;&lt;STRONG&gt;"--shm-size=4gb"&lt;/STRONG&gt; option to the &lt;STRONG&gt;"docker run"&lt;/STRONG&gt; statement resolves this issue.&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 issues.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 10:37:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1325825#M8884</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-10-29T10:37:50Z</dc:date>
    </item>
    <item>
      <title>Re:Issue with Running mpirun inside docker container</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1326333#M8890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for accepting our solution. 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;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Nov 2021 17:11:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issue-with-Running-mpirun-inside-docker-container/m-p/1326333#M8890</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-11-01T17:11:22Z</dc:date>
    </item>
  </channel>
</rss>

