> I found ncgen in both /usr/local/bin and /usr/bin directories. > > I have uninstalled previous netcdf release and installed the latest 4.2.1.1 > 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 netcdf4.2.1.1 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. > [root@pmd03 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-4.2.1.1 ... --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