<?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 Floating Point Exception Overflow and OpenMPI equiv tunning? in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Floating-Point-Exception-Overflow-and-OpenMPI-equiv-tunning/m-p/1154532#M6173</link>
    <description>&lt;P&gt;I am working with star ccm+ 2019.1.1 Build 14.02.012&lt;BR /&gt;CentOS 7.6 kernel 3.10.0-957.21.3.el7.x86_64&lt;BR /&gt;Intel MPI Version 2018 Update 5 Build 20190404 (this is version shipped with star ccm+)&lt;BR /&gt;Cisco UCS cluster using USNIC fabric over 10gbe&lt;BR /&gt;Intel(R) Xeon(R) CPU E5-2698&lt;BR /&gt;7 nodes, 280 cores&lt;/P&gt;&lt;P&gt;enic RPM version kmod-enic-3.2.210.22-738.18.centos7u7.x86_64 installed&lt;BR /&gt;usnic RPM kmod-usnic_verbs-3.2.158.15-738.18.rhel7u6.x86_64 installed&lt;BR /&gt;enic modinfo version: 3.2.210.22&lt;BR /&gt;enic loaded module version: 3.2.210.22&lt;BR /&gt;usnic_verbs modinfo version: 3.2.158.15&lt;BR /&gt;usnic_verbs loaded module version: 3.2.158.15&lt;BR /&gt;libdaplusnic RPM version 2.0.39cisco3.2.112.8 installed&lt;BR /&gt;libfabric RPM version 1.6.0cisco3.2.112.9.rhel7u6 installed&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On runs less than 5 hours, everything works flawlessly and is quite fast.&lt;/P&gt;&lt;P&gt;However when running with 280 cores at or around 5 hours into a job, the longer jobs die with the floating point exception.&lt;BR /&gt;The same job completes fine with 140 cores, but takes about 14&amp;nbsp;hours to finish.&amp;nbsp;&lt;BR /&gt;Also I am using PBS Pro with 99 hour wall time&lt;/P&gt;&lt;P&gt;------------------&lt;BR /&gt;Turbulent viscosity limited on 56 cells in Region&lt;BR /&gt;A floating point exception has occurred: floating point exception [Overflow]. &amp;nbsp;The specific cause cannot be identified. &amp;nbsp;Please refer to the troubleshooting section of the User's Guide.&lt;BR /&gt;Context: star.coupledflow.CoupledImplicitSolver&lt;BR /&gt;Command: Automation.Run&lt;BR /&gt;&amp;nbsp; &amp;nbsp;error: Server Error&lt;BR /&gt;------------------&lt;/P&gt;&lt;P&gt;I have been doing some reading and some say that using other MPI are more stable with Star CCM.&lt;/P&gt;&lt;P&gt;I have not ruled out that I am missing some parameters or tuning with Intel MPI as this is a new cluster.&lt;/P&gt;&lt;P&gt;I am also trying to make Open MPI work. &amp;nbsp;I have openmpi compiled and it runs, however only with very small number of CPU. &amp;nbsp;Anything over about 2 cores per node it hangs indefinately.&lt;/P&gt;&lt;P&gt;I have compiled Open MPI 3.1.3 from &lt;A href="https://www.open-mpi.org/" target="_blank"&gt;https://www.open-mpi.org/&lt;/A&gt; because this is what Star CCM version I am running supports. &amp;nbsp;I am telling star to use the open mpi that I installed so it can support the Cisco USNIC fabric, which I can verify using Cisco native tools. &amp;nbsp;Note that star also ships with openmpi however&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking that I need to tune OpenMPI, which was also requried with Intel MPI.&lt;/P&gt;&lt;P&gt;With Intel MPI, jobs with more than about 100 cores would hang until I added these parameters:&lt;/P&gt;&lt;P&gt;reference: &lt;A href="https://software.intel.com/en-us/forums/intel-clusters-and-hpc-technology/topic/542591" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-clusters-and-hpc-technology/topic/542591&lt;/A&gt;&lt;BR /&gt;reference: &lt;A href="https://software.intel.com/en-us/articles/tuning-the-intel-mpi-library-advanced-techniques" target="_blank"&gt;https://software.intel.com/en-us/articles/tuning-the-intel-mpi-library-advanced-techniques&lt;/A&gt;&lt;/P&gt;&lt;P&gt;export I_MPI_DAPL_UD_SEND_BUFFER_NUM=8208&lt;BR /&gt;export I_MPI_DAPL_UD_RECV_BUFFER_NUM=8208&lt;BR /&gt;export I_MPI_DAPL_UD_ACK_SEND_POOL_SIZE=8704&lt;BR /&gt;export I_MPI_DAPL_UD_ACK_RECV_POOL_SIZE=8704&lt;BR /&gt;export I_MPI_DAPL_UD_RNDV_EP_NUM=2&lt;BR /&gt;export I_MPI_DAPL_UD_REQ_EVD_SIZE=2000&lt;BR /&gt;export I_MPI_DAPL_UD_MAX_MSG_SIZE=4096&lt;BR /&gt;export I_MPI_DAPL_UD_DIRECT_COPY_THRESHOLD=2147483647&lt;/P&gt;&lt;P&gt;After adding these parms I can scale to 280 cores and it runs very fast, up until the point where it gets the floating point exception.&lt;/P&gt;&lt;P&gt;I am struggling trying to find equivelant turning parms for Open MPI or resolve the floating point overflow.&lt;/P&gt;&lt;P&gt;I have listed all the MCA available with Open using MCA, and have tried setting these parms with no success.&lt;/P&gt;&lt;P&gt;btl_max_send_size = 4096&lt;BR /&gt;btl_usnic_eager_limit = 2147483647&lt;BR /&gt;btl_usnic_rndv_eager_limit = 2147483647&lt;BR /&gt;btl_usnic_sd_num = 8208&lt;BR /&gt;btl_usnic_rd_num = 8208&lt;BR /&gt;btl_usnic_prio_sd_num = 8704&lt;BR /&gt;btl_usnic_prio_rd_num = 8704&lt;BR /&gt;btl_usnic_pack_lazy_threshold = -1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does anyone have any advice or ideas for:&lt;/P&gt;&lt;P&gt;1.) The floating point overflow issue&lt;BR /&gt;and &amp;nbsp;&amp;nbsp;&lt;BR /&gt;2.) &amp;nbsp;Know of equivelant tuning parms for Open MPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
    <pubDate>Sun, 01 Sep 2019 21:19:18 GMT</pubDate>
    <dc:creator>Stone</dc:creator>
    <dc:date>2019-09-01T21:19:18Z</dc:date>
    <item>
      <title>Floating Point Exception Overflow and OpenMPI equiv tunning?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Floating-Point-Exception-Overflow-and-OpenMPI-equiv-tunning/m-p/1154532#M6173</link>
      <description>&lt;P&gt;I am working with star ccm+ 2019.1.1 Build 14.02.012&lt;BR /&gt;CentOS 7.6 kernel 3.10.0-957.21.3.el7.x86_64&lt;BR /&gt;Intel MPI Version 2018 Update 5 Build 20190404 (this is version shipped with star ccm+)&lt;BR /&gt;Cisco UCS cluster using USNIC fabric over 10gbe&lt;BR /&gt;Intel(R) Xeon(R) CPU E5-2698&lt;BR /&gt;7 nodes, 280 cores&lt;/P&gt;&lt;P&gt;enic RPM version kmod-enic-3.2.210.22-738.18.centos7u7.x86_64 installed&lt;BR /&gt;usnic RPM kmod-usnic_verbs-3.2.158.15-738.18.rhel7u6.x86_64 installed&lt;BR /&gt;enic modinfo version: 3.2.210.22&lt;BR /&gt;enic loaded module version: 3.2.210.22&lt;BR /&gt;usnic_verbs modinfo version: 3.2.158.15&lt;BR /&gt;usnic_verbs loaded module version: 3.2.158.15&lt;BR /&gt;libdaplusnic RPM version 2.0.39cisco3.2.112.8 installed&lt;BR /&gt;libfabric RPM version 1.6.0cisco3.2.112.9.rhel7u6 installed&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;On runs less than 5 hours, everything works flawlessly and is quite fast.&lt;/P&gt;&lt;P&gt;However when running with 280 cores at or around 5 hours into a job, the longer jobs die with the floating point exception.&lt;BR /&gt;The same job completes fine with 140 cores, but takes about 14&amp;nbsp;hours to finish.&amp;nbsp;&lt;BR /&gt;Also I am using PBS Pro with 99 hour wall time&lt;/P&gt;&lt;P&gt;------------------&lt;BR /&gt;Turbulent viscosity limited on 56 cells in Region&lt;BR /&gt;A floating point exception has occurred: floating point exception [Overflow]. &amp;nbsp;The specific cause cannot be identified. &amp;nbsp;Please refer to the troubleshooting section of the User's Guide.&lt;BR /&gt;Context: star.coupledflow.CoupledImplicitSolver&lt;BR /&gt;Command: Automation.Run&lt;BR /&gt;&amp;nbsp; &amp;nbsp;error: Server Error&lt;BR /&gt;------------------&lt;/P&gt;&lt;P&gt;I have been doing some reading and some say that using other MPI are more stable with Star CCM.&lt;/P&gt;&lt;P&gt;I have not ruled out that I am missing some parameters or tuning with Intel MPI as this is a new cluster.&lt;/P&gt;&lt;P&gt;I am also trying to make Open MPI work. &amp;nbsp;I have openmpi compiled and it runs, however only with very small number of CPU. &amp;nbsp;Anything over about 2 cores per node it hangs indefinately.&lt;/P&gt;&lt;P&gt;I have compiled Open MPI 3.1.3 from &lt;A href="https://www.open-mpi.org/" target="_blank"&gt;https://www.open-mpi.org/&lt;/A&gt; because this is what Star CCM version I am running supports. &amp;nbsp;I am telling star to use the open mpi that I installed so it can support the Cisco USNIC fabric, which I can verify using Cisco native tools. &amp;nbsp;Note that star also ships with openmpi however&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am thinking that I need to tune OpenMPI, which was also requried with Intel MPI.&lt;/P&gt;&lt;P&gt;With Intel MPI, jobs with more than about 100 cores would hang until I added these parameters:&lt;/P&gt;&lt;P&gt;reference: &lt;A href="https://software.intel.com/en-us/forums/intel-clusters-and-hpc-technology/topic/542591" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-clusters-and-hpc-technology/topic/542591&lt;/A&gt;&lt;BR /&gt;reference: &lt;A href="https://software.intel.com/en-us/articles/tuning-the-intel-mpi-library-advanced-techniques" target="_blank"&gt;https://software.intel.com/en-us/articles/tuning-the-intel-mpi-library-advanced-techniques&lt;/A&gt;&lt;/P&gt;&lt;P&gt;export I_MPI_DAPL_UD_SEND_BUFFER_NUM=8208&lt;BR /&gt;export I_MPI_DAPL_UD_RECV_BUFFER_NUM=8208&lt;BR /&gt;export I_MPI_DAPL_UD_ACK_SEND_POOL_SIZE=8704&lt;BR /&gt;export I_MPI_DAPL_UD_ACK_RECV_POOL_SIZE=8704&lt;BR /&gt;export I_MPI_DAPL_UD_RNDV_EP_NUM=2&lt;BR /&gt;export I_MPI_DAPL_UD_REQ_EVD_SIZE=2000&lt;BR /&gt;export I_MPI_DAPL_UD_MAX_MSG_SIZE=4096&lt;BR /&gt;export I_MPI_DAPL_UD_DIRECT_COPY_THRESHOLD=2147483647&lt;/P&gt;&lt;P&gt;After adding these parms I can scale to 280 cores and it runs very fast, up until the point where it gets the floating point exception.&lt;/P&gt;&lt;P&gt;I am struggling trying to find equivelant turning parms for Open MPI or resolve the floating point overflow.&lt;/P&gt;&lt;P&gt;I have listed all the MCA available with Open using MCA, and have tried setting these parms with no success.&lt;/P&gt;&lt;P&gt;btl_max_send_size = 4096&lt;BR /&gt;btl_usnic_eager_limit = 2147483647&lt;BR /&gt;btl_usnic_rndv_eager_limit = 2147483647&lt;BR /&gt;btl_usnic_sd_num = 8208&lt;BR /&gt;btl_usnic_rd_num = 8208&lt;BR /&gt;btl_usnic_prio_sd_num = 8704&lt;BR /&gt;btl_usnic_prio_rd_num = 8704&lt;BR /&gt;btl_usnic_pack_lazy_threshold = -1&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Does anyone have any advice or ideas for:&lt;/P&gt;&lt;P&gt;1.) The floating point overflow issue&lt;BR /&gt;and &amp;nbsp;&amp;nbsp;&lt;BR /&gt;2.) &amp;nbsp;Know of equivelant tuning parms for Open MPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 01 Sep 2019 21:19:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Floating-Point-Exception-Overflow-and-OpenMPI-equiv-tunning/m-p/1154532#M6173</guid>
      <dc:creator>Stone</dc:creator>
      <dc:date>2019-09-01T21:19:18Z</dc:date>
    </item>
  </channel>
</rss>

