[RegCNET] installation problem with NetCDF

chao.tang chao.tang at univ-reunion.fr
Wed Mar 4 11:53:04 CET 2015


Dear Saeed,


Thanks for your help, Saeed.
While I have already tried to use gfortran and gcc, nothing changed and the same error remains.

Any other suggestion?

Nice day.



Best regards,
Chao TANG
-------------------------------------------------------------------------------------------------
Laboratoire d'Energétique, d'Electronique et Procédés 
Unité de Recherche EA 4079 
Université de La Réunion, LE2P
15 avenue René Cassin CS 92003
97744 ST DENIS CEDEX 9
Mobile: 0693 91 57 38 <mailto:secretariat.le2p at univ-reunion.fr>
Courriel: chao.tang at univ-reunion.fr  <mailto:secretariat.le2p at univ-reunion.fr>
-------------------------------------------------------------------------------------------------

> On Mar 4, 2015, at 11:55 AM, saeed bayat <saeedbayat7276 at gmail.com> wrote:
> 
> Dear Chao
> It 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=gcc
> 
> Good Luck
> 
> On Wed, Mar 4, 2015 at 10:01 AM, chao.tang <chao.tang at univ-reunion.fr <mailto:chao.tang at 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... yes
> checking netcdf.h presence... yes
> checking for netcdf.h... yes
> configure: checking for libnetcdf.a...
> checking for nc_close in -lnetcdf... no
> configure: checking if we need to link jpeg library for HDF4...
> checking for nc_enddef in -lnetcdf... no
> configure: checking if we need to link hdf5 library...
> checking for nc_sync in -lnetcdf... no
> configure: checking if we need to link szlib library...
> checking for nc_inq_libvers in -lnetcdf... no
> configure: 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 4079 
> Université de La Réunion, LE2P
> 15 avenue René Cassin CS 92003
> 97744 ST DENIS CEDEX 9
> Mobile: 0693 91 57 38 <mailto:secretariat.le2p at univ-reunion.fr>
> Courriel: chao.tang at univ-reunion.fr  <mailto:secretariat.le2p at univ-reunion.fr>
> -------------------------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it <mailto:RegCNET at lists.ictp.it>
> https://lists.ictp.it/mailman/listinfo/regcnet <https://lists.ictp.it/mailman/listinfo/regcnet>
> 
> 
> 
> -- 
> Abdolhalim Bayat
> Ph.D Student of Synoptic Climatology
> Tehran University of Iran

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20150304/3099b8a8/attachment-0001.html>


More information about the RegCNET mailing list