<?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: error #5082: Syntax error, found END-OF-STATEMENT when expecting one of ... in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1304171#M8658</link>
    <description>&lt;P&gt;Hi, this issue has been resolved! If anyone is interested in it, please go to&amp;nbsp; &amp;nbsp; &lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1303903" target="_blank"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1303903&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 06:37:15 GMT</pubDate>
    <dc:creator>Jervie</dc:creator>
    <dc:date>2021-08-06T06:37:15Z</dc:date>
    <item>
      <title>error #5082: Syntax error, found END-OF-STATEMENT when expecting one of ...</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1303904#M8655</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to compile my Fortran code using OneAPI mpiifort, and I got the following errors:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;mpiifort -O2 -ip -w -ftz -align all -fno-alias -no-heap-arrays -c -i4 -r8 -convert big_endian -assume byterecl -mcmodel=medium -extend_source -fp-model strict -free -I. -I/usr/local/include -I/usr/include -I/opt/intel/oneapi/mpi/2021.2.0/include endrun.f90&lt;/P&gt;
&lt;P&gt;areaMod.f90(313): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: &amp;lt;LABEL&amp;gt; &amp;lt;IDENTIFIER&amp;gt; TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE PURE RECURSIVE ...&lt;BR /&gt;do jo = 1, nlat_o&lt;BR /&gt;----^&lt;BR /&gt;mpiifort -O2 -ip -w -ftz -align all -fno-alias -no-heap-arrays -c -i4 -r8 -convert big_endian -assume byterecl -mcmodel=medium -extend_source -fp-model strict -free -I. -I/usr/local/include -I/usr/include -I/opt/intel/oneapi/mpi/2021.2.0/include mkrank.f90&lt;BR /&gt;areaMod.f90(273): error #6218: This statement is positioned incorrectly and/or has syntax errors.&lt;BR /&gt;subroutine areaave (nlat_i , nlon_i , numlon_i, fld_i , &amp;amp;&lt;BR /&gt;-------------^&lt;BR /&gt;areaMod.f90(346): error #6702: END statement confusion.&lt;BR /&gt;end subroutine areaave&lt;BR /&gt;^&lt;BR /&gt;compilation aborted for areaMod.f90 (code 1)&lt;BR /&gt;gmake: *** [/home/bianqy/BCC_ESM_OneAPI//models/bld/Makefile:138: areaMod.o] Error 1&lt;BR /&gt;gmake: *** Waiting for unfinished jobs....&lt;BR /&gt;exit 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, the code could be compiled using Intel 2018 (&lt;SPAN&gt;2018.1.163&lt;/SPAN&gt;) mpiifort with no errors. But for some reason, I have to use OneAPI to compile my code. &lt;SPAN&gt;I'm not sure if it has something to do with the newer mpiiofrt in oneAPI.&amp;nbsp;&lt;/SPAN&gt;Any suggestions are aprreciated!&lt;/P&gt;
&lt;P&gt;I attached the code of&amp;nbsp;areaMod.f90 in case.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 09:20:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1303904#M8655</guid>
      <dc:creator>Jervie</dc:creator>
      <dc:date>2021-08-05T09:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: error #5082: Syntax error, found END-OF-STATEMENT when expecting one of ...</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1304171#M8658</link>
      <description>&lt;P&gt;Hi, this issue has been resolved! If anyone is interested in it, please go to&amp;nbsp; &amp;nbsp; &lt;A href="https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1303903" target="_blank"&gt;https://community.intel.com/t5/Intel-Fortran-Compiler/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1303903&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 06:37:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1304171#M8658</guid>
      <dc:creator>Jervie</dc:creator>
      <dc:date>2021-08-06T06:37:15Z</dc:date>
    </item>
    <item>
      <title>Re:error #5082: Syntax error, found END-OF-STATEMENT when expecting one of ...</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1304187#M8659</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;We are glad that your issue has been resolved. &amp;nbsp;So, we are closing this thread. Please raise a new thread if you have any other questions, as this thread will no longer be monitored.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:14:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/error-5082-Syntax-error-found-END-OF-STATEMENT-when-expecting/m-p/1304187#M8659</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2021-08-06T07:14:36Z</dc:date>
    </item>
  </channel>
</rss>

