Dear Saeed,
for your problem just be sure that you install zlib, hdf5, mpi and netcdf. As you mentioned that your netcdf path is /usr/local so I supposed you install the hdf5 at the same path. So if I am correct then write the following line for your configuration;
./configure CC=gcc FC=gfortran CPPFLAGS=-I/usr/local/include  LDFLAGS=-L/usr/local/lib LIBS="-lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz -lm -ldl"
if there is any problem let me know.
hope this is helpful
Regards


On Sat, Nov 22, 2014 at 10:19 PM, saeed bayat <saeedbayat7276@gmail.com> wrote:
Dear RegCM Users
I want to install RegCM-4.4.3 on ubuntu 14.04. when I type : ./configure FC=gfortran CC=gcc, I face to a problem which indicate the model could not find netcdf library. I have installed netcdf-4.1.1 and 4.3.2 on /usr/local/bin path. I would be grateful if someone respond me to solve this.

Thanks in Advance

--
Abdolhalim Bayat
Ph.D Student of Synoptic Climatology
Tehran University of Iran

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



--
Researcher, Center of Excellence for Climate Change Research (CECCR)
King Abdulaziz University
P. O. Box 80234, Jeddah 21589,
Saudi Arabia
E-mail: miomar@kau.edu.sa & egy_mohamad@yahoo.com
Cell Phone : +966537820074