Ahsan, > After removing ncgen from /usr/bin I installed netcdf220.127.116.11 and it new > ncgen was installed in /usr/local/bin. > But now the ncgen command don't show anything it just remains stuck. Other > netcdf libraries are working but I need to make this ncgen work for > installtion on nco. If you don't provide the name of an input file on the ncgen command-line, it reads from "standard input", which means it could look like it's not doing anything, although it's really waiting for CDL input that you would have to type as input. That's not the way ncgen is typically used. Usually you want to tell it a .cdl file to use as input. --Russ > address@hidden> wrote: > > > > I found ncgen in both /usr/local/bin and /usr/bin directories. > > > > > > I have uninstalled previous netcdf release and installed the latest > > 18.104.22.168 > > > 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 netcdf22.214.171.124 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-126.96.36.199 ... > > > > --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 > > > > > > > > > -- > Engr. Syed Ahsan Ali Bokhari > Electronic Engineer (EE) > Research & Development Division > Pakistan Meteorological Department H-8/2, Islamabad. > Phone # off +92518358714 > Cell # +923155145014 > www.pmd.gov.pk > > 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.