Building netcdf with pgf90 on Opteron x86-64

Hi,

Here is the build script showing bad F90 test results from a netcdf build on an opteron system with pgf90 for x86-64. Any suggestions?
C and F77 interfaces seems to build fine with pgcc and pgf90.

Thanks,
Charlie

zender@sand:/data/zender/tmp/netcdf-3.5.1/src$ pgf90 -V
pgf90 5.1-3

wget ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf.tar.Z .
mv -f netcdf.tar.Z netcdf-3.5.1.tar.Z
gunzip netcdf-3.5.1.tar.Z
tar xvf netcdf-3.5.1.tar
cd ${DATA}/tmp/netcdf-3.5.1/src
make distclean
export GNU_TRP=`~/nco/autobld/config.guess`
export CC='pgcc'
export CXX='pgCC'
export CPPFLAGS='-DNDEBUG -DpgiFortran'
export CFLAGS='-O -g'
export FC='pgf90'
export F90='pgf90'
export FFLAGS='-O -g'
./configure --prefix=/usr/local > netcdf.configure.${GNU_TRP}.foo 2>&1
make
make test
...
Making `test' in directory /data/zender/tmp/netcdf-3.5.1/src/f90

make[2]: Entering directory `/data/zender/tmp/netcdf-3.5.1/src/f90'
pgf90 -o netcdf_test netcdf_test.f90 netcdf.o typeSizes.o ../libsrc/libnetcdf.a
netcdf_test.f90:
./netcdf_test
example_good.cdl example.cdl differ: byte 881, line 37
*** Failure ***
*** example_good.cdl    2000-04-05 12:33:14.000000000 -0700
--- example.cdl 2004-04-19 14:34:59.000000000 -0700
***************
*** 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]: *** [test] Error 1
make[2]: Leaving directory `/data/zender/tmp/netcdf-3.5.1/src/f90'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/data/zender/tmp/netcdf-3.5.1/src'
make: *** [f90/test] Error 2
zender@sand:/data/zender/tmp/netcdf-3.5.1/src$ ls

--
Charlie Zender, surname@xxxxxxx, (949) 824-2987, Department of Earth
System Science, University of California, Irvine CA 92697-3100



  • 2004 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: