What is the version of your netcdf. If it isn't netcdf-4-* , I suggest you to install netcdf4 with f90 support.If you installed it, please give PATH and LD_LIBRARY_PATH to its binary and library directories.
At last, please check that sh( it is a unix platform like bash) is installed in your pc.

Best wishes

On Mon, Sep 17, 2012 at 3:33 PM, 小鱼 <1462914557@qq.com> wrote:
Dear all,
I have some problems now with compiling the RegCM-4.1.1
And here is what is shown on the terminal when I  "./configure" :
 ./configure
                #######################################
                # Welcome to the RegCM configuration! #
                #######################################
        This script will help you to setup the RegCM distribution
        with some simple questions. Default options [between square brackets]
        will be assumed if you don't select valid options.
  ****  Please enter the path to your RegCM distribution:
        [ /export/chenhua/regcm/RegCM-4.1.1 ]
        regcm_root =
        Assuming default path as RegCM root...
  ****  Please enter the path where the RegCM binaries will be stored:
        [ /export/chenhua/regcm/RegCM-4.1.1/Bin ]
        bin_dir =
        Assuming default path for RegCM binaries...
sh: nc-config: command not found
sh: nc-config: command not found
        Unable to find a working NetCDF. Please input a valid path...
        For NetCDF library = /export/chenhua/regcm/netcdff/lib
        For NetCDF include files = /export/chenhua/regcm/netcdff/include
        NetCDF library found...
sh: nc-config: command not found
  !!!!  The following options are all documented in detail
        on the eForge wiki page and in the RegCM Users' Guide,
        so please check there for more information.
 
 
I just do not know why there would be  "sh: nc-config: command not found
sh: nc-config: command not found  "    .
So could anyone help me ! I badly need your help! Thanks!

_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo.cgi/regcnet