<?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 Quote:Steve Lionel (Intel) in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069697#M119192</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Please submit a complete test case to Intel Premier Support and we'll check it out. I can't find any previous reports of this problem.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Steve, we'll (well, Tom Clune) will give it a try. Some small testers that would seem to duplicate all the functionality of this don't seem to show the issue. Of course, our full-on, needs all sorts of extra libraries, definitely does. Hopefully we don't have to send you oodles of source code.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2016 16:22:13 GMT</pubDate>
    <dc:creator>Matt_Thompson</dc:creator>
    <dc:date>2016-07-25T16:22:13Z</dc:date>
    <item>
      <title>Linking Error caused by BLOCK on Linux, not Mac</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069693#M119188</link>
      <description>&lt;P&gt;All,&lt;/P&gt;

&lt;P&gt;I'm hoping someone here might have encountered this issue and can help us out. Namely, when we try to build an executable we see:&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;mpiifort -L/discover/swdev/mathomp4/Baselibs/GMAO-Baselibs-5_0_1/x86_64-unknown-linux-gnu/ifort_2017.0.064-intelmpi_2017.0.064/Linux/lib 
&amp;nbsp;-L/discover/swdev/mathomp4/Models/atanasblock/GEOSagcm/Linux/lib &amp;nbsp;-o reff_calculator.xx reff_calculator.o 
&amp;nbsp;libChem_Base.a /discover/swdev/mathomp4/Models/atanasblock/GEOSagcm/Linux/lib/libMAPL_Base.a 
&amp;nbsp;/discover/swdev/mathomp4/Models/atanasblock/GEOSagcm/Linux/lib/libMAPL_Base_stubs.a &amp;nbsp;...
 -L/discover/swdev/mathomp4/intel/impi/2017.0.064/lib64 -lmpifort -lmpi -lmpigi &amp;nbsp;-lirc -ldl -lc -lpthread -lrt &amp;nbsp;
