hi,
when i run ncgen,the error:
ncgen: Command not found.
when i run :
which ncdump
ncdump: Command not found.
which ncgen
ncgen: Command not found.
however my linux server has an netcdf library,and it has ncdump and ncgen files
how to solve it?
thanks a lot!
How to setup ncgen?
Re: How to setup ncgen?
add the path where ncdump is in your ~home/.profile
Re: How to setup ncgen?
Thank you very much!
I know yur mean. However, what's the command format? Can you tell me an example?
Thanks a lot!
I know yur mean. However, what's the command format? Can you tell me an example?
Thanks a lot!
Re: How to setup ncgen?
Code: Select all
PATH=$PATH:home/thingumajig/netcdf_dir/bin
export PATH
Add these lines to your:
Code: Select all
$HOME/.profile
Code: Select all
$HOME/.bashrc
export PATH is probably already in there. In that case, just add the first line.
then from the command line
Code: Select all
source .profile (or .bashrc)
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: How to setup ncgen?
ncdump and ncgen are programs from the NetCDF library and not ROMS You need to find out where are those programs installed in you computer. There is plenty information in the wiki and in this forum about the NetCDF library.
You need to do some reading. You need to understand NetCDF pretty well before attempting to runs ROMS.
You need to do some reading. You need to understand NetCDF pretty well before attempting to runs ROMS.