Unidata / netcdf-c

Official GitHub repository for netCDF-C libraries and utilities.
BSD 3-Clause "New" or "Revised" License
512 stars 262 forks source link

netcdf 4.4.0 link issues with intel c compiler #241

Open WardF opened 8 years ago

WardF commented 8 years ago

Originally reported via email. The report is as follows. In short there appears to be an issue post-CDF5 with some of the tests when using the Intel Compiler.

Diagnostic log files are attached for convenience:


on Redhat Scientific Linux System 7.2 with the Intel C compiler 15.0.4, I get the following error messages during 'Cmake check' in nc_test/test-suite.log:

NetCDF: Numeric conversion not representable

This occurs multiple times and always for operations of type: nc_get_schar ncputschar

The system I am running is

Linux XXXX 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 06:09:11 CST 2016 x86_64 x86_64 x86_64 GNU/Linux

and the 64bit version of the Intel Compilers is loaded. As far as I understand from my search on the internet, it has got to do with type conversions, but for schar variables this seems a bit strange to me. The tests in nc_test4 all run fine.

This is my configure line:

./configure \ --prefix=/…somedir… \ --enable-dap \ --enable-netcdf-4 \ --enable-netcdf4 \ --enable-pnetcdf \ --enable-parallel-tests \ --enable-shared \ --enable-static 2>&1 | tee log.config make 2>&1 | tee log.make sed -i 's/mpiexec/srun -N 1/g' grep -lRie 'mpiexec' * make check 2>&1 | tee log.check

By the way, this error doesn't show up with netcdf-4.3.3.1 on the very same system (all tests pass).

Have you seen this beforehand?

edwardhartnett commented 2 years ago

This issue is very old and should probably be closed. At NOAA we build and test netcdf with intel compilers all the time...