On Mar 4, 2015, at 11:55 AM, saeed bayat <saeedbayat7276@gmail.com> wrote:Dear ChaoIt seems you have installed gcc and gfortran compilers on your platform, while you defined your compilers as FC=mpif90 CC=mpicc CXX=mpicxx. So in my opinion edit your configuration command as this: ./configure FC=gfortran CC=gccGood LuckOn Wed, Mar 4, 2015 at 10:01 AM, chao.tang <chao.tang@univ-reunion.fr> wrote:Dear All,I got en error when compile RegCM-4.4.5.2, like this:===================================================configure: checking for netcdf.h...checking netcdf.h usability... yeschecking netcdf.h presence... yeschecking for netcdf.h... yesconfigure: checking for libnetcdf.a...checking for nc_close in -lnetcdf... noconfigure: checking if we need to link jpeg library for HDF4...checking for nc_enddef in -lnetcdf... noconfigure: checking if we need to link hdf5 library...checking for nc_sync in -lnetcdf... noconfigure: checking if we need to link szlib library...checking for nc_inq_libvers in -lnetcdf... noconfigure: error: NetCDF library not found===================================================the configure script has found the netcdf.h, which I have indicate the location as argument in command line.But, something is miss in the lib linked by the falgs ‘-lnetcdf’.Any advice is appreciated.I also attached my config.log below.Thanks in advance and have a nice day.Best regards,Chao TANG-------------------------------------------------------------------------------------------------Laboratoire d'Energétique, d'Electronique et Procédés
Unité de Recherche EA 4079Université de La Réunion, LE2P15 avenue René Cassin CS 9200397744 ST DENIS CEDEX 9Mobile: 0693 91 57 38
Courriel: chao.tang@univ-reunion.fr-------------------------------------------------------------------------------------------------
_______________________________________________
RegCNET mailing list
RegCNET@lists.ictp.it
https://lists.ictp.it/mailman/listinfo/regcnet--Abdolhalim BayatPh.D Student of Synoptic ClimatologyTehran University of Iran