<?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 Building HDF4 with Intel compilers in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759402#M14889</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to build HDF4 library in order to run my code. I have successfully installed ZLIB, JPEG libraries needed for HDF4 (no compiling errors, all tests passed).&lt;BR /&gt;&lt;BR /&gt;Although I was able to build the HDF4 libraries at the end, some of the tests have failed (e.g., hdiff tests). This is pretty much what I did to install HDF4 (step-by-step):&lt;BR /&gt;&lt;BR /&gt;(1) set environment variables&lt;BR /&gt;setenv CC icc&lt;BR /&gt;setenv CXX icpc&lt;BR /&gt;setenv F77 ifort&lt;BR /&gt;&lt;BR /&gt;(2) ./configure --with-zlib=/home/rosolem/lib/zlib-1.2.3+ifort-10.1 --with-jpeg=/hom&lt;BR /&gt;e/rosolem/lib/jpeg-6b+ifort-10.1 --disable-netcdf --prefix=/home/rosolem/lib/hdf&lt;BR /&gt;4-2r4+ifort-10.1&lt;BR /&gt;&lt;BR /&gt;(3) gmake &amp;gt;&amp;amp; gmake.out&lt;BR /&gt;&lt;BR /&gt;(4) gmake check &amp;gt;&amp;amp; check.out&lt;BR /&gt;&lt;BR /&gt;(5) gmake install&lt;BR /&gt;&lt;BR /&gt;As I mentioned, when running gmake and gmake check, I got several different compiling warnings, although not errors. In addition, all hdiff tests have failed. I decided to try to install it anyway, and I got no errors. Is there a way to fix these warnings? I wonder if that may compromise my model simulations.&lt;BR /&gt;&lt;BR /&gt;Has anyone had experience trying to build HDF4 with Intel compilers? I would appreciate to get some assistance.&lt;BR /&gt;&lt;BR /&gt;Here is some information regarding machine, and compiler version:&lt;BR /&gt;&lt;BR /&gt;Kernel: Linux&lt;BR /&gt;Mahcine: Intel Xeon CPU E5472 @ 3.00GHz&lt;BR /&gt;Processor: x86_64&lt;BR /&gt;OS: GNU/Linux&lt;BR /&gt;Intel Fortran Compiler for applications running on Intel 64, Version 10.1 Build 20080801 Package ID: l_fc_p_10.1.018&lt;BR /&gt;&lt;BR /&gt;Find attached the relevant files during the installation process&lt;BR /&gt;</description>
    <pubDate>Wed, 23 Sep 2009 16:28:26 GMT</pubDate>
    <dc:creator>Rafael</dc:creator>
    <dc:date>2009-09-23T16:28:26Z</dc:date>
    <item>
      <title>Building HDF4 with Intel compilers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759402#M14889</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to build HDF4 library in order to run my code. I have successfully installed ZLIB, JPEG libraries needed for HDF4 (no compiling errors, all tests passed).&lt;BR /&gt;&lt;BR /&gt;Although I was able to build the HDF4 libraries at the end, some of the tests have failed (e.g., hdiff tests). This is pretty much what I did to install HDF4 (step-by-step):&lt;BR /&gt;&lt;BR /&gt;(1) set environment variables&lt;BR /&gt;setenv CC icc&lt;BR /&gt;setenv CXX icpc&lt;BR /&gt;setenv F77 ifort&lt;BR /&gt;&lt;BR /&gt;(2) ./configure --with-zlib=/home/rosolem/lib/zlib-1.2.3+ifort-10.1 --with-jpeg=/hom&lt;BR /&gt;e/rosolem/lib/jpeg-6b+ifort-10.1 --disable-netcdf --prefix=/home/rosolem/lib/hdf&lt;BR /&gt;4-2r4+ifort-10.1&lt;BR /&gt;&lt;BR /&gt;(3) gmake &amp;gt;&amp;amp; gmake.out&lt;BR /&gt;&lt;BR /&gt;(4) gmake check &amp;gt;&amp;amp; check.out&lt;BR /&gt;&lt;BR /&gt;(5) gmake install&lt;BR /&gt;&lt;BR /&gt;As I mentioned, when running gmake and gmake check, I got several different compiling warnings, although not errors. In addition, all hdiff tests have failed. I decided to try to install it anyway, and I got no errors. Is there a way to fix these warnings? I wonder if that may compromise my model simulations.&lt;BR /&gt;&lt;BR /&gt;Has anyone had experience trying to build HDF4 with Intel compilers? I would appreciate to get some assistance.&lt;BR /&gt;&lt;BR /&gt;Here is some information regarding machine, and compiler version:&lt;BR /&gt;&lt;BR /&gt;Kernel: Linux&lt;BR /&gt;Mahcine: Intel Xeon CPU E5472 @ 3.00GHz&lt;BR /&gt;Processor: x86_64&lt;BR /&gt;OS: GNU/Linux&lt;BR /&gt;Intel Fortran Compiler for applications running on Intel 64, Version 10.1 Build 20080801 Package ID: l_fc_p_10.1.018&lt;BR /&gt;&lt;BR /&gt;Find attached the relevant files during the installation process&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2009 16:28:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759402#M14889</guid>
      <dc:creator>Rafael</dc:creator>
      <dc:date>2009-09-23T16:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Building HDF4 with Intel compilers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759403#M14890</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/443206"&gt;Rafael&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to build HDF4 library in order to run my code. I have successfully installed ZLIB, JPEG libraries needed for HDF4 (no compiling errors, all tests passed).&lt;BR /&gt;&lt;BR /&gt;Although I was able to build the HDF4 libraries at the end, some of the tests have failed (e.g., hdiff tests). This is pretty much what I did to install HDF4 (step-by-step):&lt;BR /&gt;&lt;BR /&gt;(1) set environment variables&lt;BR /&gt;setenv CC icc&lt;BR /&gt;setenv CXX icpc&lt;BR /&gt;setenv F77 ifort&lt;BR /&gt;&lt;BR /&gt;(2) ./configure --with-zlib=/home/rosolem/lib/zlib-1.2.3+ifort-10.1 --with-jpeg=/hom&lt;BR /&gt;e/rosolem/lib/jpeg-6b+ifort-10.1 --disable-netcdf --prefix=/home/rosolem/lib/hdf&lt;BR /&gt;4-2r4+ifort-10.1&lt;BR /&gt;&lt;BR /&gt;(3) gmake &amp;gt;&amp;amp; gmake.out&lt;BR /&gt;&lt;BR /&gt;(4) gmake check &amp;gt;&amp;amp; check.out&lt;BR /&gt;&lt;BR /&gt;(5) gmake install&lt;BR /&gt;&lt;BR /&gt;As I mentioned, when running gmake and gmake check, I got several different compiling warnings, although not errors. In addition, all hdiff tests have failed. I decided to try to install it anyway, and I got no errors. Is there a way to fix these warnings? I wonder if that may compromise my model simulations.&lt;BR /&gt;&lt;BR /&gt;Has anyone had experience trying to build HDF4 with Intel compilers? I would appreciate to get some assistance.&lt;BR /&gt;&lt;BR /&gt;Here is some information regarding machine, and compiler version:&lt;BR /&gt;&lt;BR /&gt;Kernel: Linux&lt;BR /&gt;Mahcine: Intel Xeon CPU E5472 @ 3.00GHz&lt;BR /&gt;Processor: x86_64&lt;BR /&gt;OS: GNU/Linux&lt;BR /&gt;Intel Fortran Compiler for applications running on Intel 64, Version 10.1 Build 20080801 Package ID: l_fc_p_10.1.018&lt;BR /&gt;&lt;BR /&gt;Find attached the relevant files during the installation process&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;There is a writeup on building HDF5, but not HDF4:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-hdf5-with-intel-compilers/"&gt;http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-hdf5-with-intel-compilers/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You didn't show it, but did you build zlib and jpegwith the Intel C/C++ compiler? HDF5 also requires an F90 compiler definition in var F9X: export F9X=ifort&lt;BR /&gt;&lt;BR /&gt;not sure if that would matter.&lt;BR /&gt;&lt;BR /&gt;ron</description>
      <pubDate>Wed, 23 Sep 2009 16:36:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759403#M14890</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-09-23T16:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Building HDF4 with Intel compilers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759404#M14891</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/160574"&gt;Ronald W. Green (Intel)&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;There is a writeup on building HDF5, but not HDF4:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-hdf5-with-intel-compilers/"&gt;http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-hdf5-with-intel-compilers/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You didn't show it, but did you build zlib and jpegwith the Intel C/C++ compiler? HDF5 also requires an F90 compiler definition in var F9X: export F9X=ifort&lt;BR /&gt;&lt;BR /&gt;not sure if that would matter.&lt;BR /&gt;&lt;BR /&gt;ron&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Dear Ron,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. In fact I did follow the same instructions to build HDF5 as shown in the link. The code I am using requires HDF4, and I have been told that HDF5 and HDF4 have some compatibility issues. I noticed the files were not attached previously, so I added then now.&lt;BR /&gt;&lt;BR /&gt;For ZLIB and JPEG libraires I used the following:&lt;BR /&gt;setenv CC icc&lt;BR /&gt;setenv CFLAGS '-O3 -xP -ip'&lt;BR /&gt;&lt;BR /&gt;I don't recall setting F9X for HDF4, but the code I am trying to use specifies "HDF4 library with F77 support" only (doesn't mention F9X).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Sep 2009 17:15:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759404#M14891</guid>
      <dc:creator>Rafael</dc:creator>
      <dc:date>2009-09-23T17:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Building HDF4 with Intel compilers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759405#M14892</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/443206"&gt;Rafael&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;Dear Ron,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. In fact I did follow the same instructions to build HDF5 as shown in the link. The code I am using requires HDF4, and I have been told that HDF5 and HDF4 have some compatibility issues. I noticed the files were not attached previously, so I added then now.&lt;BR /&gt;&lt;BR /&gt;For ZLIB and JPEG libraires I used the following:&lt;BR /&gt;setenv CC icc&lt;BR /&gt;setenv CFLAGS '-O3 -xP -ip'&lt;BR /&gt;&lt;BR /&gt;I don't recall setting F9X for HDF4, but the code I am trying to use specifies "HDF4 library with F77 support" only (doesn't mention F9X).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;well, another thing to try: the -xP option assumes an Intel processor with a certain level of SSE support. If you have an older processor OR and AMD processor you'll want to remove that option or use -xHOST instead.&lt;BR /&gt;&lt;BR /&gt;ron</description>
      <pubDate>Wed, 23 Sep 2009 19:21:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759405#M14892</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-09-23T19:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Building HDF4 with Intel compilers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759406#M14893</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/443206"&gt;Rafael&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;EM&gt;HDF4 does run on Linux x86_64 systems with the Intel C and Fortran compilers. &lt;/EM&gt;Something is going wrong on the system you use.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;It looks like libimf.so is not found for some reason (see check.out, hdiff errors). Please make sure that your LD_LIBRARY_PATH includes path to the Intel compiler libraries.&lt;BR /&gt;&lt;BR /&gt;Elena Pourmal&lt;BR /&gt;&lt;BR /&gt;The HDF Group&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to build HDF4 library in order to run my code. I have successfully installed ZLIB, JPEG libraries needed for HDF4 (no compiling errors, all tests passed).&lt;BR /&gt;&lt;BR /&gt;Although I was able to build the HDF4 libraries at the end, some of the tests have failed (e.g., hdiff tests). This is pretty much what I did to install HDF4 (step-by-step):&lt;BR /&gt;&lt;BR /&gt;(1) set environment variables&lt;BR /&gt;setenv CC icc&lt;BR /&gt;setenv CXX icpc&lt;BR /&gt;setenv F77 ifort&lt;BR /&gt;&lt;BR /&gt;(2) ./configure --with-zlib=/home/rosolem/lib/zlib-1.2.3+ifort-10.1 --with-jpeg=/hom&lt;BR /&gt;e/rosolem/lib/jpeg-6b+ifort-10.1 --disable-netcdf --prefix=/home/rosolem/lib/hdf&lt;BR /&gt;4-2r4+ifort-10.1&lt;BR /&gt;&lt;BR /&gt;(3) gmake &amp;gt;&amp;amp; gmake.out&lt;BR /&gt;&lt;BR /&gt;(4) gmake check &amp;gt;&amp;amp; check.out&lt;BR /&gt;&lt;BR /&gt;(5) gmake install&lt;BR /&gt;&lt;BR /&gt;As I mentioned, when running gmake and gmake check, I got several different compiling warnings, although not errors. In addition, all hdiff tests have failed. I decided to try to install it anyway, and I got no errors. Is there a way to fix these warnings? I wonder if that may compromise my model simulations.&lt;BR /&gt;&lt;BR /&gt;Has anyone had experience trying to build HDF4 with Intel compilers? I would appreciate to get some assistance.&lt;BR /&gt;&lt;BR /&gt;Here is some information regarding machine, and compiler version:&lt;BR /&gt;&lt;BR /&gt;Kernel: Linux&lt;BR /&gt;Mahcine: Intel Xeon CPU E5472 @ 3.00GHz&lt;BR /&gt;Processor: x86_64&lt;BR /&gt;OS: GNU/Linux&lt;BR /&gt;Intel Fortran Compiler for applications running on Intel 64, Version 10.1 Build 20080801 Package ID: l_fc_p_10.1.018&lt;BR /&gt;&lt;BR /&gt;Find attached the relevant files during the installation process&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2009 03:44:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759406#M14893</guid>
      <dc:creator>elenapo</dc:creator>
      <dc:date>2009-09-24T03:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Building HDF4 with Intel compilers</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759407#M14894</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/444485"&gt;elenapo&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;the HDF folks indicate your LD_LIBRARY_PATH is incorrectly set.&lt;BR /&gt;&lt;BR /&gt;before you build and make you do need to source ifortvars.sh.&lt;BR /&gt;&lt;BR /&gt;source /opt/intel/fc&lt;E&gt;/10.1.018/bin/ifortvars.sh&lt;BR /&gt;&lt;BR /&gt;AND I assume you are NOT using a batch system or 'sudo' for the make - correct? These may not inherit the LD_LIBRARY_PATH setting. And I assume your shell is bash - if it tcsh or csh you need to:&lt;BR /&gt;&lt;BR /&gt;source /opt/intel/fc&lt;E&gt;/10.1.018/bin/ifortvars.csh&lt;BR /&gt;&lt;BR /&gt;check your shell with echo $0 &lt;BR /&gt;echo dollar zero&lt;BR /&gt;&lt;BR /&gt;before you do the build:&lt;BR /&gt;&lt;BR /&gt;echo $LD_LIBRARY_PATH&lt;BR /&gt;&lt;BR /&gt;to make sure your path is set for the Intel libraries.&lt;BR /&gt;&lt;BR /&gt;ron&lt;/E&gt;&lt;/E&gt;</description>
      <pubDate>Thu, 24 Sep 2009 17:29:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Building-HDF4-with-Intel-compilers/m-p/759407#M14894</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2009-09-24T17:29:57Z</dc:date>
    </item>
  </channel>
</rss>

