> I found ncgen in both /usr/local/bin and /usr/bin directories. > > I have uninstalled previous netcdf release and installed the latest 184.108.40.206 > version. Now still the /usr/bin/ncgen points to netcdf4.0? shouldn't it be > linked to latest verison? > Also I just removed ncgen from /usr/bin and reinstalled netcdf220.127.116.11 but > now no ncgen is made in /usr/bin When you build netcdf and run "make install", it installs ncgen in the bin/ subdirectory of whatever directory you specified with the --prefix= option to the configure script. If you didn't specify an installation locatation with --prefix, the default is /usr/local, so it would have been installed in /usr/local/lib/ncgen. You can check the creation dates on the files in /usr/bin and /usr/local/bin with ls -l /usr/bin/ncgen /usr/local/bin to see what was just installed and what is jus an old file from a previous installation. > address@hidden nco-4.1.0]# /usr/bin/ncgen -h /usr/bin/ncgen: invalid option -- > h ncgen: -: Usage: ncgen [ -b ] [ -c ] [ -f ] [ -k kind ] [ -x ] [ -o > outfile] [ file ... ] ncgen: -: netcdf library version 4.0 of Apr 16 2009 > 00:02:06 $ That shows that you still have an old version of ncgen in /usr/bin, but it was not installed from netcdf-18.104.22.168 ... --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UWL-778089 Department: Support netCDF 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.