&amp;nbsp;-L/usr/local/other/SLES11.3/gcc/5.3.0/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 -lstdc++
ld: reff_calculator.xx: No symbol version section for versioned symbol `MAPL_REGRIDDERMANAGER_PRIVATE$block@2007_.var$6475'
ld: final link failed: Nonrepresentable section on output
make: *** [reff_calculator.xx] Error 1
(Note: I've shortened the full link line and reformatted it. It is long.)

&lt;SPAN style="font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 1em; line-height: 1.5;"&gt;Now, this is using 2017.0.064, but we see it with&amp;nbsp;Intel 16.0.2 and 16.0.3. On *Linux*. One of our developers uses a Mac and with Intel 16.0.2 there, he does not see this! Thus our confusion.&lt;/SPAN&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;SPAN style="font-family: Arial, 宋体, Tahoma, Helvetica, sans-serif; font-size: 1em; line-height: 1.5;"&gt;So, has anyone seen this? The code referred to is a new code added recently that does things like:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;      !---------------
      ! Note:
      ! We need to add LatLon prototype somewhere, and MAPL does not have
      ! a natural initialization.  Other grids can be added during
      ! setServices or initialize of the component that defines the grid.
      !---------------
      logical, save :: initialized = .false.

      if (.not. initialized) then
         block
           use MAPL_LatLonToLatLonRegridderMod
           use LatLonToCubeRegridderMod
           use CubeToLatLonRegridderMod
           use CubeToCubeRegridderMod
           type (LatLonToLatLonRegridder) :: regridder1
           type (CubeToLatLonRegridder) :: regridder2
           type (LatLonToCubeRegridder) :: regridder3
           type (CubeToCubeRegridder) :: regridder4
           call this%add_prototype('LatLon', 'LatLon', ESMF_REGRIDMETHOD_BILINEAR, regridder1)
           call this%add_prototype('Cubed-Sphere', 'LatLon', ESMF_REGRIDMETHOD_BILINEAR, regridder2)
           call this%add_prototype('LatLon', 'Cubed-Sphere', ESMF_REGRIDMETHOD_BILINEAR, regridder3)
           call this%add_prototype('Cubed-Sphere', 'Cubed-Sphere', ESMF_REGRIDMETHOD_BILINEAR, regridder4)
           initialized = .true.
         end block
      end if
&lt;/PRE&gt;

&lt;P&gt;So, a BLOCK, where in we use, and this is in a function inside a module and...&lt;/P&gt;

&lt;P&gt;Our current theory here is, perhaps, ld on a Mac handles this better than the ld on our Linux cluster? Maybe? But, frankly, we are kind of at a loss. We tried to build a small reproducer that does something similar, but Intel 16.0.2 was just fine with that one, though it was "all-in-one-file". We are trying to make one that makes a libfoo.a and adds that a link and...&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;

&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 15:17:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069693#M119188</guid>
      <dc:creator>Matt_Thompson</dc:creator>
      <dc:date>2016-07-21T15:17:18Z</dc:date>
    </item>
    <item>
      <title>What is wrong with using a</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069694#M119189</link>
      <description>&lt;P&gt;What is wrong with using a different style (contained procedure):&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;subroutine foo(...)
...
!---------------
! Note:
! We need to add LatLon prototype somewhere, and MAPL does not have
! a natural initialization.&amp;nbsp; Other grids can be added during
! setServices or initialize of the component that defines the grid.
!---------------
logical, save :: initialized = .false.

if (.not. initialized) call init()
...
return
contains
subroutine init()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use MAPL_LatLonToLatLonRegridderMod
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use LatLonToCubeRegridderMod
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use CubeToLatLonRegridderMod
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use CubeToCubeRegridderMod
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type (LatLonToLatLonRegridder) :: regridder1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type (CubeToLatLonRegridder) :: regridder2
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type (LatLonToCubeRegridder) :: regridder3
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type (CubeToCubeRegridder) :: regridder4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call this%add_prototype('LatLon', 'LatLon', ESMF_REGRIDMETHOD_BILINEAR, regridder1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call this%add_prototype('Cubed-Sphere', 'LatLon', ESMF_REGRIDMETHOD_BILINEAR, regridder2)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call this%add_prototype('LatLon', 'Cubed-Sphere', ESMF_REGRIDMETHOD_BILINEAR, regridder3)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call this%add_prototype('Cubed-Sphere', 'Cubed-Sphere', ESMF_REGRIDMETHOD_BILINEAR, regridder4)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initialized = .true.
&amp;nbsp;&amp;nbsp; end subroutine init
end subroutine foo

&lt;/PRE&gt;

&lt;P&gt;My programming preference is to isolate the initialization code from the main body of the calculation code (as it is a distraction from the algorithm). You may feel differently.&lt;/P&gt;

&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:18:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069694#M119189</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2016-07-25T14:18:06Z</dc:date>
    </item>
    <item>
      <title>Please submit a complete test</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069695#M119190</link>
      <description>&lt;P&gt;Please submit a complete test case to Intel Premier Support and we'll check it out. I can't find any previous reports of this problem.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 14:26:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069695#M119190</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-07-25T14:26:42Z</dc:date>
    </item>
    <item>
      <title>I think it's the at-sign ("@"</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069696#M119191</link>
      <description>&lt;P&gt;I think it's the at-sign ("@") in the name.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --Lorri&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 15:23:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069696#M119191</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2016-07-25T15:23:51Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069697#M119192</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Please submit a complete test case to Intel Premier Support and we'll check it out. I can't find any previous reports of this problem.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Steve, we'll (well, Tom Clune) will give it a try. Some small testers that would seem to duplicate all the functionality of this don't seem to show the issue. Of course, our full-on, needs all sorts of extra libraries, definitely does. Hopefully we don't have to send you oodles of source code.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 16:22:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069697#M119192</guid>
      <dc:creator>Matt_Thompson</dc:creator>
      <dc:date>2016-07-25T16:22:13Z</dc:date>
    </item>
    <item>
      <title>We can deal with oodles of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069698#M119193</link>
      <description>&lt;P&gt;We can deal with oodles of source code as long as we can build everything and it doesn't require any unusual tools or configuration to do so.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 16:42:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069698#M119193</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-07-25T16:42:54Z</dc:date>
    </item>
    <item>
      <title>Again, I'm quite confident</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069699#M119194</link>
      <description>&lt;P&gt;Again, I'm quite confident this message&amp;nbsp;is caused by the "@" in the name.&lt;/P&gt;

&lt;P&gt;To Steve; this would be a duplicate of DPD200411325, and this problem should be resolved by the fix to that one.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --Lorri&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 20:44:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069699#M119194</guid>
      <dc:creator>Lorri_M_Intel</dc:creator>
      <dc:date>2016-07-29T20:44:29Z</dc:date>
    </item>
    <item>
      <title>Thanks, Lorri. I'll look at</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069700#M119195</link>
      <description>&lt;P&gt;Thanks, Lorri. I'll look at that on Monday.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 21:19:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069700#M119195</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-07-29T21:19:23Z</dc:date>
    </item>
    <item>
      <title>Yep, looks like the same</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069701#M119196</link>
      <description>&lt;P&gt;Yep, looks like the same issue. It looks as if we're planning on putting the fix into 16.0.4 and 17.0.1. See also&amp;nbsp;https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/635179&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 15:51:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069701#M119196</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-08-01T15:51:17Z</dc:date>
    </item>
    <item>
      <title>Quote:Steve Lionel (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069702#M119197</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Steve Lionel (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Yep, looks like the same issue. It looks as if we're planning on putting the fix into 16.0.4 and 17.0.1. See also&amp;nbsp;&lt;A href="https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/635179"&gt;https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux...&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I'll test our reproducer with 2016 Update 4 or 2017 Update 1 (I guess? Unless 17 is going straight to 17.0.1) when it is released.&lt;/P&gt;

&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 16:16:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069702#M119197</guid>
      <dc:creator>Matt_Thompson</dc:creator>
      <dc:date>2016-08-01T16:16:14Z</dc:date>
    </item>
    <item>
      <title>Update 1 will be after the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069703#M119198</link>
      <description>&lt;P&gt;Update 1 will be after the initial 17.0 release. Probably October or November. 16.0.4 should be sooner than that.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 16:32:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Linking-Error-caused-by-BLOCK-on-Linux-not-Mac/m-p/1069703#M119198</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2016-08-01T16:32:16Z</dc:date>
    </item>
  </channel>
</rss>

