Charlie,
>Date: Mon, 19 Apr 2004 21:17:42 -0700
>From: Charlie Zender <zender@xxxxxxx>
>Organization: University of California at Irvine
>To: netCDF Mail List <netcdfgroup@xxxxxxxxxxxxxxxx>
>Subject: Building netcdf with pgf90 on Opteron x86-64
The above message contained the following:
> 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.
Believe it or not, there's a bug in pgf90. You'll need to patch it in
order to remove the bug and have a successful "make test".
The necessary information can be found at
http://www.unidata.ucar.edu/cgi-bin/msgout?/glimpse/netcdf/5657
Zot!
> Thanks,
> Charlie
...
> 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
Regards,
Steve Emmerson