<?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 Problems compiling netcdf 4.1.3 with ifort in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760771#M16258</link>
    <description>Hi all.&lt;BR /&gt;&lt;BR /&gt;I am trying to compile netcdf 4.1.3 (http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.3.tar.gz) with ifort (intel fortran composer XE for linux) and gcc. I try to follow the instructions from netcdf and from intel (http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers/). What I do it's the following:&lt;BR /&gt;&lt;BR /&gt;$ ./configure --prefix=/usr/local --disable-netcdf-4 CC=gcc CXX=g++ CFLAGS='-O2 -m64' CXXFLAGS='-O2 -m64' F77=/opt/intel/bin/ifort FC=/opt/intel/bin/ifort F90=/opt/intel/bin/ifort FFLAGS='-O3 -xT -ip -no-prec-div -m64'&lt;BR /&gt;$ make&lt;BR /&gt;$ make check&lt;BR /&gt;&lt;BR /&gt;after some tests the output shows the following:&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;&lt;B&gt;/bin/bash ../libtool --tag=FC --mode=link /opt/intel/bin/ifort -I../fortran -I../f90 -I../f90 -I../include -g -o tst_f90 tst_f90.o ../fortran/libnetcdff.la -lm &lt;BR /&gt;libtool: link: /opt/intel/bin/ifort -I../fortran -I../f90 -I../f90 -I../include -g -o .libs/tst_f90 tst_f90.o ../fortran/.libs/libnetcdff.so /home/kiko/Descargas/netcdf-4.1.3/liblib/.libs/libnetcdf.so -lm&lt;BR /&gt;ld: warning: libifcore.so.5, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;ld: warning: libimf.so, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;ld: warning: libsvml.so, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;ld: warning: libintlc.so.5, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__intel_sse2_strrchr'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFresetseed'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `flushqq_'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_status87'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_set_posix_io_flag'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_clearfp'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_readchar'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_gethandle'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFsetseed'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_errsns_load'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFfrand'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_curpos'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFirand'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_secnds_t'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_statusfp'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_controlfp'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_clear87'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_getarg'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_curpos_i8'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_nargs'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_writechar'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_fdopen'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_control87'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_fseek'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `commitqq_'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFdrand'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_fseek_i8'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__intel_sse2_strtok'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFgetseed'&lt;BR /&gt;make[2]: *** [tst_f90] Error 1&lt;BR /&gt;make[2]: se sale del directorio /home/user/Downloads/netcdf-4.1.3/nf_test&lt;BR /&gt;make[1]: *** [check-am] Error 2&lt;BR /&gt;make[1]: se sale del directorio /home/user/Downloads/netcdf-4.1.3/nf_test&lt;BR /&gt;make: *** [check-recursive] Error 1&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;I'm on Ubuntu 11.10 64 bits.&lt;BR /&gt;&lt;BR /&gt;What i'm doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help.&lt;BR /&gt;&lt;BR /&gt;Best.</description>
    <pubDate>Sun, 22 Jan 2012 19:10:11 GMT</pubDate>
    <dc:creator>basuradek</dc:creator>
    <dc:date>2012-01-22T19:10:11Z</dc:date>
    <item>
      <title>Problems compiling netcdf 4.1.3 with ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760771#M16258</link>
      <description>Hi all.&lt;BR /&gt;&lt;BR /&gt;I am trying to compile netcdf 4.1.3 (http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-4.1.3.tar.gz) with ifort (intel fortran composer XE for linux) and gcc. I try to follow the instructions from netcdf and from intel (http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers/). What I do it's the following:&lt;BR /&gt;&lt;BR /&gt;$ ./configure --prefix=/usr/local --disable-netcdf-4 CC=gcc CXX=g++ CFLAGS='-O2 -m64' CXXFLAGS='-O2 -m64' F77=/opt/intel/bin/ifort FC=/opt/intel/bin/ifort F90=/opt/intel/bin/ifort FFLAGS='-O3 -xT -ip -no-prec-div -m64'&lt;BR /&gt;$ make&lt;BR /&gt;$ make check&lt;BR /&gt;&lt;BR /&gt;after some tests the output shows the following:&lt;BR /&gt;&lt;BR /&gt;[...]&lt;BR /&gt;&lt;B&gt;/bin/bash ../libtool --tag=FC --mode=link /opt/intel/bin/ifort -I../fortran -I../f90 -I../f90 -I../include -g -o tst_f90 tst_f90.o ../fortran/libnetcdff.la -lm &lt;BR /&gt;libtool: link: /opt/intel/bin/ifort -I../fortran -I../f90 -I../f90 -I../include -g -o .libs/tst_f90 tst_f90.o ../fortran/.libs/libnetcdff.so /home/kiko/Descargas/netcdf-4.1.3/liblib/.libs/libnetcdf.so -lm&lt;BR /&gt;ld: warning: libifcore.so.5, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;ld: warning: libimf.so, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;ld: warning: libsvml.so, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;ld: warning: libintlc.so.5, needed by ../fortran/.libs/libnetcdff.so, not found (try using -rpath or -rpath-link)&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__intel_sse2_strrchr'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFresetseed'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `flushqq_'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_status87'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_set_posix_io_flag'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_clearfp'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_readchar'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_gethandle'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFsetseed'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_errsns_load'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFfrand'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_curpos'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFirand'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_secnds_t'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_statusfp'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_controlfp'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_clear87'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_getarg'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_curpos_i8'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_nargs'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_writechar'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `for_fdopen'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `_control87'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_fseek'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `commitqq_'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFdrand'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__msportlib_d_fseek_i8'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__intel_sse2_strtok'&lt;BR /&gt;/usr/local/lib/libifport.so.5: undefined reference to `__FFgetseed'&lt;BR /&gt;make[2]: *** [tst_f90] Error 1&lt;BR /&gt;make[2]: se sale del directorio /home/user/Downloads/netcdf-4.1.3/nf_test&lt;BR /&gt;make[1]: *** [check-am] Error 2&lt;BR /&gt;make[1]: se sale del directorio /home/user/Downloads/netcdf-4.1.3/nf_test&lt;BR /&gt;make: *** [check-recursive] Error 1&lt;BR /&gt;&lt;/B&gt;&lt;BR /&gt;I'm on Ubuntu 11.10 64 bits.&lt;BR /&gt;&lt;BR /&gt;What i'm doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for any help.&lt;BR /&gt;&lt;BR /&gt;Best.</description>
      <pubDate>Sun, 22 Jan 2012 19:10:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760771#M16258</guid>
      <dc:creator>basuradek</dc:creator>
      <dc:date>2012-01-22T19:10:11Z</dc:date>
    </item>
    <item>
      <title>Problems compiling netcdf 4.1.3 with ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760772#M16259</link>
      <description>You should set up the ifort environment acccording to instructions (e.g. by sourceing ifortvars). I don't care to research whether NetCDF supports Ubuntu install, or may require script modification; that's your job. It looks a bit like you headed off into a Windows configuration.</description>
      <pubDate>Mon, 23 Jan 2012 00:40:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760772#M16259</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2012-01-23T00:40:31Z</dc:date>
    </item>
    <item>
      <title>Problems compiling netcdf 4.1.3 with ifort</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760773#M16260</link>
      <description>You have probably messed up LD_LIBRARY_PATH. Have you seen &lt;A href="http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers"&gt;this page&lt;/A&gt; with tips on getting NetCDF to work ?

See also &lt;A href=" http://software.intel.com/en-us/forums/showthread.php?t=101815"&gt;this thread&lt;/A&gt; on similar problems.</description>
      <pubDate>Mon, 23 Jan 2012 08:43:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Problems-compiling-netcdf-4-1-3-with-ifort/m-p/760773#M16260</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2012-01-23T08:43:33Z</dc:date>
    </item>
  </channel>
</rss>

