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 Bomin, I suggest moving the include option before the file name, as in: f77 -I/usr/local/include simple_xy_rd.f -L/usr/local/lib -lnetcdf That should create an a.out file with the executable. If you want to also name the program something else, you can use a "-o PROGNAME" option. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UAA-745818 Department: Support netCDF Priority: Normal Status: Closed