<?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 Problem compilling with ifort, error message:undefined reference to `lunits_mp_logdev_' in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747568#M5058</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I try to compile with ifort a programm written by the members of my lab to modify netcdf file using IOAPI library. This programm is ussually compile with pgf without any problems, however we need to use it on our new cluster using ifort. Then we get this error message:&lt;BR /&gt;&lt;BR /&gt;ifort -openmp -I /global/home/users/nseror/install/lib/ioapi/ioapi/fixed_src -o changestime.exe changestime.F fdescstruct.o -L/global/home/users/nseror/install/lib/ioapi/Linux2_x86_64ifort -lioapi -L/global/software/centos-5.x86_64/modules/netcdf/4.0-intel/lib -lnetcdf&lt;BR /&gt;/tmp/ifortn8G15K.o: In function `MAIN__':&lt;BR /&gt;changestime.F:(.text+0xb2): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0xfc): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x125): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x4de): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x617): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x691): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;changestime.F:(.text+0xb2f): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;fdescstruct.o: In function `fdesc3_compare_':&lt;BR /&gt;fdescstruct.F:(.text+0xf3): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x258): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x3bd): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x522): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x687): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.o:fdescstruct.F:(.text+0x7ec): more undefined references to `lunits_mp_lunconch_' follow&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;It seems to be a flag problem, the optional command I use to compile it are:&lt;BR /&gt;&lt;BR /&gt;ifort -openmp -I
/global/home/users/nseror/install/lib/ioapi/ioapi/fixed_src -o
changestime.exe changestime.F fdescstruct.o
-L/global/home/users/nseror/install/lib/ioapi/Linux2_x86_64ifort
-lioapi -L/global/software/centos-5.x86_64/modules/netcdf/4.0-intel/lib
-lnetcdf&lt;BR /&gt;&lt;BR /&gt;Someone could help me please&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 16 Jun 2010 18:21:06 GMT</pubDate>
    <dc:creator>nseror</dc:creator>
    <dc:date>2010-06-16T18:21:06Z</dc:date>
    <item>
      <title>Problem compilling with ifort, error message:undefined reference to `lunits_mp_logdev_'</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747568#M5058</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I try to compile with ifort a programm written by the members of my lab to modify netcdf file using IOAPI library. This programm is ussually compile with pgf without any problems, however we need to use it on our new cluster using ifort. Then we get this error message:&lt;BR /&gt;&lt;BR /&gt;ifort -openmp -I /global/home/users/nseror/install/lib/ioapi/ioapi/fixed_src -o changestime.exe changestime.F fdescstruct.o -L/global/home/users/nseror/install/lib/ioapi/Linux2_x86_64ifort -lioapi -L/global/software/centos-5.x86_64/modules/netcdf/4.0-intel/lib -lnetcdf&lt;BR /&gt;/tmp/ifortn8G15K.o: In function `MAIN__':&lt;BR /&gt;changestime.F:(.text+0xb2): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0xfc): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x125): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x4de): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x617): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;changestime.F:(.text+0x691): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;changestime.F:(.text+0xb2f): undefined reference to `lunits_mp_logdev_'&lt;BR /&gt;fdescstruct.o: In function `fdesc3_compare_':&lt;BR /&gt;fdescstruct.F:(.text+0xf3): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x258): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x3bd): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x522): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.F:(.text+0x687): undefined reference to `lunits_mp_lunconch_'&lt;BR /&gt;fdescstruct.o:fdescstruct.F:(.text+0x7ec): more undefined references to `lunits_mp_lunconch_' follow&lt;BR /&gt;exit 0&lt;BR /&gt;&lt;BR /&gt;It seems to be a flag problem, the optional command I use to compile it are:&lt;BR /&gt;&lt;BR /&gt;ifort -openmp -I
/global/home/users/nseror/install/lib/ioapi/ioapi/fixed_src -o
changestime.exe changestime.F fdescstruct.o
-L/global/home/users/nseror/install/lib/ioapi/Linux2_x86_64ifort
-lioapi -L/global/software/centos-5.x86_64/modules/netcdf/4.0-intel/lib
-lnetcdf&lt;BR /&gt;&lt;BR /&gt;Someone could help me please&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 16 Jun 2010 18:21:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747568#M5058</guid>
      <dc:creator>nseror</dc:creator>
      <dc:date>2010-06-16T18:21:06Z</dc:date>
    </item>
    <item>
      <title>Problem compilling with ifort, error message:undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747569#M5059</link>
      <description>These errors indicate that you have not also linked in the .o file created when module LUNITS was compiled. That is required.</description>
      <pubDate>Wed, 16 Jun 2010 18:38:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747569#M5059</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2010-06-16T18:38:32Z</dc:date>
    </item>
    <item>
      <title>Problem compilling with ifort, error message:undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747570#M5060</link>
      <description>Thank you very much</description>
      <pubDate>Wed, 16 Jun 2010 20:41:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747570#M5060</guid>
      <dc:creator>nseror</dc:creator>
      <dc:date>2010-06-16T20:41:27Z</dc:date>
    </item>
    <item>
      <title>Problem compilling with ifort, error message:undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747571#M5061</link>
      <description>I'm having the same problem, how do I link the .o file?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 21 Sep 2010 21:08:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747571#M5061</guid>
      <dc:creator>erandall</dc:creator>
      <dc:date>2010-09-21T21:08:12Z</dc:date>
    </item>
    <item>
      <title>Problem compilling with ifort, error message:undefined referenc</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747572#M5062</link>
      <description>The standard command for linking is&lt;BR /&gt;&lt;BR /&gt;&lt;FC&gt; &lt;FILE1.O&gt; &lt;FILE2.O&gt; ... -L&lt;YOUR_LIBRARIES_DIRECTORY&gt; -l&lt;LIBA&gt; -l&lt;LIBB&gt; ...&lt;BR /&gt;&lt;BR /&gt;where &amp;lt;..&amp;gt; is text that you supply, using the following rules:&lt;BR /&gt;&lt;BR /&gt; &lt;FC&gt; is the name of the Fortran compiler driver (ifort).&lt;BR /&gt;&lt;BR /&gt; &lt;FILE1.O&gt; ... are the names of object files produced by compiling your Fortran sources&lt;BR /&gt;&lt;BR /&gt; &lt;LIBA&gt; is used to link in library "liblibA.a" or "liblibA.so", etc.&lt;BR /&gt;&lt;BR /&gt;and any other needed compiler options are placed after &lt;FC&gt;.&lt;BR /&gt;&lt;BR /&gt;This topic is well covered in the Fortran Users Guide.&lt;BR /&gt;&lt;BR /&gt;&lt;/FC&gt;&lt;/LIBA&gt;&lt;/FILE1.O&gt;&lt;/FC&gt;&lt;/LIBB&gt;&lt;/LIBA&gt;&lt;/YOUR_LIBRARIES_DIRECTORY&gt;&lt;/FILE2.O&gt;&lt;/FILE1.O&gt;&lt;/FC&gt;</description>
      <pubDate>Tue, 21 Sep 2010 22:03:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problem-compilling-with-ifort-error-message-undefined-reference/m-p/747572#M5062</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2010-09-21T22:03:05Z</dc:date>
    </item>
  </channel>
</rss>

