This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Chen, >Date: Tue, 09 Mar 2004 14:41:55 +0800 >From: " " <address@hidden> >Organization: ? >To: address@hidden >Subject: Re: 20040305: Fail to install netcdf3.5.1 on RedHat 9.0/PGI5.13 > Keywords: 200403080400.i2840CrV016159 netCDF 3.5.1 build failure The above message contained the following: > Attachments are converted to plain text format. The only problem you had was the following: > Making `test' in directory /home/tools/netcdf-3.5.1/src/f90 > > make[2]: Entering directory `/home/tools/netcdf-3.5.1/src/f90' > pgf90 -o netcdf_test -O2 netcdf_test.f90 netcdf.o typeSizes.o > ../libsrc/libnetc > df.a > ./netcdf_test > example_good.cdl example.cdl differ: byte 881, line 37 > *** Failure *** > *** example_good.cdl 2000-04-06 03:33:14.000000000 +0800 > --- example.cdl 2004-02-22 21:02:40.000000000 +0800 > *************** > *** 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 `/home/tools/netcdf-3.5.1/src/f90' > make[1]: Leaving directory `/home/tools/netcdf-3.5.1/src' This appears to be due to a bug in version 5 of the Portland Group Fortran-90 compiler (pgf90). We are waiting to get that compiler so that we can investigate the bug. In the meantime, your options are 1. Don't build the Fortran-90 interface. Go to the top-level source directory and perform steps 3 through 9 described at http://my.unidata.ucar.edu/content/software/netcdf/INSTALL.html#ReportingProblems During step 5, set the environment variable to the empty string. 2. Wait until we solve the problem. 3. Use a different Fortran-90 compiler. Regards, Steve Emmerson