[Met_help] [rt.rap.ucar.edu #70866] History for The problem of compiling METv4.1 with icc-v11.1

Julie Prestopnik via RT met_help at ucar.edu
Tue Apr 14 09:27:53 MDT 2015


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------

Dear Sir or Madam:
        Now I come up against a difficulty when MET is compiled. The
message reflected is as follows:
       *** Making the Model Evaluation Tools Project ***


*** Finished Making the vx_log Library ***

*** Finished Making the vx_cal Library ***

*** Finished Making the vx_math Library ***

*** Finished Making the vx_util Library ***

*** Finished Making the vx_config Library ***

*** Finished Making the vx_grid Library ***

*** Finished Making the vx_nc_util Library ***

*** Finished Making the vx_data2d Library ***

*** Finished Making the vx_data2d_grib Library ***

*** Finished Making the vx_data2d_nc_met Library ***

*** Finished Making the vx_data2d_nccf Library ***

*** Finished Making the vx_data2d_nc_pinterp Library ***

*** Finished Making the vx_data2d_factory Library ***

*** Finished Making the vx_gsl_prob Library ***

*** Finished Making the vx_gnomon Library ***

*** Finished Making the vx_geodesy Library ***

*** Finished Making the vx_nav Library ***

*** Finished Making the vx_pb_util Library ***

*** Finished Making the vx_afm Library ***

*** Finished Making the vx_ps Library ***

*** Finished Making the vx_color Library ***

*** Finished Making the vx_pxm Library ***

*** Finished Making the vx_render Library ***

*** Finished Making the vx_plot_util Library ***

*** Finished Making the vx_shapedata Library ***

*** Finished Making the vx_statistics Library ***

*** Finished Making the vx_stat_out Library ***

*** Finished Making the vx_analysis_util Library ***

*** Finished Making the vx_tc_util Library ***

*** Finished Making the ensemble_stat Tool ***

*** Finished Making the MODE Tool ***

*** Finished Making the mode_analysis Tool ***

*** Finished Making the pcp_combine Tool ***
icc -o point_stat point_stat.cc point_stat_conf_info.o \
 -Wshadow -static  -DBLOCK4
-DMET_BASE=\"/home/export/base/envisiongrp/envision/users/huangh/METv4.1\" \
 -I/home/export/base/envisiongrp/envision/users/huangh/METv4.1/include
-I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include
-I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//include  \
 -L/home/export/base/envisiongrp/envision/users/huangh/METv4.1/lib
-L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/lib
-L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//lib  \
 -lvx_stat_out \
 -lvx_statistics \
 -lvx_shapedata \
 -lvx_gsl_prob \
 -lvx_analysis_util \
 -lvx_data2d_factory \
 -lvx_data2d_nc_met \
 -lvx_data2d_grib  \
 -lvx_data2d_nc_pinterp \
 -lvx_data2d_nccf \
 -lvx_data2d \
 -lvx_nc_util \
 -lvx_grid \
 -lvx_config \
 -lvx_cal \
 -lvx_util \
 -lvx_math \
 -lvx_color \
 -lvx_log \
 -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \

/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(39):
error: identifier "NC_INT" is undefined
    ncInt = NC_INT,
            ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(46):
error: identifier "NC_FILL_BYTE" is undefined
  static const ncbyte ncBad_byte = NC_FILL_BYTE;
                                   ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(47):
error: identifier "NC_FILL_CHAR" is undefined
  static const char ncBad_char = NC_FILL_CHAR;
                                 ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(48):
error: identifier "NC_FILL_SHORT" is undefined
  static const short ncBad_short = NC_FILL_SHORT;
                                   ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(50):
error: identifier "NC_FILL_INT" is undefined
  static const int ncBad_int = NC_FILL_INT;
                               ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(52):
error: identifier "NC_FILL_FLOAT" is undefined
  static const float ncBad_float = NC_FILL_FLOAT;
                                   ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(53):
error: identifier "NC_FILL_DOUBLE" is undefined
  static const double ncBad_double = NC_FILL_DOUBLE;
                                     ^
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/netcdfcpp.h(459):
error: identifier "nc_strerror" is undefined
      const char* get_errmsg( void ) {return nc_strerror(get_err());}
                                             ^
compilation aborted for point_stat.cc (code 2)
make[4]: *** [point_stat] Error 2
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

The operating system is RedHat, the version of netcdf is 4.3.0, and version
of icpc/ifort is 11.1.

I am not clear whether it is the version of intel compiler is the primary
cause,or something else causing the problem. I send this e-mail for your
help. I will appreciate that you can proffer help to me.

Many thanks.

Best Wishes!

                                          Huang Huang
                                         Institute of
High-performance, Tsinhua Univ.


----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: The problem of compiling METv4.1 with icc-v11.1
From: 黄煌
Time: Sun Mar 01 02:39:27 2015

   Many thanks and hope for your help.

Best Wishes
                         Huang Huang

2015-03-01 17:30 GMT+08:00 met_help at ucar.edu via RT
<met_help at ucar.edu>:

> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
>         "The problem of compiling METv4.1 with icc-v11.1",
> a summary of which appears below.
>
> There is no need to reply to this message right now.  Your ticket
has been
> assigned an ID of [rt.rap.ucar.edu #70866].
>
> Please include the string:
>
>          [rt.rap.ucar.edu #70866]
>
> in the subject line of all future correspondence about this issue.
To do
> so,
> you may reply to this message.
>
>                         Thank you,
>                         met_help at ucar.edu
>
>
-------------------------------------------------------------------------
> Dear Sir or Madam:
>         Now I come up against a difficulty when MET is compiled. The
> message reflected is as follows:
>        *** Making the Model Evaluation Tools Project ***
>
>
> *** Finished Making the vx_log Library ***
>
> *** Finished Making the vx_cal Library ***
>
> *** Finished Making the vx_math Library ***
>
> *** Finished Making the vx_util Library ***
>
> *** Finished Making the vx_config Library ***
>
> *** Finished Making the vx_grid Library ***
>
> *** Finished Making the vx_nc_util Library ***
>
> *** Finished Making the vx_data2d Library ***
>
> *** Finished Making the vx_data2d_grib Library ***
>
> *** Finished Making the vx_data2d_nc_met Library ***
>
> *** Finished Making the vx_data2d_nccf Library ***
>
> *** Finished Making the vx_data2d_nc_pinterp Library ***
>
> *** Finished Making the vx_data2d_factory Library ***
>
> *** Finished Making the vx_gsl_prob Library ***
>
> *** Finished Making the vx_gnomon Library ***
>
> *** Finished Making the vx_geodesy Library ***
>
> *** Finished Making the vx_nav Library ***
>
> *** Finished Making the vx_pb_util Library ***
>
> *** Finished Making the vx_afm Library ***
>
> *** Finished Making the vx_ps Library ***
>
> *** Finished Making the vx_color Library ***
>
> *** Finished Making the vx_pxm Library ***
>
> *** Finished Making the vx_render Library ***
>
> *** Finished Making the vx_plot_util Library ***
>
> *** Finished Making the vx_shapedata Library ***
>
> *** Finished Making the vx_statistics Library ***
>
> *** Finished Making the vx_stat_out Library ***
>
> *** Finished Making the vx_analysis_util Library ***
>
> *** Finished Making the vx_tc_util Library ***
>
> *** Finished Making the ensemble_stat Tool ***
>
> *** Finished Making the MODE Tool ***
>
> *** Finished Making the mode_analysis Tool ***
>
> *** Finished Making the pcp_combine Tool ***
> icc -o point_stat point_stat.cc point_stat_conf_info.o \
>  -Wshadow -static  -DBLOCK4
>
-DMET_BASE=\"/home/export/base/envisiongrp/envision/users/huangh/METv4.1\"
> \
>
-I/home/export/base/envisiongrp/envision/users/huangh/METv4.1/include
> -I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include
> -I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//include
\
>  -L/home/export/base/envisiongrp/envision/users/huangh/METv4.1/lib
> -L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/lib
> -L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//lib  \
>  -lvx_stat_out \
>  -lvx_statistics \
>  -lvx_shapedata \
>  -lvx_gsl_prob \
>  -lvx_analysis_util \
>  -lvx_data2d_factory \
>  -lvx_data2d_nc_met \
>  -lvx_data2d_grib  \
>  -lvx_data2d_nc_pinterp \
>  -lvx_data2d_nccf \
>  -lvx_data2d \
>  -lvx_nc_util \
>  -lvx_grid \
>  -lvx_config \
>  -lvx_cal \
>  -lvx_util \
>  -lvx_math \
>  -lvx_color \
>  -lvx_log \
>  -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(39):
> error: identifier "NC_INT" is undefined
>     ncInt = NC_INT,
>             ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(46):
> error: identifier "NC_FILL_BYTE" is undefined
>   static const ncbyte ncBad_byte = NC_FILL_BYTE;
>                                    ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(47):
> error: identifier "NC_FILL_CHAR" is undefined
>   static const char ncBad_char = NC_FILL_CHAR;
>                                  ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(48):
> error: identifier "NC_FILL_SHORT" is undefined
>   static const short ncBad_short = NC_FILL_SHORT;
>                                    ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(50):
> error: identifier "NC_FILL_INT" is undefined
>   static const int ncBad_int = NC_FILL_INT;
>                                ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(52):
> error: identifier "NC_FILL_FLOAT" is undefined
>   static const float ncBad_float = NC_FILL_FLOAT;
>                                    ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(53):
> error: identifier "NC_FILL_DOUBLE" is undefined
>   static const double ncBad_double = NC_FILL_DOUBLE;
>                                      ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/netcdfcpp.h(459):
> error: identifier "nc_strerror" is undefined
>       const char* get_errmsg( void ) {return
nc_strerror(get_err());}
>                                              ^
> compilation aborted for point_stat.cc (code 2)
> make[4]: *** [point_stat] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> The operating system is RedHat, the version of netcdf is 4.3.0, and
version
> of icpc/ifort is 11.1.
>
> I am not clear whether it is the version of intel compiler is the
primary
> cause,or something else causing the problem. I send this e-mail for
your
> help. I will appreciate that you can proffer help to me.
>
> Many thanks.
>
> Best Wishes!
>
>                                           Huang Huang
>                                          Institute of
> High-performance, Tsinhua Univ.
>
>

------------------------------------------------
Subject: The problem of compiling METv4.1 with icc-v11.1
From: Julie Prestopnik
Time: Mon Mar 02 12:43:35 2015

I'm sorry to hear that you are experiencing problems installing
METv4.1
with icc-v11.1.

First, I would like to suggest that you install the most recent
version of
MET, which is METv5.0.  You can get that here:
http://www.dtcenter.org/met/users/downloads/index.php

It looks like the compiler is have problems with the NetCDF library.
I'd
suggest compiling NetCDF using the instructions listed on this page:

http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php

If compiling METv4.1, edit the file "user_defs.mk" to point
NETCDF_INCS and
NETCDF_LIBS to this version of NetCDF.

Or for METv5.0, set the $MET_NETCDF environment variable to point to
this
version of NetCDF.

Also, you may need to run something like:
module load intel

before building MET.

I hope this helps.  Please let me know  how it goes.

Thanks,
Julie

On Sun, Mar 1, 2015 at 2:30 AM, 黄煌 via RT <met_help at ucar.edu> wrote:

>
> Sun Mar 01 02:30:11 2015: Request 70866 was acted upon.
> Transaction: Ticket created by williamsky55 at gmail.com
>        Queue: met_help
>      Subject: The problem of compiling METv4.1 with icc-v11.1
>        Owner: Nobody
>   Requestors: williamsky55 at gmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70866 >
>
>
> Dear Sir or Madam:
>         Now I come up against a difficulty when MET is compiled. The
> message reflected is as follows:
>        *** Making the Model Evaluation Tools Project ***
>
>
> *** Finished Making the vx_log Library ***
>
> *** Finished Making the vx_cal Library ***
>
> *** Finished Making the vx_math Library ***
>
> *** Finished Making the vx_util Library ***
>
> *** Finished Making the vx_config Library ***
>
> *** Finished Making the vx_grid Library ***
>
> *** Finished Making the vx_nc_util Library ***
>
> *** Finished Making the vx_data2d Library ***
>
> *** Finished Making the vx_data2d_grib Library ***
>
> *** Finished Making the vx_data2d_nc_met Library ***
>
> *** Finished Making the vx_data2d_nccf Library ***
>
> *** Finished Making the vx_data2d_nc_pinterp Library ***
>
> *** Finished Making the vx_data2d_factory Library ***
>
> *** Finished Making the vx_gsl_prob Library ***
>
> *** Finished Making the vx_gnomon Library ***
>
> *** Finished Making the vx_geodesy Library ***
>
> *** Finished Making the vx_nav Library ***
>
> *** Finished Making the vx_pb_util Library ***
>
> *** Finished Making the vx_afm Library ***
>
> *** Finished Making the vx_ps Library ***
>
> *** Finished Making the vx_color Library ***
>
> *** Finished Making the vx_pxm Library ***
>
> *** Finished Making the vx_render Library ***
>
> *** Finished Making the vx_plot_util Library ***
>
> *** Finished Making the vx_shapedata Library ***
>
> *** Finished Making the vx_statistics Library ***
>
> *** Finished Making the vx_stat_out Library ***
>
> *** Finished Making the vx_analysis_util Library ***
>
> *** Finished Making the vx_tc_util Library ***
>
> *** Finished Making the ensemble_stat Tool ***
>
> *** Finished Making the MODE Tool ***
>
> *** Finished Making the mode_analysis Tool ***
>
> *** Finished Making the pcp_combine Tool ***
> icc -o point_stat point_stat.cc point_stat_conf_info.o \
>  -Wshadow -static  -DBLOCK4
>
-DMET_BASE=\"/home/export/base/envisiongrp/envision/users/huangh/METv4.1\"
> \
>
-I/home/export/base/envisiongrp/envision/users/huangh/METv4.1/include
> -I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include
> -I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//include
\
>  -L/home/export/base/envisiongrp/envision/users/huangh/METv4.1/lib
> -L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/lib
> -L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//lib  \
>  -lvx_stat_out \
>  -lvx_statistics \
>  -lvx_shapedata \
>  -lvx_gsl_prob \
>  -lvx_analysis_util \
>  -lvx_data2d_factory \
>  -lvx_data2d_nc_met \
>  -lvx_data2d_grib  \
>  -lvx_data2d_nc_pinterp \
>  -lvx_data2d_nccf \
>  -lvx_data2d \
>  -lvx_nc_util \
>  -lvx_grid \
>  -lvx_config \
>  -lvx_cal \
>  -lvx_util \
>  -lvx_math \
>  -lvx_color \
>  -lvx_log \
>  -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(39):
> error: identifier "NC_INT" is undefined
>     ncInt = NC_INT,
>             ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(46):
> error: identifier "NC_FILL_BYTE" is undefined
>   static const ncbyte ncBad_byte = NC_FILL_BYTE;
>                                    ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(47):
> error: identifier "NC_FILL_CHAR" is undefined
>   static const char ncBad_char = NC_FILL_CHAR;
>                                  ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(48):
> error: identifier "NC_FILL_SHORT" is undefined
>   static const short ncBad_short = NC_FILL_SHORT;
>                                    ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(50):
> error: identifier "NC_FILL_INT" is undefined
>   static const int ncBad_int = NC_FILL_INT;
>                                ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(52):
> error: identifier "NC_FILL_FLOAT" is undefined
>   static const float ncBad_float = NC_FILL_FLOAT;
>                                    ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(53):
> error: identifier "NC_FILL_DOUBLE" is undefined
>   static const double ncBad_double = NC_FILL_DOUBLE;
>                                      ^
>
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/netcdfcpp.h(459):
> error: identifier "nc_strerror" is undefined
>       const char* get_errmsg( void ) {return
nc_strerror(get_err());}
>                                              ^
> compilation aborted for point_stat.cc (code 2)
> make[4]: *** [point_stat] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
> The operating system is RedHat, the version of netcdf is 4.3.0, and
version
> of icpc/ifort is 11.1.
>
> I am not clear whether it is the version of intel compiler is the
primary
> cause,or something else causing the problem. I send this e-mail for
your
> help. I will appreciate that you can proffer help to me.
>
> Many thanks.
>
> Best Wishes!
>
>                                           Huang Huang
>                                          Institute of
> High-performance, Tsinhua Univ.
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: The problem of compiling METv4.1 with icc-v11.1
From: 黄煌
Time: Wed Mar 04 06:28:26 2015

Many thanks for your help. I'll try it as your direction and get back
to
you as soon as possible.

Best regards
Huang Huang

2015-03-03 3:43 GMT+08:00 Julie Prestopnik via RT <met_help at ucar.edu>:

> I'm sorry to hear that you are experiencing problems installing
METv4.1
> with icc-v11.1.
>
> First, I would like to suggest that you install the most recent
version of
> MET, which is METv5.0.  You can get that here:
> http://www.dtcenter.org/met/users/downloads/index.php
>
> It looks like the compiler is have problems with the NetCDF library.
I'd
> suggest compiling NetCDF using the instructions listed on this page:
>
>
>
http://www.dtcenter.org/met/users/support/online_tutorial/METv5.0/compilation/req_libs.php
>
> If compiling METv4.1, edit the file "user_defs.mk" to point
NETCDF_INCS
> and
> NETCDF_LIBS to this version of NetCDF.
>
> Or for METv5.0, set the $MET_NETCDF environment variable to point to
this
> version of NetCDF.
>
> Also, you may need to run something like:
> module load intel
>
> before building MET.
>
> I hope this helps.  Please let me know  how it goes.
>
> Thanks,
> Julie
>
> On Sun, Mar 1, 2015 at 2:30 AM, 黄煌 via RT <met_help at ucar.edu> wrote:
>
> >
> > Sun Mar 01 02:30:11 2015: Request 70866 was acted upon.
> > Transaction: Ticket created by williamsky55 at gmail.com
> >        Queue: met_help
> >      Subject: The problem of compiling METv4.1 with icc-v11.1
> >        Owner: Nobody
> >   Requestors: williamsky55 at gmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70866 >
> >
> >
> > Dear Sir or Madam:
> >         Now I come up against a difficulty when MET is compiled.
The
> > message reflected is as follows:
> >        *** Making the Model Evaluation Tools Project ***
> >
> >
> > *** Finished Making the vx_log Library ***
> >
> > *** Finished Making the vx_cal Library ***
> >
> > *** Finished Making the vx_math Library ***
> >
> > *** Finished Making the vx_util Library ***
> >
> > *** Finished Making the vx_config Library ***
> >
> > *** Finished Making the vx_grid Library ***
> >
> > *** Finished Making the vx_nc_util Library ***
> >
> > *** Finished Making the vx_data2d Library ***
> >
> > *** Finished Making the vx_data2d_grib Library ***
> >
> > *** Finished Making the vx_data2d_nc_met Library ***
> >
> > *** Finished Making the vx_data2d_nccf Library ***
> >
> > *** Finished Making the vx_data2d_nc_pinterp Library ***
> >
> > *** Finished Making the vx_data2d_factory Library ***
> >
> > *** Finished Making the vx_gsl_prob Library ***
> >
> > *** Finished Making the vx_gnomon Library ***
> >
> > *** Finished Making the vx_geodesy Library ***
> >
> > *** Finished Making the vx_nav Library ***
> >
> > *** Finished Making the vx_pb_util Library ***
> >
> > *** Finished Making the vx_afm Library ***
> >
> > *** Finished Making the vx_ps Library ***
> >
> > *** Finished Making the vx_color Library ***
> >
> > *** Finished Making the vx_pxm Library ***
> >
> > *** Finished Making the vx_render Library ***
> >
> > *** Finished Making the vx_plot_util Library ***
> >
> > *** Finished Making the vx_shapedata Library ***
> >
> > *** Finished Making the vx_statistics Library ***
> >
> > *** Finished Making the vx_stat_out Library ***
> >
> > *** Finished Making the vx_analysis_util Library ***
> >
> > *** Finished Making the vx_tc_util Library ***
> >
> > *** Finished Making the ensemble_stat Tool ***
> >
> > *** Finished Making the MODE Tool ***
> >
> > *** Finished Making the mode_analysis Tool ***
> >
> > *** Finished Making the pcp_combine Tool ***
> > icc -o point_stat point_stat.cc point_stat_conf_info.o \
> >  -Wshadow -static  -DBLOCK4
> >
>
-DMET_BASE=\"/home/export/base/envisiongrp/envision/users/huangh/METv4.1\"
> > \
> >
-I/home/export/base/envisiongrp/envision/users/huangh/METv4.1/include
> >
-I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include
> >
-I/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//include
\
> >  -L/home/export/base/envisiongrp/envision/users/huangh/METv4.1/lib
> > -L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/lib
> > -L/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local//lib
\
> >  -lvx_stat_out \
> >  -lvx_statistics \
> >  -lvx_shapedata \
> >  -lvx_gsl_prob \
> >  -lvx_analysis_util \
> >  -lvx_data2d_factory \
> >  -lvx_data2d_nc_met \
> >  -lvx_data2d_grib  \
> >  -lvx_data2d_nc_pinterp \
> >  -lvx_data2d_nccf \
> >  -lvx_data2d \
> >  -lvx_nc_util \
> >  -lvx_grid \
> >  -lvx_config \
> >  -lvx_cal \
> >  -lvx_util \
> >  -lvx_math \
> >  -lvx_color \
> >  -lvx_log \
> >  -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
> >
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(39):
> > error: identifier "NC_INT" is undefined
> >     ncInt = NC_INT,
> >             ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(46):
> > error: identifier "NC_FILL_BYTE" is undefined
> >   static const ncbyte ncBad_byte = NC_FILL_BYTE;
> >                                    ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(47):
> > error: identifier "NC_FILL_CHAR" is undefined
> >   static const char ncBad_char = NC_FILL_CHAR;
> >                                  ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(48):
> > error: identifier "NC_FILL_SHORT" is undefined
> >   static const short ncBad_short = NC_FILL_SHORT;
> >                                    ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(50):
> > error: identifier "NC_FILL_INT" is undefined
> >   static const int ncBad_int = NC_FILL_INT;
> >                                ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(52):
> > error: identifier "NC_FILL_FLOAT" is undefined
> >   static const float ncBad_float = NC_FILL_FLOAT;
> >                                    ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/ncvalues.h(53):
> > error: identifier "NC_FILL_DOUBLE" is undefined
> >   static const double ncBad_double = NC_FILL_DOUBLE;
> >                                      ^
> >
> >
>
/home/export/base/envisiongrp/envision/WRF/SOFTWARE/local/include/netcdfcpp.h(459):
> > error: identifier "nc_strerror" is undefined
> >       const char* get_errmsg( void ) {return
nc_strerror(get_err());}
> >                                              ^
> > compilation aborted for point_stat.cc (code 2)
> > make[4]: *** [point_stat] Error 2
> > make[3]: *** [all] Error 2
> > make[2]: *** [all] Error 2
> > make[1]: *** [all] Error 2
> > make: *** [all] Error 2
> >
> > The operating system is RedHat, the version of netcdf is 4.3.0,
and
> version
> > of icpc/ifort is 11.1.
> >
> > I am not clear whether it is the version of intel compiler is the
primary
> > cause,or something else causing the problem. I send this e-mail
for your
> > help. I will appreciate that you can proffer help to me.
> >
> > Many thanks.
> >
> > Best Wishes!
> >
> >                                           Huang Huang
> >                                          Institute of
> > High-performance, Tsinhua Univ.
> >
> >
>
>
> --
> 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