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
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.