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.
> Hi, > > I have a user that would like me to compile netcdf with lf95 fortran, .. > and since I'm emailing you, its not working. It appears that lf95 > prefers to compile with source file before the arguments, instead of > after the arguments. > > [root@naomilx f90]# lf95 netcdf_dims.f90 -c -Wa, --32 > 2038-S: "netcdf_dims.f90", line 39: 'nf90_max_name' cannot be > specified in a specification expression. > 2005-W: "netcdf_dims.f90", line 39: 'nf90_max_name' is used but > never set. > Encountered 1 error, 1 warning in file netcdf_dims.f90. > > [root@naomilx f90]# lf95 -c -Wa, --32 netcdf_dims.f90 > ERROR -- No source or object files specified. > > My question .. is netcdf lf95 compatible, and if so can you give me hint > on how to install it? > > Howdy! Try setting CPPFLAGS to -DNAGf90Fortran Then run configure && make check If it does not work, send me the complete ouput. (Yes, it is lengthy, but please send it all!) THanks! Ed Hartnett Ticket Details =================== Ticket ID: OWQ-161180 Department: Support netCDF Priority: Normal Status: Open