[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20040205: netcdf with intel compilers version8 ?



Jean-guillame,

> To: address@hidden
> From: Jean-guillaume Piccinali <address@hidden>
> Subject: netcdf with intel compilers version8 ?
> Organization: Bull S.A.
> Keywords: 200402051305.i15D5Np1027955 netCDF Intel

The above message contained the following:

> I am trying to use netcdf with intel compilers version8 on a Linux PC
> (32 bits).
> Test are failing. Could you help ?
> 
> Linux gutfreud.frec.bull.fr 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003
> i686 i686 i386 GNU/Linux
> Red Hat Linux release 9 (Shrike)
> 
> VERSION = 3.5.1-beta13
> 
> /opt/envhpc/intel/bin/ifort
> /opt/envhpc/intel/bin/icc
> Intel(R) Fortran Compiler for 32-bit applications, Version 8.0   Build
> 20031231Z Package ID: l_fc_pc_8.0.039
> Intel(R) C++ Compiler for 32-bit applications, Version 8.0   Build
> 20031231Z Package ID: l_cc_pc_8.0.058
> Intel(R) C++ Compiler for 32-bit applications, Version 8.0   Build
> 20031231Z Package ID: l_cc_pc_8.0.058
> 
> 
> -- 
> 
> ---
> JG. Piccinali (B1 346)                 TEL 04 76 29 73 69
...

> Making `test' in directory /home/piccinjg/TEST/netcdf-3.5.1-beta13/src/nc_test
> 
> make[2]: Entre dans le r<C3><A9>pertoire 
> `/home/piccinjg/TEST/netcdf-3.5.1-beta1
> 3/src/nc_test'
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran nc_test.c
> nc_test.c(115): warning #266: function declared implicitly
>       while ((c = getopt(argc, argv, "chrvn:")) != EOF)
>                   ^
> 
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran error.c
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran test_get.c
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran test_put.c
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran test_read.c
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran test_write.c
> icc -c -O -I../libsrc  -DNDEBUG -DpgiFortran util.c
> icc -o nc_test -O  nc_test.o error.o test_get.o test_put.o test_read.o 
> test_writ
> e.o util.o -L../libsrc -lnetcdf  
> ./nc_test -c
> ./nc_test
> *** Testing nc_strerror ... ok
> *** Testing nc_open ... ok
> *** Testing nc_close ... ok
...
> *** Testing nc_put_var_float ... 
>         FAILURE at line 2831 of test_put.c: Numeric conversion not 
> representable
>         FAILURE at line 2878 of test_put.c: Numeric conversion not 
> representable
>         FAILURE at line 697 of test_put.c: Var value read not that expected
>         FAILURE at line 697 of test_put.c: Var value read not that expected
>         FAILURE at line 697 of test_put.c: Var value read not that expected
>         FAILURE at line 697 of test_put.c: Var value read not that expected
>  1194 good comparisons. 
>         ### 6 FAILURES TESTING nc_put_var_float! ###
> *** Testing nc_put_var_double ...  1207 good comparisons. ok

I suspect that your "make test" problems are due to the icc(1) compiler
not correctly handling the extreme-value floating-point numbers that
are used in the test.  I suggest that you execute the "make install"
command to install the netCDF package and then test it with some of your
own netCDF files.  If you do not have any problems, then the netCDF
installation is probably correct.

Please let me know what you discover.

Regards,
Steve Emmerson