[Met_help] [rt.rap.ucar.edu #68987] History for Not able to compile
Julie Prestopnik via RT
met_help at ucar.edu
Mon Sep 29 14:07:46 MDT 2014
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hello,
I downloaded the latest version and I am unable to compile this
at all.
Here are the errors - first it appears that there is an error in this
directory - nc_var_inco.cc which includes netcdf.hh. I believe it should be
netcdf.h. Please let me know if that is accurate or not. When I fix that I
get these errors -
Regards,
Ashwin.
make[3]: Entering directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
icpc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/basic/vx_cal
-I../../../src/basic/vx_config -I../../../src/basic/vx_log
-I../../../src/basic/vx_math -I../../../src/basic/vx_util
-I../../../src/libcode/vx_afm -I../../../src/libcode/vx_analysis_util
-I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
-I../../../src/libcode/vx_data2d_factory
-I../../../src/libcode/vx_data2d_grib
-I../../../src/libcode/vx_data2d_grib2
-I../../../src/libcode/vx_data2d_nccf
-I../../../src/libcode/vx_data2d_nc_met
-I../../../src/libcode/vx_data2d_nc_pinterp
-I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
-I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
-I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
-I../../../src/libcode/vx_pb_util -I../../../src/libcode/vx_plot_util
-I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
-I../../../src/libcode/vx_render -I../../../src/libcode/vx_shapedata
-I../../../src/libcode/vx_statistics -I../../../src/libcode/vx_stat_out
-I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
-DMET_BASE="\"/usr/local/share/met\"" -g -MT libvx_nc_util_a-nc_var_info.o
-MD -MP -MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
libvx_nc_util_a-nc_var_info.o `test -f 'nc_var_info.cc' || echo
'./'`nc_var_info.cc
In file included from nc_var_info.cc(24):
nc_var_info.h(24): catastrophic error: cannot open source file "netcdf.hh"
#include <netcdf.hh>
^
compilation aborted for nc_var_info.cc (code 4)
make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
make[3]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/home/aswin/meteorology_project/met-5.0/src/libcode'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/aswin/meteorology_project/met-5.0/src'
make: *** [install-recursive] Error 1
Ashwin.
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Not able to compile
From: Julie Prestopnik
Time: Tue Sep 16 09:58:45 2014
Hi Ashwin.
Thanks for downloading the latest release of MET. I see that you're
having trouble configuring/compiling it. We switched over to using
autoconf for building MET version 5.0. In previous versions, you
edited a
file by hand and then typed "make". Now, you run the configure
script.
Please read through the top-level met-5.0/README file for
instructions
about building MET.
You can set several environment variables to tell the configure script
where to find the dependent libraries. For example, MET_NETCDF tells
it
where to find NetCDF. nc_var_inco.cc should be looking for netcdf.hh.
That's the include file for the C++ interface. There are many
different
ways of compiling NetCDF, and MET expects the C++ interface to be
compiled. There are some instructions for compiling NetCDF for MET
here:
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
Please take a look at the instructions for compiling NetCDF for MET
and at
the top-level met-5.0/README file for instructions about building MET
and
let us know if you continue to experience problems.
Thanks,
Julie
On Mon, Sep 15, 2014 at 11:22 PM, ashwinD12 . via RT
<met_help at ucar.edu>
wrote:
>
> Mon Sep 15 23:22:39 2014: Request 68987 was acted upon.
> Transaction: Ticket created by winash12 at gmail.com
> Queue: met_help
> Subject: Not able to compile
> Owner: Nobody
> Requestors: winash12 at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=68987 >
>
>
> Hello,
> I downloaded the latest version and I am unable to
compile this
> at all.
>
> Here are the errors - first it appears that there is an error in
this
> directory - nc_var_inco.cc which includes netcdf.hh. I believe it
should be
> netcdf.h. Please let me know if that is accurate or not. When I fix
that I
> get these errors -
>
>
>
> Regards,
> Ashwin.
>
> make[3]: Entering directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> icpc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/basic/vx_cal
> -I../../../src/basic/vx_config -I../../../src/basic/vx_log
> -I../../../src/basic/vx_math -I../../../src/basic/vx_util
> -I../../../src/libcode/vx_afm
-I../../../src/libcode/vx_analysis_util
> -I../../../src/libcode/vx_color -I../../../src/libcode/vx_data2d
> -I../../../src/libcode/vx_data2d_factory
> -I../../../src/libcode/vx_data2d_grib
> -I../../../src/libcode/vx_data2d_grib2
> -I../../../src/libcode/vx_data2d_nccf
> -I../../../src/libcode/vx_data2d_nc_met
> -I../../../src/libcode/vx_data2d_nc_pinterp
> -I../../../src/libcode/vx_geodesy -I../../../src/libcode/vx_gnomon
> -I../../../src/libcode/vx_grid -I../../../src/libcode/vx_gsl_prob
> -I../../../src/libcode/vx_nav -I../../../src/libcode/vx_nc_util
> -I../../../src/libcode/vx_pb_util
-I../../../src/libcode/vx_plot_util
> -I../../../src/libcode/vx_ps -I../../../src/libcode/vx_pxm
> -I../../../src/libcode/vx_render -I../../../src/libcode/vx_shapedata
> -I../../../src/libcode/vx_statistics
-I../../../src/libcode/vx_stat_out
> -I../../../src/libcode/vx_tc_util -DBLOCK4 -DWITH_GRIB2
> -DMET_BASE="\"/usr/local/share/met\"" -g -MT libvx_nc_util_a-
nc_var_info.o
> -MD -MP -MF .deps/libvx_nc_util_a-nc_var_info.Tpo -c -o
> libvx_nc_util_a-nc_var_info.o `test -f 'nc_var_info.cc' || echo
> './'`nc_var_info.cc
> In file included from nc_var_info.cc(24):
> nc_var_info.h(24): catastrophic error: cannot open source file
"netcdf.hh"
> #include <netcdf.hh>
> ^
>
> compilation aborted for nc_var_info.cc (code 4)
> make[3]: *** [libvx_nc_util_a-nc_var_info.o] Error 4
> make[3]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode/vx_nc_util'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory
> `/home/aswin/meteorology_project/met-5.0/src/libcode'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/aswin/meteorology_project/met-
5.0/src'
> make: *** [install-recursive] Error 1
>
> Ashwin.
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
More information about the Met_help
mailing list