[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20031208: Installing NetCDF 3.5.1 beta13 failed with "make test" by using pgf90 and gcc, g++ on RedHat Enterprise 3 WS ( gcc version 3.2.3)
- Subject: 20031208: Installing NetCDF 3.5.1 beta13 failed with "make test" by using pgf90 and gcc, g++ on RedHat Enterprise 3 WS ( gcc version 3.2.3)
- Date: Mon, 08 Dec 2003 14:48:14 -0700
Yongtao Hu,
> To: address@hidden
> From: Yongtao Hu <address@hidden>
> Subject: Installing NetCDF 3.5.1 beta13 failed with "make test" by using
> pgf90 and gcc, g++ on RedHat Enterprise 3 WS ( gcc version 3.2.3)
> Organization: Georgia Tech
> Keywords: netCDF RedHat Linux gcc g++ PGF90
The above message contained the following:
> I listed A through H for the conveniecen.
>
> A. uname -a
> Linux hapi.ce.gatech.edu 2.4.21-4.0.1.ELsmp #1 SMP Thu Oct 23 01:21:42 EDT
> 2003 i686 athlon i386 GNU/Linux
> B. VERSION
> 3.5.1-beta13
> C, E, F, G, H are attchaed for check.
>
> Thanks in advance for your help.
>
> Yongtao
...
You used the following settings:
CC=/usr/bin/gcc
CPPFLAGS='-DNDEBUG -DpgiFortran'
CFLAGS=-O
FC=/export/drive5/usr_local/pgi/linux86/5.1/bin/pgf90
FFLAGS='-O -w'
CXX=/usr/bin/g++
These settings correspond to a Linux example in the file "INSTALL.html";
hence, they should work -- but the "make test" fails for the Fortran-90
interface:
> Making `test' in directory
> /export/drive5/usr_local/netcdf-3.5.1-beta13/src/f90
>
> make[2]: Entering directory
> `/export/drive5/usr_local/netcdf-3.5.1-beta13/src/f9
> 0'
> /export/drive5/usr_local/pgi/linux86/5.1/bin/pgf90 -o netcdf_test -O -w
> netcdf_
> test.f90 netcdf.o typeSizes.o ../libsrc/libnetcdf.a
> ./netcdf_test
> example_good.cdl example.cdl differ: byte 881, line 37
> *** Failure ***
> *** example_good.cdl 2000-04-05 15:33:14.000000000 -0400
> --- example.cdl 2003-12-08 13:01:58.000000000 -0500
> ***************
> *** 34,43 ****
> 953, 954, 955,
> 956, 957, 958,
> 959, 960, 961,
> ! 962, 963, 964,
> ! 965, 966, 967,
> ! 968, 969, 970,
> ! 971, 972, 973 ;
>
> lat = -90, -87.5, -85, -82.5 ;
>
> --- 34,43 ----
> 953, 954, 955,
> 956, 957, 958,
> 959, 960, 961,
> ! 950, 951, 952,
> ! 953, 954, 955,
> ! 956, 957, 958,
> ! 959, 960, 961 ;
>
> lat = -90, -87.5, -85, -82.5 ;
>
> make[2]: Leaving directory
> `/export/drive5/usr_local/netcdf-3.5.1-beta13/src/f90
> '
> make[1]: Leaving directory `/export/drive5/usr_local/netcdf-3.5.1-beta13/src'
This is the only error in the "test.log" file.
The Fortran-90 layer is unable to correctly create a netCDF file -- yet
it only invokes the Fortran-77 interface and that layer checked-out OK.
We have never seen this problem before and I have been unable to
duplicate the failure here.
There are some differences between our two systems, however:
1. You're running Linux 2.4.21-4.0.1.ELsmp but we're running
Linux 2.4.18-14smp;
2. Your version of the gcc compiler is 3.2.3 but our's is 3.2-7.
3. Your version of the pgf90 compiler is 5.1 but our's is 4.0-2.
It is possible that the more recent version of the PGI Fortran-90
compiler has a bug. Do you need the Fortran-90 interface?
Regards,
Steve Emmerson