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.
Daniel, > I switched to gcc and used the following configure. I didn't realize the > enable switches are ignored during the build process. > > ./configure --prefix=/var/local/udunits --enable-f77 --enable-f90 > CPPFLAGS=-Df2cFortran > > The udunits built successfully and most of all I got rid of the syntax > error problem during execution. That's a pleasant surprise. > However, a "double" field in the netcdf > file would not be read in correctly by my program. So, I used gcc and > ifort and remade the netcdf libraries as well. I am not sure this was > needed because that didn't fix this "double" problem either. Once I > declared the variable I was reading in as real*8 in my fortran program > this got fixed. The PGI compilers didn't require such declarations. > > I am finally able to read the files I used to read routinely. Great! It would appear, therefore, that the icc(1) compiler is suspect. > Thanks for all your help, Hey, *you* solved the problem. > Daniel Regards, Steve Emmerson Ticket Details =================== Ticket ID: NDS-204592 Department: Support UDUNITS Priority: Normal Status: Closed