[Met_help] [rt.rap.ucar.edu #92904] History for Compilation error of v8.1.2

John Halley Gotway via RT met_help at ucar.edu
Mon Nov 4 09:40:14 MST 2019


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

Hi met-help,

I am encountering the following compilation error when I try to compile v8.1.2:

In file included from ../../../src/libcode/vx_gsl_prob/vx_gsl_prob.h(17),
                 from data_plane_util.cc <http://data_plane_util.cc/>(23):
../../../src/libcode/vx_gsl_prob/gsl_cdf.h(17): catastrophic error: cannot open source file "gsl/gsl_cdf.h"
  #include "gsl/gsl_cdf.h”

These are the steps I’ve taken prior to getting that error:

(1) Setting the following environment variables:

setenv MET_BUFR ''
setenv MET_BUFRLIB '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
setenv MET_CAIRO ''
setenv MET_CAIROINC '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/include/cairo'
setenv MET_CAIROLIB '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
setenv MET_FREETYPE ''
setenv MET_FREETYPEINC '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/include/freetype2'
setenv MET_FREETYPELIB '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
setenv MET_GRIB2C '/glade/work/mwong/MET_releases/met-8.1.2/external_libs'
setenv MET_GRIB2CINC '${MET_GRIB2C}/include'
setenv MET_GRIB2CLIB '${MET_GRIB2C}/lib'
setenv MET_GSL '/glade/work/mwong/MET_releases/met-8.1.2/external_libs'
setenv MET_GSLINC '${MET_GSL}/include'
setenv MET_GSLLIB '${MET_GSL}/lib'
setenv MET_HDF5 ''
setenv MET_HDF5INC ''
setenv MET_HDF5LIB ''
setenv MET_HDF '/glade/work/mwong/MET_releases/met-8.1.2/external_libs'
setenv MET_HDFEOS '/glade/work/mwong/MET_releases/met-8.1.2/external_libs'
setenv MET_HDFEOSINC '${MET_HDFEOS}/include'
setenv MET_HDFEOSLIB '${MET_HDFEOS}/lib'
setenv MET_HDFINC '${MET_HDF}/include'
setenv MET_HDFLIB '${MET_HDF}/lib'
setenv MET_NETCDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/18.0.5/'
setenv MET_NETCDFINC '${MET_NETCDF}/include'
setenv MET_NETCDFLIB '${MET_NETCDF}/lib'
setenv MET_PYTHON_CC '-I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/include/python2.7 -I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/include/python2.7 -fno-strict-aliasing -fp-model strict -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes'
setenv MET_PYTHON_LD '-L/glade/u/apps/ch/opt/python/2.7.14/intel/17.0.1/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic'

(2) ./configure --prefix /glade/work/mwong/MET_releases/met-8.1.2 --enable-grib2 --enable-modis --enable-lidar2nc --enable-python 

(3) make install >& install.log &

Any pointers will be much appreciated.

Thanks,
May

••••••••••••••••••••••••••••••••••••
May Wong
Project Scientist I
National Center for Atmospheric Research
Mesoscale and Microscale Meteorology Laboratory
PO Box 3000, Boulder CO 80307
Ph: +1 (303) 497-8451



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

Subject: Compilation error of v8.1.2
From: Julie Prestopnik
Time: Fri Nov 01 12:04:15 2019

Hi May.

Thank you for all of this information.

With the error:

> ../../../src/libcode/vx_gsl_prob/gsl_cdf.h(17): catastrophic error:
cannot
> open source file "gsl/gsl_cdf.h"

it seems that MET cannot find the required GSL files that it needs.

I see that you have set up your environment variables, but
unfortunately,
the GSL directory does not exist:

> cheyenne6:jpresto> ls
> /glade/work/mwong/MET_releases/met-8.1.2/external_libs
> ls: cannot access
> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs': No such
file or
> directory
>

We have installed these external libraries for our community
installation
of MET on Cheyenne and you are welcome to set your environment
variables to
those locations if you would like.  The following is what you would
need to
set:

setenv MET_BUFRLIB
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
setenv MET_CAIROINC
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/include/cairo'
setenv MET_CAIROLIB
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
setenv MET_FREETYPEINC
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/include/freetype2'
setenv MET_FREETYPELIB
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
setenv MET_GRIB2C
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs'
setenv MET_GRIB2CINC '${MET_GRIB2C}/include'
setenv MET_GRIB2CLIB '${MET_GRIB2C}/lib'
setenv MET_GSLINC
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/include/gsl'
setenv MET_GSLLIB
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
setenv MET_HDF5 ''
setenv MET_HDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/17.0.1'
setenv MET_HDFEOS
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs'
setenv MET_HDFEOSINC '${MET_HDFEOS}/include'
setenv MET_HDFEOSLIB '${MET_HDFEOS}/lib'
setenv MET_HDFINC '${MET_HDF}/include'
setenv MET_HDFLIB '${MET_HDF}/lib'
setenv MET_NETCDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/17.0.1'
setenv MET_NETCDFINC '${MET_NETCDF}/include'
setenv MET_NETCDFLIB '${MET_NETCDF}/lib'
setenv MET_PYTHON_CC
'-I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/pkg-
library/20180329/include/python2.7
-I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/pkg-
library/20180329/include/python2.7'
setenv MET_PYTHON_LD
'-
L/glade/u/apps/ch/opt/python/2.7.14/intel/17.0.1/lib/python2.7/config
-lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic'

Before you configure and compile the code, please be sure to load the
intel
module (we used "module load intel/17.0.1"), the python module (we
used
"module load python/2.7.14") and run "ncar_pylib".

I hope that helps with the compilation.  Please let us know how it
goes.

Thanks!

Julie



On Fri, Nov 1, 2019 at 11:37 AM May Wong via RT <met_help at ucar.edu>
wrote:

>
> Fri Nov 01 11:37:09 2019: Request 92904 was acted upon.
> Transaction: Ticket created by mwong at ucar.edu
>        Queue: met_help
>      Subject: Compilation error of v8.1.2
>        Owner: Nobody
>   Requestors: mwong at ucar.edu
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92904 >
>
>
> Hi met-help,
>
> I am encountering the following compilation error when I try to
compile
> v8.1.2:
>
> In file included from
../../../src/libcode/vx_gsl_prob/vx_gsl_prob.h(17),
>                  from data_plane_util.cc
<http://data_plane_util.cc/>(23):
> ../../../src/libcode/vx_gsl_prob/gsl_cdf.h(17): catastrophic error:
cannot
> open source file "gsl/gsl_cdf.h"
>   #include "gsl/gsl_cdf.h”
>
> These are the steps I’ve taken prior to getting that error:
>
> (1) Setting the following environment variables:
>
> setenv MET_BUFR ''
> setenv MET_BUFRLIB
> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
> setenv MET_CAIRO ''
> setenv MET_CAIROINC
> '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs/include/cairo'
> setenv MET_CAIROLIB
> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
> setenv MET_FREETYPE ''
> setenv MET_FREETYPEINC
> '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs/include/freetype2'
> setenv MET_FREETYPELIB
> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
> setenv MET_GRIB2C '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
> setenv MET_GRIB2CINC '${MET_GRIB2C}/include'
> setenv MET_GRIB2CLIB '${MET_GRIB2C}/lib'
> setenv MET_GSL '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
> setenv MET_GSLINC '${MET_GSL}/include'
> setenv MET_GSLLIB '${MET_GSL}/lib'
> setenv MET_HDF5 ''
> setenv MET_HDF5INC ''
> setenv MET_HDF5LIB ''
> setenv MET_HDF '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
> setenv MET_HDFEOS '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
> setenv MET_HDFEOSINC '${MET_HDFEOS}/include'
> setenv MET_HDFEOSLIB '${MET_HDFEOS}/lib'
> setenv MET_HDFINC '${MET_HDF}/include'
> setenv MET_HDFLIB '${MET_HDF}/lib'
> setenv MET_NETCDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/18.0.5/'
> setenv MET_NETCDFINC '${MET_NETCDF}/include'
> setenv MET_NETCDFLIB '${MET_NETCDF}/lib'
> setenv MET_PYTHON_CC
> '-I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/include/python2.7
> -I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/include/python2.7
> -fno-strict-aliasing -fp-model strict -g -O2 -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes'
> setenv MET_PYTHON_LD
> '-
L/glade/u/apps/ch/opt/python/2.7.14/intel/17.0.1/lib/python2.7/config
> -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic'
>
> (2) ./configure --prefix /glade/work/mwong/MET_releases/met-8.1.2
> --enable-grib2 --enable-modis --enable-lidar2nc --enable-python
>
> (3) make install >& install.log &
>
> Any pointers will be much appreciated.
>
> Thanks,
> May
>
> ••••••••••••••••••••••••••••••••••••
> May Wong
> Project Scientist I
> National Center for Atmospheric Research
> Mesoscale and Microscale Meteorology Laboratory
> PO Box 3000, Boulder CO 80307
> Ph: +1 (303) 497-8451
>
>
>

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

My working day may not be your working day.  Please do not feel
obliged to
reply to this email outside of your normal working hours.

------------------------------------------------
Subject: Compilation error of v8.1.2
From: May Wong
Time: Fri Nov 01 13:38:18 2019

Thanks, Julie. Everything compiled nicely this time!

May

> On Nov 1, 2019, at 12:04 PM, Julie Prestopnik via RT
<met_help at ucar.edu> wrote:
>
> Hi May.
>
> Thank you for all of this information.
>
> With the error:
>
>> ../../../src/libcode/vx_gsl_prob/gsl_cdf.h(17): catastrophic error:
cannot
>> open source file "gsl/gsl_cdf.h"
>
> it seems that MET cannot find the required GSL files that it needs.
>
> I see that you have set up your environment variables, but
unfortunately,
> the GSL directory does not exist:
>
>> cheyenne6:jpresto> ls
>> /glade/work/mwong/MET_releases/met-8.1.2/external_libs
>> ls: cannot access
>> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs': No such
file or
>> directory
>>
>
> We have installed these external libraries for our community
installation
> of MET on Cheyenne and you are welcome to set your environment
variables to
> those locations if you would like.  The following is what you would
need to
> set:
>
> setenv MET_BUFRLIB
> '/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
> setenv MET_CAIROINC
>
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/include/cairo'
> setenv MET_CAIROLIB
> '/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
> setenv MET_FREETYPEINC
>
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/include/freetype2'
> setenv MET_FREETYPELIB
> '/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
> setenv MET_GRIB2C
> '/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs'
> setenv MET_GRIB2CINC '${MET_GRIB2C}/include'
> setenv MET_GRIB2CLIB '${MET_GRIB2C}/lib'
> setenv MET_GSLINC
>
'/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/include/gsl'
> setenv MET_GSLLIB
> '/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs/lib'
> setenv MET_HDF5 ''
> setenv MET_HDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/17.0.1'
> setenv MET_HDFEOS
> '/glade/p/ral/jntp/MET/MET_releases/8.1_python/external_libs'
> setenv MET_HDFEOSINC '${MET_HDFEOS}/include'
> setenv MET_HDFEOSLIB '${MET_HDFEOS}/lib'
> setenv MET_HDFINC '${MET_HDF}/include'
> setenv MET_HDFLIB '${MET_HDF}/lib'
> setenv MET_NETCDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/17.0.1'
> setenv MET_NETCDFINC '${MET_NETCDF}/include'
> setenv MET_NETCDFLIB '${MET_NETCDF}/lib'
> setenv MET_PYTHON_CC
> '-I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/pkg-
library/20180329/include/python2.7
> -I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/pkg-
library/20180329/include/python2.7'
> setenv MET_PYTHON_LD
> '-
L/glade/u/apps/ch/opt/python/2.7.14/intel/17.0.1/lib/python2.7/config
> -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic'
>
> Before you configure and compile the code, please be sure to load
the intel
> module (we used "module load intel/17.0.1"), the python module (we
used
> "module load python/2.7.14") and run "ncar_pylib".
>
> I hope that helps with the compilation.  Please let us know how it
goes.
>
> Thanks!
>
> Julie
>
>
>
> On Fri, Nov 1, 2019 at 11:37 AM May Wong via RT <met_help at ucar.edu
<mailto:met_help at ucar.edu>> wrote:
>
>>
>> Fri Nov 01 11:37:09 2019: Request 92904 was acted upon.
>> Transaction: Ticket created by mwong at ucar.edu
<mailto:mwong at ucar.edu>
>>       Queue: met_help
>>     Subject: Compilation error of v8.1.2
>>       Owner: Nobody
>>  Requestors: mwong at ucar.edu <mailto:mwong at ucar.edu>
>>      Status: new
>> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92904
<https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=92904> >
>>
>>
>> Hi met-help,
>>
>> I am encountering the following compilation error when I try to
compile
>> v8.1.2:
>>
>> In file included from
../../../src/libcode/vx_gsl_prob/vx_gsl_prob.h(17),
>>                 from data_plane_util.cc
<http://data_plane_util.cc/> <http://data_plane_util.cc/
<http://data_plane_util.cc/>>(23):
>> ../../../src/libcode/vx_gsl_prob/gsl_cdf.h(17): catastrophic error:
cannot
>> open source file "gsl/gsl_cdf.h"
>>  #include "gsl/gsl_cdf.h”
>>
>> These are the steps I’ve taken prior to getting that error:
>>
>> (1) Setting the following environment variables:
>>
>> setenv MET_BUFR ''
>> setenv MET_BUFRLIB
>> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
>> setenv MET_CAIRO ''
>> setenv MET_CAIROINC
>> '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs/include/cairo'
>> setenv MET_CAIROLIB
>> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
>> setenv MET_FREETYPE ''
>> setenv MET_FREETYPEINC
>> '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs/include/freetype2'
>> setenv MET_FREETYPELIB
>> '/glade/work/mwong/MET_releases/met-8.1.2/external_libs/lib'
>> setenv MET_GRIB2C '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
>> setenv MET_GRIB2CINC '${MET_GRIB2C}/include'
>> setenv MET_GRIB2CLIB '${MET_GRIB2C}/lib'
>> setenv MET_GSL '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
>> setenv MET_GSLINC '${MET_GSL}/include'
>> setenv MET_GSLLIB '${MET_GSL}/lib'
>> setenv MET_HDF5 ''
>> setenv MET_HDF5INC ''
>> setenv MET_HDF5LIB ''
>> setenv MET_HDF '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
>> setenv MET_HDFEOS '/glade/work/mwong/MET_releases/met-
8.1.2/external_libs'
>> setenv MET_HDFEOSINC '${MET_HDFEOS}/include'
>> setenv MET_HDFEOSLIB '${MET_HDFEOS}/lib'
>> setenv MET_HDFINC '${MET_HDF}/include'
>> setenv MET_HDFLIB '${MET_HDF}/lib'
>> setenv MET_NETCDF '/glade/u/apps/ch/opt/netcdf/4.6.3/intel/18.0.5/'
>> setenv MET_NETCDFINC '${MET_NETCDF}/include'
>> setenv MET_NETCDFLIB '${MET_NETCDF}/lib'
>> setenv MET_PYTHON_CC
>> '-I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/include/python2.7
>> -I/gpfs/u/apps/ch/opt/python/2.7.14/intel/17.0.1/include/python2.7
>> -fno-strict-aliasing -fp-model strict -g -O2 -DNDEBUG -g -O3 -Wall
>> -Wstrict-prototypes'
>> setenv MET_PYTHON_LD
>> '-
L/glade/u/apps/ch/opt/python/2.7.14/intel/17.0.1/lib/python2.7/config
>> -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic'
>>
>> (2) ./configure --prefix /glade/work/mwong/MET_releases/met-8.1.2
>> --enable-grib2 --enable-modis --enable-lidar2nc --enable-python
>>
>> (3) make install >& install.log &
>>
>> Any pointers will be much appreciated.
>>
>> Thanks,
>> May
>>
>> ••••••••••••••••••••••••••••••••••••
>> May Wong
>> Project Scientist I
>> National Center for Atmospheric Research
>> Mesoscale and Microscale Meteorology Laboratory
>> PO Box 3000, Boulder CO 80307
>> Ph: +1 (303) 497-8451
>>
>>
>>
>
> --
> Julie Prestopnik
> Software Engineer
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu <mailto:jpresto at ucar.edu>
>
> My working day may not be your working day.  Please do not feel
obliged to
> reply to this email outside of your normal working hours.


------------------------------------------------


More information about the Met_help mailing list