- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello: I'm trying to install netcdf 4.1.1 with intel compilers.
I'm using a debian (lenny) on a vmware machine (Vmware workstation 7).
I install the compilers on /opt/intel/Compiler/11.1/072/bin where I have iccvars.sh and ifortvars.sh.
To install netcdf I follow these steps:
1) source /opt/intel/Compiler/11.1/072/bin/iccvars.sh ia32
source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh ia32
2)in /home/cbarca/netcdf-4.1.1/ extract the NetCDF source code
3) I set the environment variables
$ 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'
4) I run configuration utility
./configure --prefix=/usr/local/netcdf --disable-netcdf-4
And I get config.log and config.status (I attach those filles)
The instalation was succesfull but I think that not using Intel compilers.
5) I attache make check log (chk.log) and make install log (inst.log).
Regards.
I'm using a debian (lenny) on a vmware machine (Vmware workstation 7).
I install the compilers on /opt/intel/Compiler/11.1/072/bin where I have iccvars.sh and ifortvars.sh.
To install netcdf I follow these steps:
1) source /opt/intel/Compiler/11.1/072/bin/iccvars.sh ia32
source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh ia32
2)in /home/cbarca/netcdf-4.1.1/ extract the NetCDF source code
3) I set the environment variables
$ 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'
4) I run configuration utility
./configure --prefix=/usr/local/netcdf --disable-netcdf-4
And I get config.log and config.status (I attach those filles)
The instalation was succesfull but I think that not using Intel compilers.
5) I attache make check log (chk.log) and make install log (inst.log).
Regards.
Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The messages 'No se hace nada para ...' in the inst.log file indicate that you may have performed an earlier build and install using the GNU compilers. The build process probably found the object and library files produced from the earlier run, decided that not much needed to be built.
Do a 'make clean', delete the config.status and config.log files and, after setting the Intel compilers' needed environment, try again.
Do a 'make clean', delete the config.status and config.log files and, after setting the Intel compilers' needed environment, try again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.... that worked....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi - I am trying to do something similar but with netcdf-4.1.3 and the intel64 compilers
However, I keep getting errors like these
icpc: command line error: no files specified; for help type "icpc -help"
icc: command line error: no files specified; for help type "icc -help"
ifort: command line error: no files specified; for help type "ifort -help
(.text+0x3a3): undefined reference to `idna_strerror'
(.text+0xdd5): undefined reference to `tld_strerror'
(.text+0x381): undefined reference to `gnutls_strerror'
Thanks for any help you can give me
YMN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
show us your env vars for CC, CXX, CFLAGS, etc. and configure line, please.
thanks
ron
thanks
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also what version of the Intel compilers, what OS distro and version, and what gcc version? the errors at first glance look like you have an Intel compiler version that is incompatible with the gcc you are using.
ron
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ron,
Here are answers to both your posts:
The included file env.txt shows my environment variables
I am running Debian "squeeze" with kernel2.6.32-5-amd64
gcc 4.4.5-8
intel compiler is 11.1/073 intel64 version
The configure line is
./configure --prefix=/opt --disable-netcdf-4
I also uploaded config.log and config.status
Thank you
Sorry - I forgot to attach env.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm pretty sure that version of the compiler is too old to work with Deb Squeeze and gcc 4.4.5. If you're licensed, you can download the latest 12.0 version.
I can give it a try with 12.0 and see what happens. We have heard that even 12.0 has issues building the latest netcdf.
it will take us a little while to run some test builds.
ron
I can give it a try with 12.0 and see what happens. We have heard that even 12.0 has issues building the latest netcdf.
it will take us a little while to run some test builds.
ron
![](/skins/images/872293744008A34B36F8ABF94A46CC66/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page