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.
Dear Prosenjit Chatterjee, >Date: Fri, 3 Sep 2004 05:02:35 -0700 (PDT) >From: Prosenjit Chatterjee <address@hidden> >Organization: Jadavpur University >To: address@hidden >Subject: Re: 20040902: installing netCDF on RH Linux 9 using pgf90 > Keywords: 200408271505.i7RF5VXn028251 The above message contained the following: > Thank you for answering. I download > netCDF and I set environment for linux pg compiler > case .I configure .It ok. Config.log and Configure.log > files has no error massege.Then I do > make >&make.log& > It ok.Make.log has no error massege. Then I do > make test >&make.test.log& > It gives one error massege. > Then I do > make install > It give no error massege and create directories > bin,lib,include,man. > Is it ok? Can I do any work using NETCDF? I > coppy important portion of make.test.log here .Please > help me. > Prosenjit Chatterjee ... Your netCDF installation is OK except for the Fortran-90 interface: > Making `test' in directory > /home1/mm5v3/WRF/NETCDF/netcdf-3.5.1/src/f90 > > > make[2]: Entering directory > `/home1/mm5v3/WRF/NETCDF/netcdf-3.5.1/src/f90' > ./netcdf_test > example_good.cdl example.cdl differ: byte 881, line 37 > *** Failure *** > *** example_good.cdl 2004-04-07 22:36:30.000000000 > +0530 > --- example.cdl 2004-04-08 02:51:05.000000000 +0530 > *************** > *** 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 ... The above indicates that you are using version 5.1 of the Portland Group Fortran-90 compiler (pgf90). This compiler does not correctly handle array sections as arguments. Information on the bug and a URL for the fix can be found at http://my.unidata.ucar.edu/cgi-bin/getfile?file=/content/support/help/MailArchives/netcdf/msg02431.html If you will not use the Fortran-90 interface, then you can safely use the netCDF library; otherwise, you should fix your pgf90 and rebuild and reinstall the netCDF package. Regards, Steve Emmerson