<?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 undefined reference error in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746300#M4184</link>
    <description>Hello&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am trying to install the MEGAN model (a model to estimate natural emissions) to a cluster system with intel compilers 9.1.052, ioapi 3.0 and netcdf 3.6.2. I have been using these libraries successfully with other model i am running such as wrf and cmaq (cmaq uses both netcdf and ioapi) but with megan model, i keep getting the error messages attached&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;can you help me to fix this please?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Ulas&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 06 May 2010 12:11:08 GMT</pubDate>
    <dc:creator>ulasim77</dc:creator>
    <dc:date>2010-05-06T12:11:08Z</dc:date>
    <item>
      <title>undefined reference error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746300#M4184</link>
      <description>Hello&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am trying to install the MEGAN model (a model to estimate natural emissions) to a cluster system with intel compilers 9.1.052, ioapi 3.0 and netcdf 3.6.2. I have been using these libraries successfully with other model i am running such as wrf and cmaq (cmaq uses both netcdf and ioapi) but with megan model, i keep getting the error messages attached&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;can you help me to fix this please?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Ulas&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2010 12:11:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746300#M4184</guid>
      <dc:creator>ulasim77</dc:creator>
      <dc:date>2010-05-06T12:11:08Z</dc:date>
    </item>
    <item>
      <title>undefined reference error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746301#M4185</link>
      <description>Hello&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;i was able to fix the undefined reference errors by adding -openmp -lpthread flags. however i still have problems with the fortcom errors:&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;any ideas?&lt;/DIV&gt;&lt;DIV&gt;thanks&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV id="_mcePaste"&gt;fortcom: Error: ckgdioapi2d.f, line 103: An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute.  [VGLVS1]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;    ALLOCATE ( VGLVS1 ( NLAYS1 + 1 ), STAT = STATUS )&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;--------------------^&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;fortcom: Error: ckgdioapi2d.f, line 131: An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute.  [VGLVS2]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;    ALLOCATE ( VGLVS2 ( NLAYS2 + 1 ), STAT = STATUS )&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;--------------------^&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;fortcom: Error: ckgdioapi2d.f, line 54: If a deferred-shape array is intended, then the ALLOCATABLE or POINTER attribute is missing; if an assumed-shape array is intended, the array must be a dummy argument.  [VGLVS1]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;  REAL  :: VGLVS1( : )   ! vertical coordinate values&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-----------------^&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;fortcom: Error: ckgdioapi2d.f, line 73: If a deferred-shape array is intended, then the ALLOCATABLE or POINTER attribute is missing; if an assumed-shape array is intended, the array must be a dummy argument.  [VGLVS2]&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;  REAL  :: VGLVS2( : )   ! vertical coordinate values&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;-----------------^&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;compilation aborted for ckgdioapi2d.f (code 1)&lt;/DIV&gt;&lt;DIV id="_mcePaste"&gt;make: *** [ckgdioapi2d.o] Error 1&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;fortcom: Error: ckgdioapi2d.f, line 103: An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute.  [VGLVS1]    ALLOCATE ( VGLVS1 ( NLAYS1 + 1 ), STAT = STATUS )--------------------^fortcom: Error: ckgdioapi2d.f, line 131: An allocate/deallocate object must have the ALLOCATABLE or POINTER attribute.  [VGLVS2]    ALLOCATE ( VGLVS2 ( NLAYS2 + 1 ), STAT = STATUS )--------------------^fortcom: Error: ckgdioapi2d.f, line 54: If a deferred-shape array is intended, then the ALLOCATABLE or POINTER attribute is missing; if an assumed-shape array is intended, the array must be a dummy argument.  [VGLVS1]  REAL  :: VGLVS1( : )   ! vertical coordinate values-----------------^fortcom: Error: ckgdioapi2d.f, line 73: If a deferred-shape array is intended, then the ALLOCATABLE or POINTER attribute is missing; if an assumed-shape array is intended, the array must be a dummy argument.  [VGLVS2]  REAL  :: VGLVS2( : )   ! vertical coordinate values-----------------^compilation aborted for ckgdioapi2d.f (code 1)make: *** [ckgdioapi2d.o] Error 1&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 May 2010 12:27:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746301#M4185</guid>
      <dc:creator>ulasim77</dc:creator>
      <dc:date>2010-05-06T12:27:16Z</dc:date>
    </item>
    <item>
      <title>undefined reference error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746302#M4186</link>
      <description>Hi Ulas,&lt;BR /&gt;&lt;BR /&gt;How are declaring VGLVS1 and VGLVS2?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve Daily&lt;BR /&gt;Intel Developer Support&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2010 18:12:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746302#M4186</guid>
      <dc:creator>Stephen_D_Intel</dc:creator>
      <dc:date>2010-05-10T18:12:39Z</dc:date>
    </item>
    <item>
      <title>undefined reference error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746303#M4187</link>
      <description>Hi Ulas,&lt;BR /&gt;&lt;BR /&gt;A colleague was kind enough to point out that the declaration is listed in the error&lt;BR /&gt;messages. Here is his suggestion on how to correct the problem:&lt;BR /&gt;&lt;BR /&gt; Hes got the declarations shown. What hes missing is the allocatable declaration:&lt;BR /&gt;&lt;BR /&gt; REAL, ALLOCATABLE :: VGLVS1(:)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve D.&lt;BR /&gt;Intel Developer Support&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 May 2010 18:23:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746303#M4187</guid>
      <dc:creator>Stephen_D_Intel</dc:creator>
      <dc:date>2010-05-10T18:23:57Z</dc:date>
    </item>
    <item>
      <title>undefined reference error</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746304#M4188</link>
      <description>... unless VGLVS1 is supposed to be a dummy argument. If it's a local variable, then adding ALLOCATABLE would be reasonable.</description>
      <pubDate>Mon, 10 May 2010 19:20:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/undefined-reference-error/m-p/746304#M4188</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-05-10T19:20:02Z</dc:date>
    </item>
  </channel>
</rss>

