Re: [netcdfgroup] NetCDF install issues with Intel compilers

As Gerry says, the fortran library for NetCDF is in its own file, you need
to download that one and install that ontop of the 4.3.1. The fortran
library is at the same place as the download for the C-version

/ Nick


2014-01-28 Steven Hart <steven.hart@xxxxxxxxxxxx>

> Thanks for the response.  When I downloaded the Intel compilers I got both
> the C++ and the Fortran.  They were two separate installs that go into the
> same install folder.  I ran a test with a basic Fortran code and ifort does
> compile.  Are there even more Intel Fortran libs to install?
>
> I appreciate any help with this!
>
> Steve
>
> ---------
> Steven Hart
> Systems Admin
> CCAR - CU Boulder
> 303-492-8109
>
> ----- Reply message -----
> From: "Gerry Creager - NOAA Affiliate" <gerry.creager@xxxxxxxx>
> To: <Steven.Hart@xxxxxxxxxxxx>
> Subject: [netcdfgroup] NetCDF install issues with Intel compilers
> Date: Mon, Jan 27, 2014 5:14 PM
>
>
> I'm pretty sure you'll get a response or two from the list but, if memory
> serves, the Fortran libraries are now a separate download. Go back to the
> download page and poke around. They're out there, but unfortunately, I
> don't have time (another commitment this evening; sorry) to look before I
> leave the office. If you can't find them, drop me a note and let me know.
>
> gerry
>
>
> On Mon, Jan 27, 2014 at 5:30 PM, Steven Hart <steven.hart@xxxxxxxxxxxx>wrote:
>
>>  System info:
>> RHEL6 64 bit
>> kernel = 2.6.32-431.3.1.el6.x86_64
>> Intel compiler version = composer_xe_2013_sp1.1.106
>>
>> - First I was trying to install netcdf using the standard RHEL6 yum
>> repo, but that was compiled using gfortran and the user requires the
>> intel ifort compilers to be used.  For the life of me I could not get the
>> RHEL6 repo version of netcdf to use ifort.  Any ideas on how to do that
>> would be great!
>>
>> - Then I decided to try installing netcdf v4.3.1 from source.  After
>> alot of trial and error, I got it to compile using the following in my
>> .bashrc
>>
>> source /usr/local/intel/bin/compilervars.sh intel64
>> export CC=icc
>> export CXX=icpc
>> export CFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
>> export CXXFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
>> export F77=ifort
>> export FC=ifort
>> export F90=ifort
>> export FFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
>> export CPP='icc -E'
>> export CXXCPP='icpc -E'
>> export CPPFLAGS='-I/usr/include -I/usr/include/hdf'
>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:'/usr/lib64
>> /usr/local/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64
>> /usr/lib64/hdf'
>>
>> I used the following intel link for reference:
>>
>> http://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-netcdf-with-the-intel-compilers
>>
>> I finally got netcdf to compile and install but when I run "nc-config
>> --all" it reports that it was built with the icc compilers but with no
>> fortran compilers at all.  Needless to say, when the user's code runs,
>> it calls gfortran.
>>
>> I'm at a loss at this point and could use some insight into how to get netcdf
>> happy with the intel fortran compilers.
>>
>> Thanks
>>
>> Steve
>>  --
>> Steve Hart
>> Systems Administrator
>> Colorado Center for Astrodynamics Research
>> University of Colorado Boulder
>> Steven.Hart@xxxxxxxxxxxx
>> (303)492-8109
>>
>> _______________________________________________
>> netcdfgroup mailing list
>> netcdfgroup@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> --
> Gerry Creager
> NSSL/CIMMS
> 405.325.6371
> ++++++++++++++++++++++
> “Big whorls have little whorls,
> That feed on their velocity;
> And little whorls have lesser whorls,
> And so on to viscosity.”
> Lewis Fry Richardson (1881-1953)
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>



-- 
Kind regards Nick
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: