[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #VGX-202851]: Error: netcdf.inc



Hello,

Unfortunately I don't know enough about WRF's packaging/build system, so I 
can't speak as to what might be going wrong.  What version of netCDF-C and 
netCDF-Fortran are WRF trying to build?  Additionally, as it is complaining 
that `/home/fahad/Documents/WRF/WRFV3/netcdf_links/include/netcdf.inc`.  Does 
this file exist, or is it correct that the file is not there?

You may have better luck contacting the WRF development/support team, but if 
you can answer the questions above I will do my best to provide any insight 
that I can.

Thank you,

-Ward


> Full Name: Madhu Atyam
> Email Address: address@hidden
> Organization: Saudi Geophysical Consulting Co
> Package Version: 4.4.1
> Operating System: ubuntu
> Hardware:
> Description of problem: Hi support!
> 
> I am trying to configure the WRF and while doing it, i am stuck with this 
> error.
> 
> Error : Not found 
> /home/fahad/Documents/WRF/WRFV3/netcdf_links/include/netcdf.inc
> Please check this installation of NetCDF and re-run this configure script
> 
> Could you please help me. Please find the below config log for your 
> assessment,
> 
> fahad@fahad-Satellite-L745:~/Documents/WRF/WRFV3$ ./configure
> checking for perl5... no
> checking for perl... found /usr/bin/perl (perl)
> ** There is an existing ./netcdf_links file. Should I use? [y]
> y
> Will use NETCDF in dir: /home/fahad/Documents/WRF/WRFV3/netcdf_links
> HDF5 not set in environment. Will configure WRF for use without.
> PHDF5 not set in environment. Will configure WRF for use without.
> Will use 'time' to report timing information
> $JASPERLIB or $JASPERINC not found in environment, configuring to build 
> without grib2 I/O...
> ------------------------------------------------------------------------
> Please select from among the following Linux x86_64 options:
> 
> 1. (serial)   2. (smpar)   3. (dmpar)   4. (dm+sm)   PGI (pgf90/gcc)
> 5. (serial)   6. (smpar)   7. (dmpar)   8. (dm+sm)   PGI (pgf90/pgcc): SGI MPT
> 9. (serial)  10. (smpar)  11. (dmpar)  12. (dm+sm)   PGI (pgf90/gcc): PGI 
> accelerator
> 13. (serial)  14. (smpar)  15. (dmpar)  16. (dm+sm)   INTEL (ifort/icc)
> 17. (dm+sm)   INTEL (ifort/icc): Xeon Phi (MIC architecture)
> 18. (serial)  19. (smpar)  20. (dmpar)  21. (dm+sm)   INTEL (ifort/icc): Xeon 
> (SNB with AVX mods)
> 22. (serial)  23. (smpar)  24. (dmpar)  25. (dm+sm)   INTEL (ifort/icc): SGI 
> MPT
> 26. (serial)  27. (smpar)  28. (dmpar)  29. (dm+sm)   INTEL (ifort/icc): IBM 
> POE
> 30. (serial)               31. (dmpar)                PATHSCALE 
> (pathf90/pathcc)
> 32. (serial)  33. (smpar)  34. (dmpar)  35. (dm+sm)   GNU (gfortran/gcc)
> 36. (serial)  37. (smpar)  38. (dmpar)  39. (dm+sm)   IBM (xlf90_r/cc_r)
> 40. (serial)  41. (smpar)  42. (dmpar)  43. (dm+sm)   PGI (ftn/gcc): Cray XC 
> CLE
> 44. (serial)  45. (smpar)  46. (dmpar)  47. (dm+sm)   CRAY CCE (ftn/cc): Cray 
> XE and XC
> 48. (serial)  49. (smpar)  50. (dmpar)  51. (dm+sm)   INTEL (ftn/icc): Cray XC
> 52. (serial)  53. (smpar)  54. (dmpar)  55. (dm+sm)   PGI (pgf90/pgcc)
> 56. (serial)  57. (smpar)  58. (dmpar)  59. (dm+sm)   PGI (pgf90/gcc): 
> -f90=pgf90
> 60. (serial)  61. (smpar)  62. (dmpar)  63. (dm+sm)   PGI (pgf90/pgcc): 
> -f90=pgf90
> 64. (serial)  65. (smpar)  66. (dmpar)  67. (dm+sm)   INTEL (ifort/icc): 
> HSW/BDW
> 68. (serial)  69. (smpar)  70. (dmpar)  71. (dm+sm)   INTEL (ifort/icc): KNL 
> MIC
> 
> Enter selection [1-71] : 34
> ------------------------------------------------------------------------
> Compile for nesting? (1=basic, 2=preset moves, 3=vortex following) [default 
> 1]: 1
> 
> Configuration successful!
> ------------------------------------------------------------------------
> testing for MPI_Comm_f2c and MPI_Comm_c2f
> MPI_Comm_f2c and MPI_Comm_c2f are not supported
> testing for fseeko and fseeko64
> fseeko64 is supported
> ------------------------------------------------------------------------
> 
> # Settings for    Linux x86_64 ppc64le, gfortran compiler with gcc   (dmpar)
> #
> DESCRIPTION     =       GNU ($SFC/$SCC)
> DMPARALLEL      =        1
> OMPCPP          =       # -D_OPENMP
> OMP             =       # -fopenmp
> OMPCC           =       # -fopenmp
> SFC             =       gfortran
> SCC             =       gcc
> CCOMP           =       gcc
> DM_FC           =       mpif90 -f90=$(SFC)
> DM_CC           =       mpicc -cc=$(SCC)
> FC              =       time $(DM_FC)
> CC              =       $(DM_CC) -DFSEEKO64_OK
> LD              =       $(FC)
> RWORDSIZE       =       $(NATIVE_RWORDSIZE)
> PROMOTION       =       #-fdefault-real-8
> ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_SUBR  -DWRF_USE_CLM
> CFLAGS_LOCAL    =       -w -O3 -c
> LDFLAGS_LOCAL   =
> CPLUSPLUSLIB    =
> ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
> FCOPTIM         =       -O2 -ftree-vectorize -funroll-loops
> FCREDUCEDOPT  =       $(FCOPTIM)
> FCNOOPT               =       -O0
> FCDEBUG         =       # -g $(FCNOOPT) # -ggdb -fbacktrace 
> -fcheck=bounds,do,mem,pointer -ffpe-trap=invalid,zero,overflow
> FORMAT_FIXED    =       -ffixed-form
> FORMAT_FREE     =       -ffree-form -ffree-line-length-none
> FCSUFFIX        =
> BYTESWAPIO      =       -fconvert=big-endian -frecord-marker=4
> FCBASEOPTS_NO_G =       -w $(FORMAT_FREE) $(BYTESWAPIO)
> FCBASEOPTS      =       $(FCBASEOPTS_NO_G) $(FCDEBUG)
> MODULE_SRCH_FLAG =
> TRADFLAG        =      -traditional
> CPP             =      /lib/cpp -P
> AR              =      ar
> ARFLAGS         =      ru
> M4              =      m4 -G
> RANLIB          =      ranlib
> RLFLAGS               =
> CC_TOOLS        =      $(SCC)
> 
> ###########################################################
> ######################
> # POSTAMBLE
> 
> FGREP = fgrep -iq
> 
> ARCHFLAGS       =    $(COREDEFS) -DIWORDSIZE=$(IWORDSIZE) 
> -DDWORDSIZE=$(DWORDSIZE) -DRWORDSIZE=$(RWORDSIZE) -DLWORDSIZE=$(LWORDSIZE) \
> $(ARCH_LOCAL) \
> $(DA_ARCHFLAGS) \
> -DDM_PARALLEL \
> \
> -DNETCDF \
> \
> \
> \
> \
> \
> \
> \
> \
> \
> \
> -DUSE_ALLOCATABLES \
> -DGRIB1 \
> -DINTIO \
> -DKEEP_INT_AROUND \
> -DLIMIT_ARGS \
> -DCONFIG_BUF_LEN=$(CONFIG_BUF_LEN) \
> -DMAX_DOMAINS_F=$(MAX_DOMAINS) \
> -DMAX_HISTORY=$(MAX_HISTORY) \
> -DNMM_NEST=$(WRF_NMM_NEST)
> CFLAGS          =    $(CFLAGS_LOCAL) -DDM_PARALLEL  \
> -DMAX_HISTORY=$(MAX_HISTORY) -DNMM_CORE=$(WRF_NMM_CORE)
> FCFLAGS         =    $(FCOPTIM) $(FCBASEOPTS)
> ESMF_LIB_FLAGS  =
> # ESMF 5 -- these are defined in esmf.mk, included above
> ESMF_IO_LIB     =    -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time
> ESMF_IO_LIB_EXT =    -L$(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 -lesmf_time
> INCLUDE_MODULES =    $(MODULE_SRCH_FLAG) \
> $(ESMF_MOD_INC) $(ESMF_LIB_FLAGS) \
> -I$(WRF_SRC_ROOT_DIR)/main \
> -I$(WRF_SRC_ROOT_DIR)/external/io_netcdf \
> -I$(WRF_SRC_ROOT_DIR)/external/io_int \
> -I$(WRF_SRC_ROOT_DIR)/frame \
> -I$(WRF_SRC_ROOT_DIR)/share \
> -I$(WRF_SRC_ROOT_DIR)/phys \
> -I$(WRF_SRC_ROOT_DIR)/chem -I$(WRF_SRC_ROOT_DIR)/inc \
> -I$(NETCDFPATH)/include \
> 
> REGISTRY        =    Registry
> CC_TOOLS_CFLAGS = -DNMM_CORE=$(WRF_NMM_CORE)
> 
> LIB_BUNDLED     = \
> $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5/libfftpack.a \
> $(WRF_SRC_ROOT_DIR)/external/io_grib1/libio_grib1.a \
> $(WRF_SRC_ROOT_DIR)/external/io_grib_share/libio_grib_share.a \
> $(WRF_SRC_ROOT_DIR)/external/io_int/libwrfio_int.a \
> $(ESMF_IO_LIB) \
> $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a \
> $(WRF_SRC_ROOT_DIR)/frame/module_internal_header_util.o \
> $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
> 
> LIB_EXTERNAL    = \
> -L$(WRF_SRC_ROOT_DIR)/external/io_netcdf -lwrfio_nf 
> -L/home/fahad/Documents/WRF/WRFV3/netcdf_links/lib
> 
> LIB             =    $(LIB_BUNDLED) $(LIB_EXTERNAL) $(LIB_LOCAL) 
> $(LIB_WRF_HYDRO)
> LDFLAGS         =    $(OMP) $(FCFLAGS) $(LDFLAGS_LOCAL)
> ENVCOMPDEFS     =
> WRF_CHEM      =       0
> CPPFLAGS        =    $(ARCHFLAGS) $(ENVCOMPDEFS) -I$(LIBINCLUDE) $(TRADFLAG)
> NETCDFPATH      =    /home/fahad/Documents/WRF/WRFV3/netcdf_links
> HDF5PATH        =
> WRFPLUSPATH     =
> PNETCDFPATH     =
> 
> bundled:  io_only
> external: io_only $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a 
> gen_comms_rsllite module_dm_rsllite $(ESMF_TARGET)
> io_only:  esmf_time wrfio_nf   \
> wrf_ioapi_includes wrfio_grib_share wrfio_grib1 wrfio_int fftpack
> 
> 
> ######################
> ------------------------------------------------------------------------
> Settings listed above are written to configure.wrf.
> If you wish to change settings, please edit that file.
> If you wish to change the default options, edit the file:
> arch/configure_new.defaults
> 
> Error : Not found 
> /home/fahad/Documents/WRF/WRFV3/netcdf_links/include/netcdf.inc
> Please check this installation of NetCDF and re-run this configure script
> 
> ./configure: 720: exit: Illegal number: -1
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: VGX-202851
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.