- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand your frustration. It is a reliable outcome of using GNU configure.
Basically, this is the procedure that I would follow: when configure fails, it displays a message about what step failed. Look up the corresponding lines in config.log, and find what part of the environment needs to be changes in order to remove that error.
Unfortunately, this procedure needs to be repeated for each build error.
--------------------------------------------------------------------------------------------------
If you are willing to accept a binary attachment (check for viruses, etc. before using!), you can use the attached tarred and gzipped file. It contains the headers, and libraries for ia32 and intel64. The compiler options used : -O3 -ip -no-prec-div, with one exception: for building HDF for intel64 I used '-O2 -no-prec-div' since one compilation got hung up with -O3.
I built the libraries on Suse 12.1 X64 on a C2D E8400 system using the Intel 12.1 compilers,
If Intel objects to the large size of the file, I'll have to remove it; therefore, if you want to download it do it soon.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You would require the complete g++ development system installation for both 32- and 64-bit mode, if you want to install the 32-bit ifort. You shouldn't need the entire 32-bit g++ for the 64-bit ifort on the x86_64 OS.
As the instructions you refer to indicate, you also need both the 32- and 64-bit libstdc++-33, even if you are installing only the 64-bit ifort. These libstdc++-5 requirements are gone since ifort 12.0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, then it would be really hepful if you could give me some help to solve the problems that I get trying to compile the source software with the intel compiler 11.1.
export CC=icc
export CXX=icpc
export CFLAGS='-O3 -xT -ip -no-prec-div -static'
export CXXFLAGS='-O3 -xT -ip -no-prec-div -static'
export F77=ifort
export FC=ifort
export F90=ifort
export FFLAGS='-O3 -xT -ip -no-prec-div -static'
export CPP='icc -E'
export CXXCPP='icpc -E'
Then configure and make, and I get this error (nochanges, if I change-xT by -xsse3):
make[2]: Entering directory `/home/dogarcar/Downloads/netcdf-3.6.2/fortran'
make all-am
make[3]: Entering directory `/home/dogarcar/Downloads/netcdf-3.6.2/fortran'
depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|.lo$||'`;
if /bin/bash ../libtool --tag=CC --mode=compile icc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -O3 -xT -ip -no-prec-div -static -MT fort-attio.lo -MD -MP -MF "$depbase.Tpo" -c -o fort-attio.lo fort-attio.c;
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
libtool: compile: icc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../libsrc -O3 -xT -ip -no-prec-div -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o
../libtool: line 795: icc: command not found
make[3]: *** [fort-attio.lo] Error 1
make[3]: Leaving directory `/home/dogarcar/Downloads/netcdf-3.6.2/fortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/dogarcar/Downloads/netcdf-3.6.2/fortran'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dogarcar/Downloads/netcdf-3.6.2'
make: *** [all] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ncvalues.cpp(246): error: identifier "strncpy" is undefined strncpy(s, (const char*)the_values + n, (int)the_number); ^
compilation aborted for ncvalues.cpp (code 2)make[2]: *** [ncvalues.lo] Error 1make[2]: Leaving directory `/home/dogarcar/Downloads/netcdf-3.6.2/cxx'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/home/dogarcar/Downloads/netcdf-3.6.2'make: *** [all] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I guess it's somewhat embarrassing that the posted 4 year old Intel document on NetCDF advises use of a compiler version which is no longer supported and an old NetCDF version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
export LDFLAGS='-L$HDF5D/lib -L$SZIPD/lib -lhdf5 -lsz'
to
export LDFLAGS='-L$HDF5D/lib64 -L$SZIPD/lib64 -lhdf5 -lsz'
(before making this change, check where the HDF library was installed)
Similarly, make changes to the line that exports LD_LIBRARY_PATH (i.e., change "lib" to "lib64").
The configure script compiles several short programs to find which libraries are available; it is normal for many of these to fail; e.g.,
/usr/bin/ld: cannot find -lhdf5dll
is probably not a problem since this check does not apply to Linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I understand your frustration. It is a reliable outcome of using GNU configure.
Basically, this is the procedure that I would follow: when configure fails, it displays a message about what step failed. Look up the corresponding lines in config.log, and find what part of the environment needs to be changes in order to remove that error.
Unfortunately, this procedure needs to be repeated for each build error.
--------------------------------------------------------------------------------------------------
If you are willing to accept a binary attachment (check for viruses, etc. before using!), you can use the attached tarred and gzipped file. It contains the headers, and libraries for ia32 and intel64. The compiler options used : -O3 -ip -no-prec-div, with one exception: for building HDF for intel64 I used '-O2 -no-prec-div' since one compilation got hung up with -O3.
I built the libraries on Suse 12.1 X64 on a C2D E8400 system using the Intel 12.1 compilers,
If Intel objects to the large size of the file, I'll have to remove it; therefore, if you want to download it do it soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will probably find that the libraries that I uploaded will not work with the 11.1 compiler. Specifically, you are likely to see unsatisfied references to routines such as _intel_sse2_strcpy.
I have the 11.1 C compiler installed, but when I upgraded to the 12.1 compiler I uninstalled the 11.1 Fortran compiler. Is it possible for you to install the 12.1 compilers, or would that be a problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
export LDFLAGS="-L$HDF5D/lib -L$SZIPD/lib -lhdf5 -lsz -limf"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had used actual paths enclosed in single quotes, and replaced them by symbolic directory names for posting. That was an error.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page