[Met_help] [rt.rap.ucar.edu #56017] History for trouble compiling METv3.1

Paul Oldenburg via RT met_help at ucar.edu
Tue Apr 24 12:12:11 MDT 2012


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

Dear Sir or Madam,

I have trouble compiling METv3.1.20120207 on Slackware64-13.37, kernel 
2.6.38.4,
g++-gcc-4.5.2 and gfortran-gcc-4.5.2. I have installed bufrlib-10.0.1, 
netcdf-3.6.3 and gsl-1.15. I have installed netcdf-3.6.3 in 
/usr/netcdf-3.6.3/, where you can find its include, lib and bin 
directories. I have chosen this unusual place for netcdf-3.6.3 because 
on my system I have a regularly installed netcdf-4.1.1 with support for 
hdf which I need.
So I use the user_defs_gnu.mk file, rename it to user_defs.mk, as 
suggested in the User's Guide 3.1,
and set:

MAKE         = /usr/bin/make
CXX          = /usr/bin/g++
FC           = /usr/bin/gfortran
NETCDF_BASE  = /usr/netcdf-3.6.3
NETCDF_LIBS  = -L$(NETCDF_BASE)/lib64
BUFR_BASE    = /usr/lib64
GSL_BASE     = /usr
GSL_LIBS     = -L$(GSL_BASE)/lib64

So here is the result from make:

/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: 
cannot find -lnetcdf_c++
/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: 
cannot find -lnetcdf
/usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-slackware-linux/bin/ld: 
cannot find -lgsl
collect2: ld returned 1 exit status
make[4]: *** [ensemble_stat] Error 1

Here is some info about my system:

ls /usr/netcdf-3.6.3/include/
ncvalues.h  netcdf.h  netcdf.hh  netcdf.inc  netcdf.mod  netcdfcpp.h  
typesizes.mod

ls /usr/netcdf-3.6.3/lib64/
libnetcdf.la*  libnetcdf.so.4@      libnetcdf_c++.la*  
libnetcdf_c++.so.4@      libnetcdff.la*  libnetcdff.so.4@
libnetcdf.so@  libnetcdf.so.4.0.0*  libnetcdf_c++.so@  
libnetcdf_c++.so.4.0.0*  libnetcdff.so@  libnetcdff.so.4.0.0*

The user_defs.mk and the make.log files are attached.
Any suggestions will be appreciated.

Best regards,

-- 
Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften
Water&  Earth System Science (WESS)
Keplerstraße 17, 72074 Tübingen, Deutschland
Tel. +4970712975023



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

Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Paul Oldenburg
Time: Mon Apr 23 09:01:35 2012

Martin,

First of all, we do not have a lot of experience building MET on a
slackware system.  I would recommend removing the
-static flag from the CXX_FLAGS setting in your user_defs.mk file, and
then try a clean rebuild.  Regarding GSL, if you
used an installer utility like RPM, you may want to make sure that you
installed the GSL development package, not just
the utility itself.  Your system obviously has the GSL header files,
but I think it might be worth checking that
/usr/lib64 contains the libraries gsl and gslcblas.

Please let us know if you experience further problems.

Paul


On 04/22/2012 07:49 AM, Martin Ivanov via RT wrote:
>
> Sun Apr 22 07:49:32 2012: Request 56017 was acted upon.
> Transaction: Ticket created by martin.ivanov at ifg.uni-tuebingen.de
>         Queue: met_help
>       Subject: trouble compiling METv3.1
>         Owner: Nobody
>    Requestors: martin.ivanov at ifg.uni-tuebingen.de
>        Status: new
>   Ticket<URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56017>
>
>
> Dear Sir or Madam,
>
> I have trouble compiling METv3.1.20120207 on Slackware64-13.37,
kernel
> 2.6.38.4,
> g++-gcc-4.5.2 and gfortran-gcc-4.5.2. I have installed bufrlib-
10.0.1,
> netcdf-3.6.3 and gsl-1.15. I have installed netcdf-3.6.3 in
> /usr/netcdf-3.6.3/, where you can find its include, lib and bin
> directories. I have chosen this unusual place for netcdf-3.6.3
because
> on my system I have a regularly installed netcdf-4.1.1 with support
for
> hdf which I need.
> So I use the user_defs_gnu.mk file, rename it to user_defs.mk, as
> suggested in the User's Guide 3.1,
> and set:
>
> MAKE         = /usr/bin/make
> CXX          = /usr/bin/g++
> FC           = /usr/bin/gfortran
> NETCDF_BASE  = /usr/netcdf-3.6.3
> NETCDF_LIBS  = -L$(NETCDF_BASE)/lib64
> BUFR_BASE    = /usr/lib64
> GSL_BASE     = /usr
> GSL_LIBS     = -L$(GSL_BASE)/lib64
>
> So here is the result from make:
>
> /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-
slackware-linux/bin/ld:
> cannot find -lnetcdf_c++
> /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-
slackware-linux/bin/ld:
> cannot find -lnetcdf
> /usr/lib64/gcc/x86_64-slackware-linux/4.5.2/../../../../x86_64-
slackware-linux/bin/ld:
> cannot find -lgsl
> collect2: ld returned 1 exit status
> make[4]: *** [ensemble_stat] Error 1
>
> Here is some info about my system:
>
> ls /usr/netcdf-3.6.3/include/
> ncvalues.h  netcdf.h  netcdf.hh  netcdf.inc  netcdf.mod  netcdfcpp.h
> typesizes.mod
>
> ls /usr/netcdf-3.6.3/lib64/
> libnetcdf.la*  libnetcdf.so.4@      libnetcdf_c++.la*
> libnetcdf_c++.so.4@      libnetcdff.la*  libnetcdff.so.4@
> libnetcdf.so@  libnetcdf.so.4.0.0*  libnetcdf_c++.so@
> libnetcdf_c++.so.4.0.0*  libnetcdff.so@  libnetcdff.so.4.0.0*
>
> The user_defs.mk and the make.log files are attached.
> Any suggestions will be appreciated.
>
> Best regards,
>


------------------------------------------------
Subject: trouble compiling METv3.1
From: Martin Ivanov
Time: Mon Apr 23 10:10:36 2012

Dear Sir,

Thank You very much for Your swift reply.
I removed the -static flag from the CXX_FLAGS, as You can see in the
user_defs.mk file I am
attaching. I also checked that the libraries You mentioned are in
/usr/lib64. Indeed they were, but only the shared
ones. So I rebuilt gsl also with static libs. Finally, the building of
METv3.1 also fails, but this time with a different
error, as You can see in the attachment make_met.log. This different
error message occurred after I
removed the -static flag. Including or not the static gls libraries
has
no effect whatsoever on the compilation error.

Thank You very much for Your attention. I am looking forward to
further
assistance.

Best regards,


  Dr. Martin Ivanov
  Eberhard-Karls-Universität Tübingen
  Mathematisch-Naturwissenschaftliche Fakultät
  Fachbereich Geowissenschaften Water & Earth System Science (WESS)
  Keplerstraße 17, 72074 Tübingen, Deutschland Tel. +4970712975023

------------------------------------------------
Subject: trouble compiling METv3.1
From: Martin Ivanov
Time: Mon Apr 23 10:10:36 2012


*** Making the Model Evaluation Tools Project ***



/usr/bin/g++ concat_string.cc -Wall -Wshadow  -c
/usr/bin/g++ indent.cc -Wall -Wshadow  -c
/usr/bin/g++ logger.cc -Wall -Wshadow  -DBLOCK4 -c
/usr/bin/g++ string_array.cc -Wall -Wshadow  -c
ar -rs libvx_log.a concat_string.o indent.o logger.o string_array.o
2>&1
ar: creating libvx_log.a
ranlib libvx_log.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
concat_string.h indent.h logger.h string_array.h vx_log.h
cp concat_string.h indent.h logger.h string_array.h vx_log.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_log.a
cp libvx_log.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_log Library ***

/usr/bin/g++ date_to_mjd.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ day_dif.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ day_of_week.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ doyhms_to_unix.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ is_dst.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ is_leap_year.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mdyhms_to_unix.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mjd_to_date.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ time_array.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ time_strings.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ unix_to_mdyhms.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_cal.a date_to_mjd.o day_dif.o day_of_week.o
doyhms_to_unix.o is_dst.o is_leap_year.o mdyhms_to_unix.o
mjd_to_date.o time_array.o time_strings.o unix_to_mdyhms.o 2>&1
ar: creating libvx_cal.a
ranlib libvx_cal.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f time_array.h
vx_cal.h
cp time_array.h vx_cal.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_cal.a
cp libvx_cal.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_cal Library ***

/usr/bin/g++ angles.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ hist.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ nint.cc -Wall -Wshadow  -c
/usr/bin/g++ nti.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ ptile.cc -Wall -Wshadow  -c
/usr/bin/g++ pwl_interpolate.cc -Wall -Wshadow  -c
/usr/bin/g++ affine.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ viewgravity_to_string.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_math.a angles.o hist.o nint.o nti.o ptile.o
pwl_interpolate.o affine.o viewgravity_to_string.o 2>&1
ar: creating libvx_math.a
ranlib libvx_math.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
math_constants.h is_bad_data.h trig.h angles.h hist.h nint.h nti.h
ptile.h pwl_interpolate.h affine.h viewgravity_to_string.h vx_math.h
cp math_constants.h is_bad_data.h trig.h angles.h hist.h nint.h nti.h
ptile.h pwl_interpolate.h affine.h viewgravity_to_string.h vx_math.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_math.a
cp libvx_math.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_math Library ***

/usr/bin/g++ ascii_table.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ asciitablejust_to_string.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ check_endian.cc -Wall -Wshadow  -DBLOCK4 -c
/usr/bin/g++ comma_string.cc -Wall -Wshadow  -c
/usr/bin/g++ conversions.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data_line.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ grib_constants.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ int_array.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ is_number.cc -Wall -Wshadow  -c
/usr/bin/g++ long_array.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ make_path.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ memory.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ num_array.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ ordinal.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ roman_numeral.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ string_fxns.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
/usr/bin/g++ substring.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ temp_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ thresh_array.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ threshold.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ fix_float.cc -Wall -Wshadow  -DBLOCK4 -c
/usr/bin/g++ command_line.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ file_exists.cc -Wall -Wshadow  -DBLOCK4 -c
/usr/bin/g++ filename_suffix.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data_plane.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data_plane_util.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ interp_mthd.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ interp_util.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ two_to_one.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_util.a ascii_table.o asciitablejust_to_string.o
check_endian.o comma_string.o conversions.o data_line.o
grib_constants.o int_array.o is_number.o long_array.o make_path.o
memory.o num_array.o ordinal.o roman_numeral.o string_fxns.o
substring.o temp_file.o thresh_array.o threshold.o fix_float.o
command_line.o file_exists.o filename_suffix.o data_plane.o
data_plane_util.o interp_mthd.o interp_util.o two_to_one.o 2>&1
ar: creating libvx_util.a
ranlib libvx_util.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
util_constants.h ascii_table.h asciitablejust_to_string.h
check_endian.h comma_string.h conversions.h data_line.h
grib_constants.h int_array.h is_number.h long_array.h make_path.h
memory.h num_array.h ordinal.h roman_numeral.h string_fxns.h
substring.h temp_file.h thresh_array.h threshold.h fix_float.h
command_line.h file_exists.h filename_suffix.h data_plane.h
data_plane_util.h interp_mthd.h two_to_one.h interp_util.h vx_util.h
cp util_constants.h ascii_table.h asciitablejust_to_string.h
check_endian.h comma_string.h conversions.h data_line.h
grib_constants.h int_array.h is_number.h long_array.h make_path.h
memory.h num_array.h ordinal.h roman_numeral.h string_fxns.h
substring.h temp_file.h thresh_array.h threshold.h fix_float.h
command_line.h file_exists.h filename_suffix.h data_plane.h
data_plane_util.h interp_mthd.h two_to_one.h interp_util.h vx_util.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_util.a
cp libvx_util.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_util Library ***

/usr/bin/g++ pwl.cc                  -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ algline.cc              -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ celltype_to_string.cc   -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ builtin.cc              -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ icode.cc                -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ idstack.cc              -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ stetype_to_string.cc    -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ array.cc                -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ symtab.cc               -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ builtin_to_string.cc    -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ machine.cc              -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ econfig.tab.cc          -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ lex.econfig.cc          -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include > /dev/null 2>&1
/usr/bin/g++ resulttype_to_string.cc -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ result.cc               -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ icodecell_to_result.cc  -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ gen.cc                  -c -Wall -Wshadow
-I/home/marto/build/source/met/METv3.1/include
-DMET_BASE_DIR=\"/home/marto/build/source/met/METv3.1\"
ar -rs libvx_econfig.a pwl.o algline.o icode.o idstack.o symtab.o
builtin.o machine.o array.o celltype_to_string.o stetype_to_string.o
builtin_to_string.o econfig.tab.o lex.econfig.o resulttype_to_string.o
result.o icodecell_to_result.o gen.o 2>&1
ar: creating libvx_econfig.a
ranlib libvx_econfig.a
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_econfig.a
cp libvx_econfig.a /home/marto/build/source/met/METv3.1/lib
cd /home/marto/build/source/met/METv3.1/include ; rm -f algline.h
array.h builtin.h icode.h idstack.h machine.h pwl.h symtab.h result.h
resulttype_to_string.h builtin_to_string.h celltype_to_string.h
stetype_to_string.h gen.h icodecell_to_result.h
cp algline.h array.h builtin.h icode.h idstack.h machine.h pwl.h
symtab.h result.h resulttype_to_string.h builtin_to_string.h
celltype_to_string.h stetype_to_string.h gen.h icodecell_to_result.h
/home/marto/build/source/met/METv3.1/include

*** Finished Making the vx_econfig Library ***

/usr/bin/g++ find_grid_by_name.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ grid_base.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ latlon_grid.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ lc_grid.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ merc_grid.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ st_grid.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_grid.a find_grid_by_name.o grid_base.o latlon_grid.o
lc_grid.o merc_grid.o st_grid.o 2>&1
ar: creating libvx_grid.a
ranlib libvx_grid.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
find_grid_by_name.h grid_base.h vx_grid.h latlon_grid_defs.h
latlon_grid.h lc_grid_defs.h lc_grid.h merc_grid_defs.h merc_grid.h
st_grid_defs.h st_grid.h
cp find_grid_by_name.h grid_base.h vx_grid.h latlon_grid_defs.h
latlon_grid.h lc_grid_defs.h lc_grid.h merc_grid_defs.h merc_grid.h
st_grid_defs.h st_grid.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_grid.a
cp libvx_grid.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_grid Library ***

/usr/bin/g++ nc_var_info.cc -DBLOCK4 -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ nc_utils.cc -DBLOCK4 -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ grid_output.cc -DBLOCK4 -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ write_netcdf.cc -DBLOCK4 -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
ar -rs libvx_nc_util.a nc_var_info.o nc_utils.o write_netcdf.o
grid_output.o 2>&1
ar: creating libvx_nc_util.a
ranlib libvx_nc_util.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f nc_constants.h
nc_var_info.h nc_utils.h write_netcdf.h grid_output.h vx_nc_util.h
cp nc_constants.h nc_var_info.h nc_utils.h write_netcdf.h
grid_output.h vx_nc_util.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_nc_util.a
cp libvx_nc_util.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_nc_util Library ***

/usr/bin/g++ level_info.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ var_info.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ grdfiletype_to_string.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ leveltype_to_string.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data_class.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_utils.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_data2d.a level_info.o var_info.o grdfiletype_to_string.o
leveltype_to_string.o data_class.o data2d_utils.o 2>&1
ar: creating libvx_data2d.a
ranlib libvx_data2d.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
data_file_type.h level_info.h var_info.h grdfiletype_to_string.h
leveltype_to_string.h data_class.h data2d_utils.h vx_data2d.h
cp data_file_type.h level_info.h var_info.h grdfiletype_to_string.h
leveltype_to_string.h data_class.h data2d_utils.h vx_data2d.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_data2d.a
cp libvx_data2d.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_data2d Library ***

/usr/bin/g++ grib_classes.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ grib_strings.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ grib_utils.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ var_info_grib.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_grib_utils.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_grib.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_data2d_grib.a grib_classes.o grib_strings.o grib_utils.o
var_info_grib.o data2d_grib_utils.o data2d_grib.o 2>&1
ar: creating libvx_data2d_grib.a
ranlib libvx_data2d_grib.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f grib_classes.h
grib_strings.h grib_utils.h var_info_grib.h data2d_grib_utils.h
data2d_grib.h vx_data2d_grib.h
cp grib_classes.h grib_strings.h grib_utils.h var_info_grib.h
data2d_grib_utils.h data2d_grib.h vx_data2d_grib.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_data2d_grib.a
cp libvx_data2d_grib.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_data2d_grib Library ***

/usr/bin/g++ var_info_grib2.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_grib2.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_data2d_grib2.a var_info_grib2.o data2d_grib2.o 2>&1
ar: creating libvx_data2d_grib2.a
ranlib libvx_data2d_grib2.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
var_info_grib2.h data2d_grib2.h
cp var_info_grib2.h data2d_grib2.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_data2d_grib2.a
cp libvx_data2d_grib2.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_data2d_grib2 Library ***

/usr/bin/g++ get_met_grid.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ met_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ var_info_nc_met.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_nc_met.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
ar -rs libvx_data2d_nc_met.a get_met_grid.o met_file.o
var_info_nc_met.o data2d_nc_met.o 2>&1
ar: creating libvx_data2d_nc_met.a
ranlib libvx_data2d_nc_met.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f get_met_grid.h
met_file.h var_info_nc_met.h data2d_nc_met.h vx_data2d_nc_met.h
cp get_met_grid.h met_file.h var_info_nc_met.h data2d_nc_met.h
vx_data2d_nc_met.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_data2d_nc_met.a
cp libvx_data2d_nc_met.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_data2d_nc_met Library ***

/usr/bin/g++ get_pinterp_grid.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ pinterp_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ var_info_nc_pinterp.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_nc_pinterp_utils.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ data2d_nc_pinterp.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
ar -rs libvx_data2d_nc_pinterp.a get_pinterp_grid.o pinterp_file.o
var_info_nc_pinterp.o data2d_nc_pinterp_utils.o data2d_nc_pinterp.o
2>&1
ar: creating libvx_data2d_nc_pinterp.a
ranlib libvx_data2d_nc_pinterp.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
get_pinterp_grid.h pinterp_file.h var_info_nc_pinterp.h
data2d_nc_pinterp_utils.h data2d_nc_pinterp.h vx_data2d_nc_pinterp.h
cp get_pinterp_grid.h pinterp_file.h var_info_nc_pinterp.h
data2d_nc_pinterp_utils.h data2d_nc_pinterp.h vx_data2d_nc_pinterp.h
/home/marto/build/source/met/METv3.1/include
rm -f
/home/marto/build/source/met/METv3.1/lib/libvx_data2d_nc_pinterp.a
cp libvx_data2d_nc_pinterp.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_data2d_nc_pinterp Library ***

/usr/bin/g++ is_met_nc_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ is_netcdf_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ is_pinterp_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ is_grib_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ is_bufr_file.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ var_info_factory.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_factory_utils.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data2d_factory.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include
ar -rs libvx_data2d_factory.a is_met_nc_file.o is_netcdf_file.o
is_pinterp_file.o is_grib_file.o is_bufr_file.o var_info_factory.o
data2d_factory_utils.o data2d_factory.o 2>&1
ar: creating libvx_data2d_factory.a
ranlib libvx_data2d_factory.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
is_met_nc_file.h is_netcdf_file.h is_pinterp_file.h is_grib_file.h
is_bufr_file.h var_info_factory.h data2d_factory_utils.h
data2d_factory.h vx_data2d_factory.h
cp is_met_nc_file.h is_netcdf_file.h is_pinterp_file.h is_grib_file.h
is_bufr_file.h var_info_factory.h data2d_factory_utils.h
data2d_factory.h vx_data2d_factory.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_data2d_factory.a
cp libvx_data2d_factory.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_data2d_factory Library ***

/usr/bin/g++ gsl_bvn.cc -Wall -Wshadow  -c -I/usr/include
/usr/bin/g++ gsl_cdf.cc -Wall -Wshadow  -c -I/usr/include
/usr/bin/g++ gsl_randist.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ gsl_statistics.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ gsl_wavelet2d.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
ar -rs libvx_gsl_prob.a gsl_bvn.o gsl_cdf.o gsl_randist.o
gsl_statistics.o gsl_wavelet2d.o 2>&1
ar: creating libvx_gsl_prob.a
ranlib libvx_gsl_prob.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f gsl_bvn.h
gsl_cdf.h gsl_randist.h gsl_statistics.h gsl_wavelet2d.h vx_gsl_prob.h
cp gsl_bvn.h gsl_cdf.h gsl_randist.h gsl_statistics.h gsl_wavelet2d.h
vx_gsl_prob.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_gsl_prob.a
cp libvx_gsl_prob.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_gsl_prob Library ***

/usr/bin/g++ gnomon.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_gnomon.a gnomon.o  2>&1
ar: creating libvx_gnomon.a
ranlib libvx_gnomon.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f gnomon.h
cp gnomon.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_gnomon.a
cp libvx_gnomon.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_gnomon Library ***

/usr/bin/g++ nav.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_nav.a nav.o 2>&1
ar: creating libvx_nav.a
ranlib libvx_nav.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f nav.h
cp nav.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_nav.a
cp libvx_nav.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_nav Library ***

/usr/bin/g++ pblock.cc -DBLOCK4 -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ do_blocking.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ do_unblocking.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ copy_bytes.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_pb_util.a pblock.o do_blocking.o do_unblocking.o
copy_bytes.o 2>&1
ar: creating libvx_pb_util.a
ranlib libvx_pb_util.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f pblock.h
do_blocking.h do_unblocking.h copy_bytes.h vx_pb_util.h
cp pblock.h do_blocking.h do_unblocking.h copy_bytes.h vx_pb_util.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_pb_util.a
cp libvx_pb_util.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_pb_util Library ***

/usr/bin/g++ afm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ afm_keywords.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ afm_line.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ afm_token.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ afmkeyword_to_string.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ afmtokentype_to_string.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_afm.a afm.o afm_keywords.o afm_line.o afm_token.o
afmkeyword_to_string.o afmtokentype_to_string.o 2>&1
ar: creating libvx_afm.a
ranlib libvx_afm.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f afm.h
afm_keywords.h afmkeyword_to_string.h afm_line.h afm_token.h
afm_token_types.h afmtokentype_to_string.h
cp afm.h afm_keywords.h afmkeyword_to_string.h afm_line.h afm_token.h
afm_token_types.h afmtokentype_to_string.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_afm.a
cp libvx_afm.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_afm Library ***

/usr/bin/g++ documentmedia_to_string.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
/usr/bin/g++ documentorientation_to_string.cc -Wall -Wshadow  -DBLOCK4
-c -I/home/marto/build/source/met/METv3.1/include
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
/usr/bin/g++ vx_ps.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
/usr/bin/g++ ps_text.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_ps.a documentmedia_to_string.o
documentorientation_to_string.o vx_ps.o ps_text.o 2>&1
ar: creating libvx_ps.a
ranlib libvx_ps.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
documentmedia_to_string.h documentorientation_to_string.h vx_ps.h
ps_text.h
cp documentmedia_to_string.h documentorientation_to_string.h vx_ps.h
ps_text.h /home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_ps.a
cp libvx_ps.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_ps Library ***

/usr/bin/g++ cfile.tab.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include > /dev/null 2>&1
/usr/bin/g++ lex.color.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include > /dev/null 2>&1
/usr/bin/g++ color.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ color_list.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ color_table.cc -Wall -Wshadow  -DBLOCK4  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_color.a cfile.tab.o lex.color.o color.o color_list.o
color_table.o 2>&1
ar: creating libvx_color.a
ranlib libvx_color.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f cfile.tab.h
color.h color_list.h color_parser.h vx_color.h
cp cfile.tab.h color.h color_list.h color_parser.h vx_color.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_color.a
cp libvx_color.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_color Library ***

/usr/bin/g++ pbm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ pcm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ pgm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ ppm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ pxm_base.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ pxm_utils.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_pxm.a pbm.o pcm.o pgm.o ppm.o pxm_base.o pxm_utils.o 2>&1
ar: creating libvx_pxm.a
ranlib libvx_pxm.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f pbm.h pcm.h
pgm.h ppm.h pxm_base.h pxm_utils.h vx_pxm.h
cp pbm.h pcm.h pgm.h ppm.h pxm_base.h pxm_utils.h vx_pxm.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_pxm.a
cp libvx_pxm.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_pxm Library ***

/usr/bin/g++ ascii85_filter.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ bit_filter.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ hex_filter.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ ps_filter.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ psout_filter.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ render_pbm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ render_pcm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ render_pgm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ render_ppm.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ renderinfo.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ rle_filter.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ uc_queue.cc -Wall -Wshadow  -DBLOCK4 -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_render.a ascii85_filter.o bit_filter.o hex_filter.o
ps_filter.o psout_filter.o render_pbm.o render_pcm.o render_pgm.o
render_ppm.o renderinfo.o rle_filter.o uc_queue.o 2>&1
ar: creating libvx_render.a
ranlib libvx_render.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
ascii85_filter.h bit_filter.h hex_filter.h ps_filter.h psout_filter.h
vx_render.h renderinfo.h rle_filter.h uc_queue.h
cp ascii85_filter.h bit_filter.h hex_filter.h ps_filter.h
psout_filter.h vx_render.h renderinfo.h rle_filter.h uc_queue.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_render.a
cp libvx_render.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_render Library ***

/usr/bin/g++ map_region.cc -Wall -Wshadow  -DBLOCK4 -c
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ vx_plot_util.cc -Wall -Wshadow  -DBLOCK4 -c
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ data_plane_plot.cc -Wall -Wshadow  -DBLOCK4 -c
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_plot_util.a map_region.o vx_plot_util.o data_plane_plot.o
2>&1
ar: creating libvx_plot_util.a
ranlib libvx_plot_util.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f map_region.h
vx_plot_util.h data_plane_plot.h
cp map_region.h vx_plot_util.h data_plane_plot.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_plot_util.a
cp libvx_plot_util.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_plot_util Library ***

/usr/bin/g++ moments.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ node.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ polyline.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ shapedata.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ set.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ interest.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mode_Conf.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ engine.cc -Wall -Wshadow   -DBLOCK4 -c
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_shapedata.a moments.o node.o polyline.o shapedata.o set.o
interest.o mode_Conf.o engine.o 2>&1
ar: creating libvx_shapedata.a
ranlib libvx_shapedata.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f moments.h
node.h polyline.h shape.h shapedata.h set.h interest.h mode_columns.h
engine.h mode_Conf.h vx_shapedata.h
cp moments.h node.h polyline.h shape.h shapedata.h set.h interest.h
mode_columns.h engine.h mode_Conf.h vx_shapedata.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_shapedata.a
cp libvx_shapedata.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_shapedata Library ***

/usr/bin/g++ apply_mask.cc -Wall -Wshadow  -c
-DMET_BASE=\"/home/marto/build/source/met/METv3.1\"
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ compute_ci.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ contable.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ contable_stats.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ contable_nx2.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
-I/usr/netcdf-3.6.3/include
/usr/bin/g++ met_stats.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ pair_base.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ pair_data_point.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ pair_data_ensemble.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
ar -rs libvx_statistics.a apply_mask.o compute_ci.o contable.o
contable_stats.o contable_nx2.o met_stats.o pair_base.o
pair_data_point.o pair_data_ensemble.o 2>&1
ar: creating libvx_statistics.a
ranlib libvx_statistics.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f apply_mask.h
compute_ci.h contable.h met_stats.h pair_base.h pair_data_point.h
pair_data_ensemble.h vx_statistics.h
cp apply_mask.h compute_ci.h contable.h met_stats.h pair_base.h
pair_data_point.h pair_data_ensemble.h vx_statistics.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_statistics.a
cp libvx_statistics.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_statistics Library ***

/usr/bin/g++ stat_columns.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ stat_hdr_columns.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
ar -rs libvx_stat_out.a stat_columns.o stat_hdr_columns.o 2>&1
ar: creating libvx_stat_out.a
ranlib libvx_stat_out.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f stat_columns.h
stat_hdr_columns.h vx_stat_out.h
cp stat_columns.h stat_hdr_columns.h vx_stat_out.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_stat_out.a
cp libvx_stat_out.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_stat_out Library ***

/usr/bin/g++ analysis_utils.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ by_case_info.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mask_poly.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mode_atts.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mode_job.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ mode_line.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
/usr/bin/g++ stat_job.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ stat_line.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
/usr/bin/g++ time_series.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include
ar -rs libvx_analysis_util.a analysis_utils.o by_case_info.o
mask_poly.o mode_atts.o mode_job.o mode_line.o stat_job.o stat_line.o
time_series.o 2>&1
ar: creating libvx_analysis_util.a
ranlib libvx_analysis_util.a
cd /home/marto/build/source/met/METv3.1/include ; rm -f
analysis_utils.h by_case_info.h mask_poly.h mode_atts.h
mode_analysis_columns.h mode_job.h mode_line.h stat_job.h stat_line.h
stat_offsets.h time_series.h vx_analysis_util.h
cp analysis_utils.h by_case_info.h mask_poly.h mode_atts.h
mode_analysis_columns.h mode_job.h mode_line.h stat_job.h stat_line.h
stat_offsets.h time_series.h vx_analysis_util.h
/home/marto/build/source/met/METv3.1/include
rm -f /home/marto/build/source/met/METv3.1/lib/libvx_analysis_util.a
cp libvx_analysis_util.a /home/marto/build/source/met/METv3.1/lib

*** Finished Making the vx_analysis_util Library ***



/usr/bin/g++ ensemble_stat_Conf.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
-I/usr/netcdf-3.6.3/include

/usr/bin/g++ ensemble_stat_conf_info.cc -Wall -Wshadow  -c
-I/home/marto/build/source/met/METv3.1/include -I/usr/include
-I/usr/netcdf-3.6.3/include

/usr/bin/g++ -o ensemble_stat ensemble_stat.cc ensemble_stat_Conf.o
ensemble_stat_conf_info.o \
-Wall -Wshadow  -DMET_BASE=\"/home/marto/build/source/met/METv3.1\" \
-I/home/marto/build/source/met/METv3.1/include
-I/usr/netcdf-3.6.3/include -I/usr/include \
-L/home/marto/build/source/met/METv3.1/lib -L/usr/netcdf-3.6.3/lib64
-L/usr/lib64 \
-lvx_stat_out \
-lvx_statistics \
-lvx_shapedata \
-lvx_gsl_prob \
-lvx_analysis_util \
-lvx_data2d_factory \
-lvx_data2d_grib \
-lvx_data2d_nc_met \
-lvx_data2d_nc_pinterp \
-lvx_data2d \
-lvx_nc_util \
-lvx_grid \
-lvx_math \
-lvx_cal \
-lvx_econfig \
-lvx_util \
-lvx_color \
-lvx_log \
-lm -lnetcdf_c++ -lnetcdf -lgsl \

/usr/lib64/libgsl.so: undefined reference to `cblas_ztrsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_scasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_izamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_dnrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_zdotc_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_cher2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_cdotu_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_ddot'
/usr/lib64/libgsl.so: undefined reference to `cblas_zdscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_zsyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_chemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_ccopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_isamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_cswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgeru'
/usr/lib64/libgsl.so: undefined reference to `cblas_zher'
/usr/lib64/libgsl.so: undefined reference to `cblas_daxpy'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_cdotc_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_csyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_sdsdot'
/usr/lib64/libgsl.so: undefined reference to `cblas_csscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_dger'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_cscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_icamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyr'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsymv'
/usr/lib64/libgsl.so: undefined reference to `cblas_strsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_srot'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyr'
/usr/lib64/libgsl.so: undefined reference to `cblas_srotmg'
/usr/lib64/libgsl.so: undefined reference to `cblas_scnrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_snrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgeru'
/usr/lib64/libgsl.so: undefined reference to `cblas_zhemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dcopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyr2'
/usr/lib64/libgsl.so: undefined reference to `cblas_drotmg'
/usr/lib64/libgsl.so: undefined reference to `cblas_ztrmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_srotm'
/usr/lib64/libgsl.so: undefined reference to `cblas_chemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dznrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_drotm'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_strsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_sdot'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_idamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zhemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zsyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_dzasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_csyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_dscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgerc'
/usr/lib64/libgsl.so: undefined reference to `cblas_sgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zher2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyr2'
/usr/lib64/libgsl.so: undefined reference to `cblas_zswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_dgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_sgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_csymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_strmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zsymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_srotg'
/usr/lib64/libgsl.so: undefined reference to `cblas_sscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_drotg'
/usr/lib64/libgsl.so: undefined reference to `cblas_zcopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_dswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_cher'
/usr/lib64/libgsl.so: undefined reference to `cblas_ztrmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_zherk'
/usr/lib64/libgsl.so: undefined reference to `cblas_scopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_caxpy'
/usr/lib64/libgsl.so: undefined reference to `cblas_zscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgerc'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_ztrsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_cherk'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_sger'
/usr/lib64/libgsl.so: undefined reference to `cblas_strmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_saxpy'
/usr/lib64/libgsl.so: undefined reference to `cblas_dgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_drot'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsdot'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zdotu_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_sswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_cher2'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssymv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_zher2'
/usr/lib64/libgsl.so: undefined reference to `cblas_sasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_zaxpy'
collect2: ld returned 1 exit status
make[4]: *** [ensemble_stat] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

------------------------------------------------
Subject: trouble compiling METv3.1
From: Martin Ivanov
Time: Mon Apr 23 10:10:36 2012



###############################################################################

   ##
   ##  Begin Variables to be modified before building
   ##  Default settings for GNU compilers
   ##

###############################################################################

# Path to GNU Make command
MAKE         = /usr/bin/make

# Architecture flags
ARCH_FLAGS   = -DBLOCK4

# Path to the C++ Compiler
# C++ compiler flags
# Any additional required libraries
CXX          = /usr/bin/g++
CXX_FLAGS    = -Wall -Wshadow # -g -m32
CXX_LIBS     =

# Path to the Fortran Compiler
# Fortran compiler flags
# Any additional required libraries
FC           = /usr/bin/gfortran
FC_FLAGS     = -Wall -Wshadow -static -ff2c # -g -m32
FC_LIBS      = -lgfortran

# Make print options
PRINT_OPTS   = --no-print-directory

# Top level directory for the NetCDF library
# NetCDF include directory specified as: -I/your/include/path
# NetCDF library directory specified as: -L/your/library/path
NETCDF_BASE  = /usr/netcdf-3.6.3
NETCDF_INCS  = -I$(NETCDF_BASE)/include
NETCDF_LIBS  = -L$(NETCDF_BASE)/lib64

# Top level directory for BUFRLIB
# BUFRLIB include directory specified as: -I/your/include/path
# BUFRLIB library directory specified as: -L/your/library/path
BUFR_BASE    = /usr/lib64
BUFR_INCS    = -I$(BUFR_BASE)
BUFR_LIBS    = -L$(BUFR_BASE)

# Top level directory for the GNU Scientific Library (GSL) if it's not
# installed in a standard location.
# GSL include directory specified as: -I/your/include/path
# GSL library directory specified as: -L/your/library/path
GSL_BASE     = /usr
GSL_INCS     = -I$(GSL_BASE)/include
GSL_LIBS     = -L$(GSL_BASE)/lib64

# Top level directory for the F2C or G2C Library if it's not installed
in a
# standard location.
# F2C include directory specified as: -I/your/include/path
# F2C library directory containing libf2c.a or libg2c.a and specified
as:
# -L/your/library/path
# Name of the library to be used: -lf2c or -lg2c
# NOTE: Only required for the GNU g77 Fortran compiler
F2C_BASE     =
F2C_INCS     =
F2C_LIBS     =
F2C_LIBNAME  =

# Optional flags to disable the compilation of MET tools
# Specify a non-zero value to enable the compilation of the tool
ENABLE_ASCII2NC        = 1
ENABLE_ENSEMBLE_STAT   = 1
ENABLE_GEN_POLY_MASK   = 1
ENABLE_GRID_STAT       = 1
ENABLE_MADIS2NC        = 1
ENABLE_MODE            = 1
ENABLE_MODE_ANALYSIS   = 1
ENABLE_PB2NC           = 1
ENABLE_PCP_COMBINE     = 1
ENABLE_PLOT_DATA_PLANE = 1
ENABLE_PLOT_POINT_OBS  = 1
ENABLE_POINT_STAT      = 1
ENABLE_STAT_ANALYSIS   = 1
ENABLE_WAVELET_STAT    = 1
ENABLE_WWMCA           = 1

###############################################################################

   ##
   ##  End Variables to be modified before building
   ##

###############################################################################


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Paul Oldenburg
Time: Mon Apr 23 10:16:35 2012

Martin,

The error messages indicate that the linker cannot find the GSL
library gslclas.  Please note my suggestions from the
first response:

 > Regarding GSL, if you used an installer utility like RPM, you may
want to make sure that you installed
 > the GSL development package, not just the utility itself.  Your
system obviously has the GSL header
 > files, but I think it might be worth checking that /usr/lib64
contains the libraries gsl and gslcblas.

You may already have the library gslcblas on your system, and if so,
please add it to the list of library folders like this:

GSL_LIBS     = -L$(GSL_BASE)/lib64 -L[/folder/containing/libgslcblas]

If you do not have that library on your system, either use an
installer utility like RPM to install it or download and
build GSL manually using the instructions on the MET online tutorial
website:
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.1/compilation/req_libs.php.

Please let me know if you have any further questions.

Paul


On 04/23/2012 10:10 AM, Martin Ivanov via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56017>
>
> Dear Sir,
>
> Thank You very much for Your swift reply.
> I removed the -static flag from the CXX_FLAGS, as You can see in the
> user_defs.mk file I am
> attaching. I also checked that the libraries You mentioned are in
> /usr/lib64. Indeed they were, but only the shared
> ones. So I rebuilt gsl also with static libs. Finally, the building
of
> METv3.1 also fails, but this time with a different
> error, as You can see in the attachment make_met.log. This different
> error message occurred after I
> removed the -static flag. Including or not the static gls libraries
has
> no effect whatsoever on the compilation error.
>
> Thank You very much for Your attention. I am looking forward to
further
> assistance.
>
> Best regards,
>
>
>    Dr. Martin Ivanov
>    Eberhard-Karls-Universität Tübingen
>    Mathematisch-Naturwissenschaftliche Fakultät
>    Fachbereich Geowissenschaften Water&  Earth System Science (WESS)
>    Keplerstraße 17, 72074 Tübingen, Deutschland Tel. +4970712975023
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Martin Ivanov
Time: Mon Apr 23 12:48:04 2012

Dear Mr Oldenburg,

Thank You very much indeed for Your due assistance.
The packages in Slackware are not separated in dev and user branches,
they come as a whole.
The gsl libraries are in /usr/lib64. Here is the proof:
marto at marto:~/build/source/met/METv3.1$ ls /usr/lib64/libgsl*
/usr/lib64/libgsl.a    /usr/lib64/libgsl.so@
/usr/lib64/libgsl.so.0.16.0*  /usr/lib64/libgslcblas.la*
/usr/lib64/libgslcblas.so.0@
/usr/lib64/libgsl.la*  /usr/lib64/libgsl.so.0@
/usr/lib64/libgslcblas.a      /usr/lib64/libgslcblas.so@
/usr/lib64/libgslcblas.so.0.0.0*

Nevertheless that stubborn compilation error persists:

-lvx_util \
-lvx_color \
-lvx_log \
-lm -lnetcdf_c++ -lnetcdf -lgsl \

/usr/lib64/libgsl.so: undefined reference to `cblas_ztrsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_scasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_izamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_dnrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_zdotc_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_cher2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_cdotu_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_ddot'
/usr/lib64/libgsl.so: undefined reference to `cblas_zdscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_zsyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_chemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_ccopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_isamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_cswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgeru'
/usr/lib64/libgsl.so: undefined reference to `cblas_zher'
/usr/lib64/libgsl.so: undefined reference to `cblas_daxpy'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_cdotc_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_csyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_sdsdot'
/usr/lib64/libgsl.so: undefined reference to `cblas_csscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_dger'
/usr/lib64/libgsl.so: undefined reference to `cblas_ctrsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_cscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_icamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyr'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsymv'
/usr/lib64/libgsl.so: undefined reference to `cblas_strsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_srot'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyr'
/usr/lib64/libgsl.so: undefined reference to `cblas_srotmg'
/usr/lib64/libgsl.so: undefined reference to `cblas_scnrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_snrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgeru'
/usr/lib64/libgsl.so: undefined reference to `cblas_zhemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dcopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsyr2'
/usr/lib64/libgsl.so: undefined reference to `cblas_drotmg'
/usr/lib64/libgsl.so: undefined reference to `cblas_ztrmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_srotm'
/usr/lib64/libgsl.so: undefined reference to `cblas_chemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dznrm2'
/usr/lib64/libgsl.so: undefined reference to `cblas_drotm'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_strsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_sdot'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_idamax'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zhemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zsyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_dzasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_csyr2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_dscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_zgerc'
/usr/lib64/libgsl.so: undefined reference to `cblas_sgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zher2k'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyr2'
/usr/lib64/libgsl.so: undefined reference to `cblas_zswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_dgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_sgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_csymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_strmm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zsymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_srotg'
/usr/lib64/libgsl.so: undefined reference to `cblas_sscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_drotg'
/usr/lib64/libgsl.so: undefined reference to `cblas_zcopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_dswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_cher'
/usr/lib64/libgsl.so: undefined reference to `cblas_ztrmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_zherk'
/usr/lib64/libgsl.so: undefined reference to `cblas_scopy'
/usr/lib64/libgsl.so: undefined reference to `cblas_caxpy'
/usr/lib64/libgsl.so: undefined reference to `cblas_zscal'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgerc'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssymm'
/usr/lib64/libgsl.so: undefined reference to `cblas_ztrsm'
/usr/lib64/libgsl.so: undefined reference to `cblas_cherk'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssyrk'
/usr/lib64/libgsl.so: undefined reference to `cblas_sger'
/usr/lib64/libgsl.so: undefined reference to `cblas_strmv'
/usr/lib64/libgsl.so: undefined reference to `cblas_saxpy'
/usr/lib64/libgsl.so: undefined reference to `cblas_dgemv'
/usr/lib64/libgsl.so: undefined reference to `cblas_drot'
/usr/lib64/libgsl.so: undefined reference to `cblas_dsdot'
/usr/lib64/libgsl.so: undefined reference to `cblas_cgemm'
/usr/lib64/libgsl.so: undefined reference to `cblas_zdotu_sub'
/usr/lib64/libgsl.so: undefined reference to `cblas_sswap'
/usr/lib64/libgsl.so: undefined reference to `cblas_cher2'
/usr/lib64/libgsl.so: undefined reference to `cblas_ssymv'
/usr/lib64/libgsl.so: undefined reference to `cblas_dtrsv'
/usr/lib64/libgsl.so: undefined reference to `cblas_zher2'
/usr/lib64/libgsl.so: undefined reference to `cblas_sasum'
/usr/lib64/libgsl.so: undefined reference to `cblas_zaxpy'
collect2: ld returned 1 exit status
make[4]: *** [ensemble_stat] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


Is it perhaps a version incompatibility with gsl-1.15? Maybe I should
downgrade gsl? If so, which version should I try? Should I also make
the
static libraries? In Slackware there is a convention to only build
shared libraries, but if necessary I will also build the static ones
too.
I am looking forward for further assistance.
Best regards,

--
Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften
Water&  Earth System Science (WESS)
Keplerstraße 17, 72074 Tübingen, Deutschland
Tel. +4970712975023nches,


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Paul Oldenburg
Time: Mon Apr 23 13:00:37 2012

Martin,

I'm sorry, I should have noticed that the Makefiles in your version of
MET do not specifically link against the gslcblas
library.  If you are not using the -static compiler flag, you must add
-lgslcblas to all the Makefiles after the
inclusion of -lgsl, perhaps using a one-liner like this (called from
the MET installation directory with the bash shell):

$ perl -pi.bak -e 's/\-gsl/-gsl -gslcblas/' $(find . -name 'Makefile')

Please check a couple of your Makefiles to make sure the change looks
correct, then run a clean rebuild of MET.  I think
this will tell the linker where to find the undefined methods in the
error message.

Paul


On 04/23/2012 12:48 PM, Martin Ivanov via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56017>
>
> Dear Mr Oldenburg,
>
> Thank You very much indeed for Your due assistance.
> The packages in Slackware are not separated in dev and user
branches,
> they come as a whole.
> The gsl libraries are in /usr/lib64. Here is the proof:
> marto at marto:~/build/source/met/METv3.1$ ls /usr/lib64/libgsl*
> /usr/lib64/libgsl.a    /usr/lib64/libgsl.so@
> /usr/lib64/libgsl.so.0.16.0*  /usr/lib64/libgslcblas.la*
> /usr/lib64/libgslcblas.so.0@
> /usr/lib64/libgsl.la*  /usr/lib64/libgsl.so.0@
> /usr/lib64/libgslcblas.a      /usr/lib64/libgslcblas.so@
> /usr/lib64/libgslcblas.so.0.0.0*
>
> Nevertheless that stubborn compilation error persists:
>
> -lvx_util \
> -lvx_color \
> -lvx_log \
> -lm -lnetcdf_c++ -lnetcdf -lgsl \
>
> /usr/lib64/libgsl.so: undefined reference to `cblas_ztrsv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_scasum'
> /usr/lib64/libgsl.so: undefined reference to `cblas_izamax'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dnrm2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zdotc_sub'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cgemv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cher2k'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cdotu_sub'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ddot'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zdscal'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zsyr2k'
> /usr/lib64/libgsl.so: undefined reference to `cblas_chemm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zgemv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ccopy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_isamax'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ctrmv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cswap'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cgeru'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zher'
> /usr/lib64/libgsl.so: undefined reference to `cblas_daxpy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ctrsv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cdotc_sub'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zgemm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_csyrk'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ctrmm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sdsdot'
> /usr/lib64/libgsl.so: undefined reference to `cblas_csscal'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dger'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ctrsm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cscal'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsyrk'
> /usr/lib64/libgsl.so: undefined reference to `cblas_icamax'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsyr'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsyr2k'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dtrmv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dasum'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsymv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_strsm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_srot'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ssyr'
> /usr/lib64/libgsl.so: undefined reference to `cblas_srotmg'
> /usr/lib64/libgsl.so: undefined reference to `cblas_scnrm2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_snrm2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zgeru'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zhemv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dcopy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsyr2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_drotmg'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ztrmm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dtrmm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_srotm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_chemv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dznrm2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_drotm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsymm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_strsv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sdot'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ssyr2k'
> /usr/lib64/libgsl.so: undefined reference to `cblas_idamax'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dtrsm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zhemm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zsyrk'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dzasum'
> /usr/lib64/libgsl.so: undefined reference to `cblas_csyr2k'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dscal'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zgerc'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sgemm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zher2k'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ssyr2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zswap'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dgemm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sgemv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_csymm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_strmm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zsymm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_srotg'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sscal'
> /usr/lib64/libgsl.so: undefined reference to `cblas_drotg'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zcopy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dswap'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cher'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ztrmv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zherk'
> /usr/lib64/libgsl.so: undefined reference to `cblas_scopy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_caxpy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zscal'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cgerc'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ssymm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ztrsm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cherk'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ssyrk'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sger'
> /usr/lib64/libgsl.so: undefined reference to `cblas_strmv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_saxpy'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dgemv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_drot'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dsdot'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cgemm'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zdotu_sub'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sswap'
> /usr/lib64/libgsl.so: undefined reference to `cblas_cher2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_ssymv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_dtrsv'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zher2'
> /usr/lib64/libgsl.so: undefined reference to `cblas_sasum'
> /usr/lib64/libgsl.so: undefined reference to `cblas_zaxpy'
> collect2: ld returned 1 exit status
> make[4]: *** [ensemble_stat] Error 1
> make[3]: *** [all] Error 2
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
>
>
> Is it perhaps a version incompatibility with gsl-1.15? Maybe I
should
> downgrade gsl? If so, which version should I try? Should I also make
the
> static libraries? In Slackware there is a convention to only build
> shared libraries, but if necessary I will also build the static ones
too.
> I am looking forward for further assistance.
> Best regards,
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Martin Ivanov
Time: Mon Apr 23 13:47:08 2012

Dear Mr Oldenburg,

Thank You very much for Your helpfulness. The command:

perl -pi.bak -e 's/\-gsl/-gsl -gslcblas/' $(find . -name 'Makefile')

does not seem to add -gslcblas to any Makefile. After executing it, I
ran:

grep 'gslcblas' `find -name Makefile`

but there was no output. I also checked:

grep 'gsl' `find -name Makefile`

to make sure, but there was no -lgslcblas after -lgsl anywhere.


As I am not familiar with this sed/awk and the like stuff, could You
please provide the exact command I need to issue?

Again, thank You very much for Your assistance.

Best regards,

Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften Water & Earth System Science (WESS)
Keplerstraße 17, 72074 Tübingen,
Deutschland Tel. +4970712975023


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Paul Oldenburg
Time: Mon Apr 23 13:55:32 2012

Martin,

The command that I sent was a shortcut to performing the process of
adding -lgslcblas to all Makefiles in the MET build
tree where -lgsl is present.  The more direct way (but much more
boring) to do this is to use a text editor to add the
library by hand to each Makefile.  You can at least use the find
command to locate all Makefiles in the MET build tree
that link gsl.  For example, below is the command and output that I
used to print a list of the Makefiles to be modified
on my system with an instance of MET similar to one you are using.
Then, I show the output of the same command after
adding gslcblas in all the necessary places.  Please let me know if
you have any questions.

Paul


$ egrep '\-lgsl' `find . 'Makefile'`
./src/tools/core/grid_stat/Makefile:    -lm -lnetcdf_c++ -lnetcdf
-lgsl \
./src/tools/core/ensemble_stat/Makefile:        -lm -lnetcdf_c++
-lnetcdf -lgsl \
./src/tools/core/mode_analysis/Makefile:        -lm -lnetcdf_c++
-lnetcdf -lgsl \
./src/tools/core/mode/Makefile: -lm -lnetcdf_c++ -lnetcdf -lgsl \
./src/tools/core/wavelet_stat/Makefile: -lm -lnetcdf_c++ -lnetcdf
-lgsl \
./src/tools/core/stat_analysis/Makefile:        -lm -lnetcdf_c++
-lnetcdf -lgsl \
./src/tools/other/wwmca_tool/Makefile:  -lm -lnetcdf_c++ -lnetcdf
-lgsl \
./src/tools/other/wwmca_tool/Makefile:  -lm -lnetcdf_c++ -lnetcdf
-lgsl \
./src/tools/other/pb2nc/Makefile:       -lm -lnetcdf_c++ -lnetcdf
-lgsl -lbufr \
./src/tools/other/gen_poly_mask/Makefile:       -lm -lnetcdf_c++
-lnetcdf -lgsl \
./src/tools/other/plot_point_obs/Makefile:      -lm -lnetcdf_c++
-lnetcdf -lgsl \
./src/tools/other/madis2nc/Makefile:    -lm -lnetcdf_c++ -lnetcdf
-lgsl \

$ egrep '\-lgsl' `find . 'Makefile'`
./src/tools/core/grid_stat/Makefile:    -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \
./src/tools/core/ensemble_stat/Makefile:        -lm -lnetcdf_c++
-lnetcdf -lgsl -lgslcblas \
./src/tools/core/mode_analysis/Makefile:        -lm -lnetcdf_c++
-lnetcdf -lgsl -lgslcblas \
./src/tools/core/mode/Makefile: -lm -lnetcdf_c++ -lnetcdf -lgsl
-lgslcblas \
./src/tools/core/wavelet_stat/Makefile: -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \
./src/tools/core/stat_analysis/Makefile:        -lm -lnetcdf_c++
-lnetcdf -lgsl -lgslcblas \
./src/tools/core/point_stat/Makefile:   -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \
./src/tools/core/point_stat/Makefile:   -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \
./src/tools/other/wwmca_tool/Makefile:  -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \
./src/tools/other/wwmca_tool/Makefile:  -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \
./src/tools/other/pb2nc/Makefile:       -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas -lbufr \
./src/tools/other/gen_poly_mask/Makefile:       -lm -lnetcdf_c++
-lnetcdf -lgsl -lgslcblas \
./src/tools/other/plot_point_obs/Makefile:      -lm -lnetcdf_c++
-lnetcdf -lgsl -lgslcblas \
./src/tools/other/madis2nc/Makefile:    -lm -lnetcdf_c++ -lnetcdf
-lgsl -lgslcblas \



On 04/23/2012 01:47 PM, Martin Ivanov via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56017>
>
> Dear Mr Oldenburg,
>
> Thank You very much for Your helpfulness. The command:
>
> perl -pi.bak -e 's/\-gsl/-gsl -gslcblas/' $(find . -name 'Makefile')
>
> does not seem to add -gslcblas to any Makefile. After executing it,
I ran:
>
> grep 'gslcblas' `find -name Makefile`
>
> but there was no output. I also checked:
>
> grep 'gsl' `find -name Makefile`
>
> to make sure, but there was no -lgslcblas after -lgsl anywhere.
>
>
> As I am not familiar with this sed/awk and the like stuff, could You
> please provide the exact command I need to issue?
>
> Again, thank You very much for Your assistance.
>
> Best regards,
>
> Dr. Martin Ivanov
> Eberhard-Karls-Universität Tübingen
> Mathematisch-Naturwissenschaftliche Fakultät
> Fachbereich Geowissenschaften Water&  Earth System Science (WESS)
> Keplerstraße 17, 72074 Tübingen,
> Deutschland Tel. +4970712975023
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Martin Ivanov
Time: Mon Apr 23 23:37:16 2012

Dear Mr Oldenburg,

I am really obliged to You for Your assistance.
In the top-level directory of METv3.1 I issued:
find . -name 'Makefile' -exec sed -i 's/-lgsl\b/& &cblas/g' \{} \;
This did the trick and MET compiled successfully. However, when I
tested
the scripts,
they all complained of not finding the shared library
libnetcdf_c++.so.4.
On my system, as I mentioned earlier, it is in an unusual place: in
/usr/netcdf-3.6.3/lib64.
Configuring the user_defs.mk file told the compiler where to find the
shared libraries,
but the scripts themselves look for these in /usr/lib64.
I "solved" the problem by making soft links to the files
/usr/netcdf-3.6.3/lib64/libnetcdf_c++.so.4
and /usr/netcdf-3.6.3/lib64/libnetcdf.so.4 in /usr/lib64 . The testing
of all files was successful.
Isn't there a way to get around this before the compilation or through
setting some environmental
variable?

Best regards,

--
Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften
Water&  Earth System Science (WESS)
Keplerstraße 17, 72074 Tübingen, Deutschland
Tel. +4970712975023


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Paul Oldenburg
Time: Tue Apr 24 07:36:33 2012

Martin,

I have not encountered the run-time problem of finding the NetCDF
libraries.  Perhaps this is because we typically
statically link those libraries?  I have also run MET with dynamically
linked libraries on redhat linux with no such
problems.  You may need to adjust your LD_LIBRARY_PATH environment
variable to include /usr/netcdf-3.6.3/lib64.  I am
glad to hear that MET appears to be running.  Please let me know if
you have any other questions.

Thanks,

Paul


On 04/23/2012 11:37 PM, Martin Ivanov via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56017>
>
> Dear Mr Oldenburg,
>
> I am really obliged to You for Your assistance.
> In the top-level directory of METv3.1 I issued:
> find . -name 'Makefile' -exec sed -i 's/-lgsl\b/&  &cblas/g' \{} \;
> This did the trick and MET compiled successfully. However, when I
tested
> the scripts,
> they all complained of not finding the shared library
libnetcdf_c++.so.4.
> On my system, as I mentioned earlier, it is in an unusual place: in
> /usr/netcdf-3.6.3/lib64.
> Configuring the user_defs.mk file told the compiler where to find
the
> shared libraries,
> but the scripts themselves look for these in /usr/lib64.
> I "solved" the problem by making soft links to the files
> /usr/netcdf-3.6.3/lib64/libnetcdf_c++.so.4
> and /usr/netcdf-3.6.3/lib64/libnetcdf.so.4 in /usr/lib64 . The
testing
> of all files was successful.
> Isn't there a way to get around this before the compilation or
through
> setting some environmental
> variable?
>
> Best regards,
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #56017] trouble compiling METv3.1
From: Martin Ivanov
Time: Tue Apr 24 10:53:08 2012

Dear Mr Oldenburg,

Thank You very much for Your assistance and patience.
I am glad to tell You that finally everything is all right with my
build
of MET.
Setting the environmental variable LD_LIBRARY_PATH did the trick, but
I
solved the issue
more elegantly by simply adding /usr/netcdf-3.6.3/lib64 to the file
/etc/ld.so.conf and running
ldconfig.

I just wonder why I had to modify the Makefiles to compile MET. Is it
just because Slackware prefers shared instead of static libraries?
Will
I have to do the same hacking when the next release on MET comes and I
have to upgrade?

Once again, many thanks for Your help and thank for the time You
bestowed on my issue.

I wish You fruitful work.

Best regards,

--
Dr. Martin Ivanov
Eberhard-Karls-Universität Tübingen
Mathematisch-Naturwissenschaftliche Fakultät
Fachbereich Geowissenschaften
Water&  Earth System Science (WESS)
Keplerstraße 17, 72074 Tübingen, Deutschland
Tel. +4970712975023


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


More information about the Met_help mailing list