[Met_help] [rt.rap.ucar.edu #53850] History for libgsl.so: undefined reference to `cblas .....

Paul Oldenburg via RT met_help at ucar.edu
Mon Feb 20 12:33:15 MST 2012


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

Dear all,

I have had a couple of problems while setting up MET on my personal laptop.
I did manage to solve my earlier problem with the support I got from
met_help (Paul). My current problem is related to "gsl", as in indicated in
the subject. I, attach here with, the user_def.mk and make_met.log files.
Kindly advise me accordingly.

Endalk

-- 
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov


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

Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 06:11:26 2012

Files are attached now!

> Dear all,
>
> I have had a couple of problems while setting up MET on my personal
laptop.
> I did manage to solve my earlier problem with the support I got from
> met_help (Paul). My current problem is related to "gsl", as in
indicated in
> the subject. I, attach here with, the user_def.mk and make_met.log
files.
> Kindly advise me accordingly.
>
> Endalk
>
> --
>
>
-----------------------------------------------------------------------------------
> Endalkachew Bekele
> NOAA Climate Prediction Center / African Desk
> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> Tel: (301) 763 8000 Ext. 7014
> e-mail: endalkachew.bekele at noaa.gov
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 08:35:56 2012

Endalk,

I researched your error message, and it appears that some
compiler/make configurations require you to link the library
libgslcblas.so when building with GSL.  Can you please try to run the
command below from your directory
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat directory?  If
this command works, then you will have to modify
the Makefiles for the MET executables to add that linker flag.  Please
let me know if this is successful.

Thanks,

Paul


/usr/bin/c++ -o ensemble_stat ensemble_stat.cc ensemble_stat_Conf.o
ensemble_stat_conf_info.o \
-Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
-I/home/endbek/MET/METv3.1/include -I/home/endbek/MET/netcdf/include
-I/home/endbek/MET/gsl/include \
-L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
-L/home/endbek/MET/gsl/lib \
-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 -lgslcblas\
-L/usr/lib



On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Files are attached now!
>
>> Dear all,
>>
>> I have had a couple of problems while setting up MET on my personal
laptop.
>> I did manage to solve my earlier problem with the support I got
from
>> met_help (Paul). My current problem is related to "gsl", as in
indicated in
>> the subject. I, attach here with, the user_def.mk and make_met.log
files.
>> Kindly advise me accordingly.
>>
>> Endalk
>>
>> --
>>
>>
-----------------------------------------------------------------------------------
>> Endalkachew Bekele
>> NOAA Climate Prediction Center / African Desk
>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>> Tel: (301) 763 8000 Ext. 7014
>> e-mail: endalkachew.bekele at noaa.gov
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 09:05:09 2012

Hi Paul,

Thanks again for your help.

I got the error below when I do "make" from
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder

linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
make

g++ ensemble_stat_Conf.cc  -c -I
g++: error: missing path after ‘-I’
make: *** [ensemble_stat_Conf.o] Error 1


Endalk


On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> I researched your error message, and it appears that some
compiler/make
> configurations require you to link the library
> libgslcblas.so when building with GSL.  Can you please try to run
the
> command below from your directory
> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat directory?  If
this
> command works, then you will have to modify
> the Makefiles for the MET executables to add that linker flag.
Please let
> me know if this is successful.
>
> Thanks,
>
> Paul
>
>
> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc ensemble_stat_Conf.o
> ensemble_stat_conf_info.o \
> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
> -I/home/endbek/MET/METv3.1/include -I/home/endbek/MET/netcdf/include
> -I/home/endbek/MET/gsl/include \
> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
> -L/home/endbek/MET/gsl/lib \
> -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 -lgslcblas\
> -L/usr/lib
>
>
>
> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Files are attached now!
> >
> >> Dear all,
> >>
> >> I have had a couple of problems while setting up MET on my
personal
> laptop.
> >> I did manage to solve my earlier problem with the support I got
from
> >> met_help (Paul). My current problem is related to "gsl", as in
> indicated in
> >> the subject. I, attach here with, the user_def.mk and
make_met.log
> files.
> >> Kindly advise me accordingly.
> >>
> >> Endalk
> >>
> >> --
> >>
> >>
>
-----------------------------------------------------------------------------------
> >> Endalkachew Bekele
> >> NOAA Climate Prediction Center / African Desk
> >> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >> Tel: (301) 763 8000 Ext. 7014
> >> e-mail: endalkachew.bekele at noaa.gov
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 09:12:59 2012

Endalk,

Running make from any directory other than the top-level MET directory
will not work.  Instead of trying to run the
compiler command directly, please rename the file
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
Makefile_orig and put the attached Makefile in it's place.  Then, run
"make" from the top-level directory
/home/endbek/MET/METv3.1.

Paul


On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Hi Paul,
>
> Thanks again for your help.
>
> I got the error below when I do "make" from
> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
>
> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
make
>
> g++ ensemble_stat_Conf.cc  -c -I
> g++: error: missing path after ‘-I’
> make: *** [ensemble_stat_Conf.o] Error 1
>
>
> Endalk
>
>
> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> I researched your error message, and it appears that some
compiler/make
>> configurations require you to link the library
>> libgslcblas.so when building with GSL.  Can you please try to run
the
>> command below from your directory
>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat directory?
If this
>> command works, then you will have to modify
>> the Makefiles for the MET executables to add that linker flag.
Please let
>> me know if this is successful.
>>
>> Thanks,
>>
>> Paul
>>
>>
>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc ensemble_stat_Conf.o
>> ensemble_stat_conf_info.o \
>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
>> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
>> -I/home/endbek/MET/gsl/include \
>> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
>> -L/home/endbek/MET/gsl/lib \
>> -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 -lgslcblas\
>> -L/usr/lib
>>
>>
>>
>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Files are attached now!
>>>
>>>> Dear all,
>>>>
>>>> I have had a couple of problems while setting up MET on my
personal
>> laptop.
>>>> I did manage to solve my earlier problem with the support I got
from
>>>> met_help (Paul). My current problem is related to "gsl", as in
>> indicated in
>>>> the subject. I, attach here with, the user_def.mk and
make_met.log
>> files.
>>>> Kindly advise me accordingly.
>>>>
>>>> Endalk
>>>>
>>>> --
>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>> Endalkachew Bekele
>>>> NOAA Climate Prediction Center / African Desk
>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>> Tel: (301) 763 8000 Ext. 7014
>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 09:12:59 2012

# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
# ** Copyright UCAR (c) 1992 - 2012
# ** University Corporation for Atmospheric Research (UCAR)
# ** National Center for Atmospheric Research (NCAR)
# ** Research Applications Lab (RAL)
# ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*

########################################################################
#
# Makefile for the ensemble_stat tool
#
########################################################################


EXECUTABLES = ensemble_stat


OBJECTS     = ensemble_stat_Conf.o \
              ensemble_stat_conf_info.o


LIBRARIES   =


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


HEADERS     =


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


all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
	@ echo
	@ echo "*** Finished Making the ensemble_stat Tool ***"
	@ echo


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


   ##
   ##  objects
   ##


ensemble_stat_Conf.o: ensemble_stat_Conf.cc
	@ echo
	$(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c -I$(MET_INC_DIR)
$(GSL_INCS) $(NETCDF_INCS)


ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
	@ echo
	$(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c -I$(MET_INC_DIR)
$(GSL_INCS) $(NETCDF_INCS)


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


   ##
   ##  libraries
   ##


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


   ##
   ##  executables
   ##


ensemble_stat: ensemble_stat.cc $(OBJECTS)
	@ echo
	$(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS) \
	$(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
   -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS) \
   -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS) \
	-lvx_stat_out \
	-lvx_statistics \
	-lvx_shapedata \
	-lvx_gsl_prob \
	-lvx_analysis_util \
	-lvx_data2d_factory \
	-lvx_data2d_grib $(GRIB2_LIBS) \
	-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 -lgslcblas \
	$(CXX_LIBS)
	cp $(EXECUTABLES) $(MET_BIN_DIR)


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


clean:
	rm -f *.a *.o temp junk core a.out $(OBJECTS) $(LIBRARIES)
$(EXECUTABLES)
	rm -f $(MET_BIN_DIR)/ensemble_stat


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


.PHONY: all clean


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


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 09:39:44 2012

Paul,

Please find the attached log file. I observe changes in the error
message.
Thanks,
Endalk


On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> Running make from any directory other than the top-level MET
directory
> will not work.  Instead of trying to run the
> compiler command directly, please rename the file
> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
> Makefile_orig and put the attached Makefile in it's place.  Then,
run
> "make" from the top-level directory
> /home/endbek/MET/METv3.1.
>
> Paul
>
>
> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Hi Paul,
> >
> > Thanks again for your help.
> >
> > I got the error below when I do "make" from
> > /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
> >
> > linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
make
> >
> > g++ ensemble_stat_Conf.cc  -c -I
> > g++: error: missing path after ‘-I’
> > make: *** [ensemble_stat_Conf.o] Error 1
> >
> >
> > Endalk
> >
> >
> > On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> I researched your error message, and it appears that some
compiler/make
> >> configurations require you to link the library
> >> libgslcblas.so when building with GSL.  Can you please try to run
the
> >> command below from your directory
> >> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat directory?
If
> this
> >> command works, then you will have to modify
> >> the Makefiles for the MET executables to add that linker flag.
Please
> let
> >> me know if this is successful.
> >>
> >> Thanks,
> >>
> >> Paul
> >>
> >>
> >> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
ensemble_stat_Conf.o
> >> ensemble_stat_conf_info.o \
> >> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
> >> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
> >> -I/home/endbek/MET/gsl/include \
> >> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
> >> -L/home/endbek/MET/gsl/lib \
> >> -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 -lgslcblas\
> >> -L/usr/lib
> >>
> >>
> >>
> >> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Files are attached now!
> >>>
> >>>> Dear all,
> >>>>
> >>>> I have had a couple of problems while setting up MET on my
personal
> >> laptop.
> >>>> I did manage to solve my earlier problem with the support I got
from
> >>>> met_help (Paul). My current problem is related to "gsl", as in
> >> indicated in
> >>>> the subject. I, attach here with, the user_def.mk and
make_met.log
> >> files.
> >>>> Kindly advise me accordingly.
> >>>>
> >>>> Endalk
> >>>>
> >>>> --
> >>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>> Endalkachew Bekele
> >>>> NOAA Climate Prediction Center / African Desk
> >>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>> Tel: (301) 763 8000 Ext. 7014
> >>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>
> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> # ** Copyright UCAR (c) 1992 - 2012
> # ** University Corporation for Atmospheric Research (UCAR)
> # ** National Center for Atmospheric Research (NCAR)
> # ** Research Applications Lab (RAL)
> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>
>
########################################################################
> #
> # Makefile for the ensemble_stat tool
> #
>
########################################################################
>
>
> EXECUTABLES = ensemble_stat
>
>
> OBJECTS     = ensemble_stat_Conf.o \
>              ensemble_stat_conf_info.o
>
>
> LIBRARIES   =
>
>
>
########################################################################
>
>
> HEADERS     =
>
>
>
########################################################################
>
>
> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>        @ echo
>        @ echo "*** Finished Making the ensemble_stat Tool ***"
>        @ echo
>
>
>
########################################################################
>
>
>   ##
>   ##  objects
>   ##
>
>
> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>        @ echo
>        $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c -I$(MET_INC_DIR)
> $(GSL_INCS) $(NETCDF_INCS)
>
>
> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>        @ echo
>        $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
> $(GSL_INCS) $(NETCDF_INCS)
>
>
>
########################################################################
>
>
>   ##
>   ##  libraries
>   ##
>
>
>
########################################################################
>
>
>   ##
>   ##  executables
>   ##
>
>
> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>        @ echo
>        $(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS) \
>        $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
>   -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS) \
>   -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS) \
>        -lvx_stat_out \
>        -lvx_statistics \
>        -lvx_shapedata \
>        -lvx_gsl_prob \
>        -lvx_analysis_util \
>        -lvx_data2d_factory \
>        -lvx_data2d_grib $(GRIB2_LIBS) \
>        -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 -lgslcblas \
>        $(CXX_LIBS)
>        cp $(EXECUTABLES) $(MET_BIN_DIR)
>
>
>
########################################################################
>
>
> clean:
>        rm -f *.a *.o temp junk core a.out $(OBJECTS) $(LIBRARIES)
> $(EXECUTABLES)
>        rm -f $(MET_BIN_DIR)/ensemble_stat
>
>
>
########################################################################
>
>
> .PHONY: all clean
>
>
>
########################################################################
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 09:41:19 2012

Endalk,

Are you sure you put the Makefile that I attached into the folder
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?

Paul


On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Paul,
>
> Please find the attached log file. I observe changes in the error
message.
> Thanks,
> Endalk
>
>
> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> Running make from any directory other than the top-level MET
directory
>> will not work.  Instead of trying to run the
>> compiler command directly, please rename the file
>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
>> Makefile_orig and put the attached Makefile in it's place.  Then,
run
>> "make" from the top-level directory
>> /home/endbek/MET/METv3.1.
>>
>> Paul
>>
>>
>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Hi Paul,
>>>
>>> Thanks again for your help.
>>>
>>> I got the error below when I do "make" from
>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
>>>
>>> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
make
>>>
>>> g++ ensemble_stat_Conf.cc  -c -I
>>> g++: error: missing path after ‘-I’
>>> make: *** [ensemble_stat_Conf.o] Error 1
>>>
>>>
>>> Endalk
>>>
>>>
>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
>>> <met_help at ucar.edu>wrote:
>>>
>>>> Endalk,
>>>>
>>>> I researched your error message, and it appears that some
compiler/make
>>>> configurations require you to link the library
>>>> libgslcblas.so when building with GSL.  Can you please try to run
the
>>>> command below from your directory
>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat directory?
If
>> this
>>>> command works, then you will have to modify
>>>> the Makefiles for the MET executables to add that linker flag.
Please
>> let
>>>> me know if this is successful.
>>>>
>>>> Thanks,
>>>>
>>>> Paul
>>>>
>>>>
>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
ensemble_stat_Conf.o
>>>> ensemble_stat_conf_info.o \
>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
>>>> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
>>>> -I/home/endbek/MET/gsl/include \
>>>> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
>>>> -L/home/endbek/MET/gsl/lib \
>>>> -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 -lgslcblas\
>>>> -L/usr/lib
>>>>
>>>>
>>>>
>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>
>>>>> Files are attached now!
>>>>>
>>>>>> Dear all,
>>>>>>
>>>>>> I have had a couple of problems while setting up MET on my
personal
>>>> laptop.
>>>>>> I did manage to solve my earlier problem with the support I got
from
>>>>>> met_help (Paul). My current problem is related to "gsl", as in
>>>> indicated in
>>>>>> the subject. I, attach here with, the user_def.mk and
make_met.log
>>>> files.
>>>>>> Kindly advise me accordingly.
>>>>>>
>>>>>> Endalk
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>>>> Endalkachew Bekele
>>>>>> NOAA Climate Prediction Center / African Desk
>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>>>> Tel: (301) 763 8000 Ext. 7014
>>>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>> # ** Copyright UCAR (c) 1992 - 2012
>> # ** University Corporation for Atmospheric Research (UCAR)
>> # ** National Center for Atmospheric Research (NCAR)
>> # ** Research Applications Lab (RAL)
>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>
>>
########################################################################
>> #
>> # Makefile for the ensemble_stat tool
>> #
>>
########################################################################
>>
>>
>> EXECUTABLES = ensemble_stat
>>
>>
>> OBJECTS     = ensemble_stat_Conf.o \
>>               ensemble_stat_conf_info.o
>>
>>
>> LIBRARIES   =
>>
>>
>>
########################################################################
>>
>>
>> HEADERS     =
>>
>>
>>
########################################################################
>>
>>
>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>>         @ echo
>>         @ echo "*** Finished Making the ensemble_stat Tool ***"
>>         @ echo
>>
>>
>>
########################################################################
>>
>>
>>    ##
>>    ##  objects
>>    ##
>>
>>
>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>>         @ echo
>>         $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
>> $(GSL_INCS) $(NETCDF_INCS)
>>
>>
>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>>         @ echo
>>         $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
>> $(GSL_INCS) $(NETCDF_INCS)
>>
>>
>>
########################################################################
>>
>>
>>    ##
>>    ##  libraries
>>    ##
>>
>>
>>
########################################################################
>>
>>
>>    ##
>>    ##  executables
>>    ##
>>
>>
>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>>         @ echo
>>         $(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS) \
>>         $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
>>    -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS) \
>>    -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS) \
>>         -lvx_stat_out \
>>         -lvx_statistics \
>>         -lvx_shapedata \
>>         -lvx_gsl_prob \
>>         -lvx_analysis_util \
>>         -lvx_data2d_factory \
>>         -lvx_data2d_grib $(GRIB2_LIBS) \
>>         -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 -lgslcblas \
>>         $(CXX_LIBS)
>>         cp $(EXECUTABLES) $(MET_BIN_DIR)
>>
>>
>>
########################################################################
>>
>>
>> clean:
>>         rm -f *.a *.o temp junk core a.out $(OBJECTS) $(LIBRARIES)
>> $(EXECUTABLES)
>>         rm -f $(MET_BIN_DIR)/ensemble_stat
>>
>>
>>
########################################################################
>>
>>
>> .PHONY: all clean
>>
>>
>>
########################################################################
>>
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 09:42:55 2012

Yes I did. I renamed the old one and replaced it with this one.
Endalk

On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> Are you sure you put the Makefile that I attached into the folder
> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
>
> Paul
>
>
> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Paul,
> >
> > Please find the attached log file. I observe changes in the error
> message.
> > Thanks,
> > Endalk
> >
> >
> > On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> Running make from any directory other than the top-level MET
directory
> >> will not work.  Instead of trying to run the
> >> compiler command directly, please rename the file
> >> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
> >> Makefile_orig and put the attached Makefile in it's place.  Then,
run
> >> "make" from the top-level directory
> >> /home/endbek/MET/METv3.1.
> >>
> >> Paul
> >>
> >>
> >> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Hi Paul,
> >>>
> >>> Thanks again for your help.
> >>>
> >>> I got the error below when I do "make" from
> >>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
> >>>
> >>> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
# make
> >>>
> >>> g++ ensemble_stat_Conf.cc  -c -I
> >>> g++: error: missing path after ‘-I’
> >>> make: *** [ensemble_stat_Conf.o] Error 1
> >>>
> >>>
> >>> Endalk
> >>>
> >>>
> >>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> >>> <met_help at ucar.edu>wrote:
> >>>
> >>>> Endalk,
> >>>>
> >>>> I researched your error message, and it appears that some
> compiler/make
> >>>> configurations require you to link the library
> >>>> libgslcblas.so when building with GSL.  Can you please try to
run the
> >>>> command below from your directory
> >>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?  If
> >> this
> >>>> command works, then you will have to modify
> >>>> the Makefiles for the MET executables to add that linker flag.
Please
> >> let
> >>>> me know if this is successful.
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
ensemble_stat_Conf.o
> >>>> ensemble_stat_conf_info.o \
> >>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
> >>>> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
> >>>> -I/home/endbek/MET/gsl/include \
> >>>> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
> >>>> -L/home/endbek/MET/gsl/lib \
> >>>> -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 -lgslcblas\
> >>>> -L/usr/lib
> >>>>
> >>>>
> >>>>
> >>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
> >>>>>
> >>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>
> >>>>> Files are attached now!
> >>>>>
> >>>>>> Dear all,
> >>>>>>
> >>>>>> I have had a couple of problems while setting up MET on my
personal
> >>>> laptop.
> >>>>>> I did manage to solve my earlier problem with the support I
got from
> >>>>>> met_help (Paul). My current problem is related to "gsl", as
in
> >>>> indicated in
> >>>>>> the subject. I, attach here with, the user_def.mk and
make_met.log
> >>>> files.
> >>>>>> Kindly advise me accordingly.
> >>>>>>
> >>>>>> Endalk
> >>>>>>
> >>>>>> --
> >>>>>>
> >>>>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>>>> Endalkachew Bekele
> >>>>>> NOAA Climate Prediction Center / African Desk
> >>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>>>> Tel: (301) 763 8000 Ext. 7014
> >>>>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >> # ** Copyright UCAR (c) 1992 - 2012
> >> # ** University Corporation for Atmospheric Research (UCAR)
> >> # ** National Center for Atmospheric Research (NCAR)
> >> # ** Research Applications Lab (RAL)
> >> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> >> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>
> >>
########################################################################
> >> #
> >> # Makefile for the ensemble_stat tool
> >> #
> >>
########################################################################
> >>
> >>
> >> EXECUTABLES = ensemble_stat
> >>
> >>
> >> OBJECTS     = ensemble_stat_Conf.o \
> >>               ensemble_stat_conf_info.o
> >>
> >>
> >> LIBRARIES   =
> >>
> >>
> >>
########################################################################
> >>
> >>
> >> HEADERS     =
> >>
> >>
> >>
########################################################################
> >>
> >>
> >> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
> >>         @ echo
> >>         @ echo "*** Finished Making the ensemble_stat Tool ***"
> >>         @ echo
> >>
> >>
> >>
########################################################################
> >>
> >>
> >>    ##
> >>    ##  objects
> >>    ##
> >>
> >>
> >> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
> >>         @ echo
> >>         $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
> >> $(GSL_INCS) $(NETCDF_INCS)
> >>
> >>
> >> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
> >>         @ echo
> >>         $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
> -I$(MET_INC_DIR)
> >> $(GSL_INCS) $(NETCDF_INCS)
> >>
> >>
> >>
########################################################################
> >>
> >>
> >>    ##
> >>    ##  libraries
> >>    ##
> >>
> >>
> >>
########################################################################
> >>
> >>
> >>    ##
> >>    ##  executables
> >>    ##
> >>
> >>
> >> ensemble_stat: ensemble_stat.cc $(OBJECTS)
> >>         @ echo
> >>         $(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS) \
> >>         $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
> >>    -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS) \
> >>    -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS) \
> >>         -lvx_stat_out \
> >>         -lvx_statistics \
> >>         -lvx_shapedata \
> >>         -lvx_gsl_prob \
> >>         -lvx_analysis_util \
> >>         -lvx_data2d_factory \
> >>         -lvx_data2d_grib $(GRIB2_LIBS) \
> >>         -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 -lgslcblas \
> >>         $(CXX_LIBS)
> >>         cp $(EXECUTABLES) $(MET_BIN_DIR)
> >>
> >>
> >>
########################################################################
> >>
> >>
> >> clean:
> >>         rm -f *.a *.o temp junk core a.out $(OBJECTS)
$(LIBRARIES)
> >> $(EXECUTABLES)
> >>         rm -f $(MET_BIN_DIR)/ensemble_stat
> >>
> >>
> >>
########################################################################
> >>
> >>
> >> .PHONY: all clean
> >>
> >>
> >>
########################################################################
> >>
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 09:45:29 2012

Endalk,

Can you please send me the output of the following command "ls
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".

Paul


On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Yes I did. I renamed the old one and replaced it with this one.
> Endalk
>
> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> Are you sure you put the Makefile that I attached into the folder
>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
>>
>> Paul
>>
>>
>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Paul,
>>>
>>> Please find the attached log file. I observe changes in the error
>> message.
>>> Thanks,
>>> Endalk
>>>
>>>
>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
>>> <met_help at ucar.edu>wrote:
>>>
>>>> Endalk,
>>>>
>>>> Running make from any directory other than the top-level MET
directory
>>>> will not work.  Instead of trying to run the
>>>> compiler command directly, please rename the file
>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
>>>> Makefile_orig and put the attached Makefile in it's place.  Then,
run
>>>> "make" from the top-level directory
>>>> /home/endbek/MET/METv3.1.
>>>>
>>>> Paul
>>>>
>>>>
>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>
>>>>> Hi Paul,
>>>>>
>>>>> Thanks again for your help.
>>>>>
>>>>> I got the error below when I do "make" from
>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
>>>>>
>>>>> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
# make
>>>>>
>>>>> g++ ensemble_stat_Conf.cc  -c -I
>>>>> g++: error: missing path after ‘-I’
>>>>> make: *** [ensemble_stat_Conf.o] Error 1
>>>>>
>>>>>
>>>>> Endalk
>>>>>
>>>>>
>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
>>>>> <met_help at ucar.edu>wrote:
>>>>>
>>>>>> Endalk,
>>>>>>
>>>>>> I researched your error message, and it appears that some
>> compiler/make
>>>>>> configurations require you to link the library
>>>>>> libgslcblas.so when building with GSL.  Can you please try to
run the
>>>>>> command below from your directory
>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?  If
>>>> this
>>>>>> command works, then you will have to modify
>>>>>> the Makefiles for the MET executables to add that linker flag.
Please
>>>> let
>>>>>> me know if this is successful.
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
ensemble_stat_Conf.o
>>>>>> ensemble_stat_conf_info.o \
>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
>>>>>> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
>>>>>> -I/home/endbek/MET/gsl/include \
>>>>>> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
>>>>>> -L/home/endbek/MET/gsl/lib \
>>>>>> -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 -lgslcblas\
>>>>>> -L/usr/lib
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>>>>>>>
>>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>
>>>>>>> Files are attached now!
>>>>>>>
>>>>>>>> Dear all,
>>>>>>>>
>>>>>>>> I have had a couple of problems while setting up MET on my
personal
>>>>>> laptop.
>>>>>>>> I did manage to solve my earlier problem with the support I
got from
>>>>>>>> met_help (Paul). My current problem is related to "gsl", as
in
>>>>>> indicated in
>>>>>>>> the subject. I, attach here with, the user_def.mk and
make_met.log
>>>>>> files.
>>>>>>>> Kindly advise me accordingly.
>>>>>>>>
>>>>>>>> Endalk
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>>>>>> Endalkachew Bekele
>>>>>>>> NOAA Climate Prediction Center / African Desk
>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>>>>>> Tel: (301) 763 8000 Ext. 7014
>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>> # ** Copyright UCAR (c) 1992 - 2012
>>>> # ** University Corporation for Atmospheric Research (UCAR)
>>>> # ** National Center for Atmospheric Research (NCAR)
>>>> # ** Research Applications Lab (RAL)
>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>
>>>>
########################################################################
>>>> #
>>>> # Makefile for the ensemble_stat tool
>>>> #
>>>>
########################################################################
>>>>
>>>>
>>>> EXECUTABLES = ensemble_stat
>>>>
>>>>
>>>> OBJECTS     = ensemble_stat_Conf.o \
>>>>                ensemble_stat_conf_info.o
>>>>
>>>>
>>>> LIBRARIES   =
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>> HEADERS     =
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>>>>          @ echo
>>>>          @ echo "*** Finished Making the ensemble_stat Tool ***"
>>>>          @ echo
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>>     ##
>>>>     ##  objects
>>>>     ##
>>>>
>>>>
>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>>>>          @ echo
>>>>          $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>
>>>>
>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>>>>          @ echo
>>>>          $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
>> -I$(MET_INC_DIR)
>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>>     ##
>>>>     ##  libraries
>>>>     ##
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>>     ##
>>>>     ##  executables
>>>>     ##
>>>>
>>>>
>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>>>>          @ echo
>>>>          $(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS) \
>>>>          $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
>>>>     -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS) \
>>>>     -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS) \
>>>>          -lvx_stat_out \
>>>>          -lvx_statistics \
>>>>          -lvx_shapedata \
>>>>          -lvx_gsl_prob \
>>>>          -lvx_analysis_util \
>>>>          -lvx_data2d_factory \
>>>>          -lvx_data2d_grib $(GRIB2_LIBS) \
>>>>          -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 -lgslcblas \
>>>>          $(CXX_LIBS)
>>>>          cp $(EXECUTABLES) $(MET_BIN_DIR)
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>> clean:
>>>>          rm -f *.a *.o temp junk core a.out $(OBJECTS)
$(LIBRARIES)
>>>> $(EXECUTABLES)
>>>>          rm -f $(MET_BIN_DIR)/ensemble_stat
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>> .PHONY: all clean
>>>>
>>>>
>>>>
########################################################################
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 09:52:17 2012

Paul,
Here is the output-

ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
total 144
-rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
-rw-r--r-- 1 endbek users 26541 Feb  7 17:52 ensemble_stat_Conf.cc
-rw-r--r-- 1 endbek users  4697 Feb  7 17:52 ensemble_stat_Conf.h
-rw-r--r-- 1 endbek users 20101 Feb  7 17:51
ensemble_stat_conf_info.cc
-rw-r--r-- 1 endbek users  5005 Feb  7 17:51 ensemble_stat_conf_info.h
-rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
-rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile

Endalk


On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> Can you please send me the output of the following command "ls
> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
>
> Paul
>
>
> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Yes I did. I renamed the old one and replaced it with this one.
> > Endalk
> >
> > On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> Are you sure you put the Makefile that I attached into the folder
> >> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
> >>
> >> Paul
> >>
> >>
> >> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Paul,
> >>>
> >>> Please find the attached log file. I observe changes in the
error
> >> message.
> >>> Thanks,
> >>> Endalk
> >>>
> >>>
> >>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> >>> <met_help at ucar.edu>wrote:
> >>>
> >>>> Endalk,
> >>>>
> >>>> Running make from any directory other than the top-level MET
directory
> >>>> will not work.  Instead of trying to run the
> >>>> compiler command directly, please rename the file
> >>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
to
> >>>> Makefile_orig and put the attached Makefile in it's place.
Then, run
> >>>> "make" from the top-level directory
> >>>> /home/endbek/MET/METv3.1.
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >>>>>
> >>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>
> >>>>> Hi Paul,
> >>>>>
> >>>>> Thanks again for your help.
> >>>>>
> >>>>> I got the error below when I do "make" from
> >>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
> >>>>>
> >>>>> linux-
sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
> make
> >>>>>
> >>>>> g++ ensemble_stat_Conf.cc  -c -I
> >>>>> g++: error: missing path after ‘-I’
> >>>>> make: *** [ensemble_stat_Conf.o] Error 1
> >>>>>
> >>>>>
> >>>>> Endalk
> >>>>>
> >>>>>
> >>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> >>>>> <met_help at ucar.edu>wrote:
> >>>>>
> >>>>>> Endalk,
> >>>>>>
> >>>>>> I researched your error message, and it appears that some
> >> compiler/make
> >>>>>> configurations require you to link the library
> >>>>>> libgslcblas.so when building with GSL.  Can you please try to
run
> the
> >>>>>> command below from your directory
> >>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?  If
> >>>> this
> >>>>>> command works, then you will have to modify
> >>>>>> the Makefiles for the MET executables to add that linker
flag.
>  Please
> >>>> let
> >>>>>> me know if this is successful.
> >>>>>>
> >>>>>> Thanks,
> >>>>>>
> >>>>>> Paul
> >>>>>>
> >>>>>>
> >>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
ensemble_stat_Conf.o
> >>>>>> ensemble_stat_conf_info.o \
> >>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
> >>>>>> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
> >>>>>> -I/home/endbek/MET/gsl/include \
> >>>>>> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
> >>>>>> -L/home/endbek/MET/gsl/lib \
> >>>>>> -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 -lgslcblas\
> >>>>>> -L/usr/lib
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>
> >>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>
> >>>>>>> Files are attached now!
> >>>>>>>
> >>>>>>>> Dear all,
> >>>>>>>>
> >>>>>>>> I have had a couple of problems while setting up MET on my
> personal
> >>>>>> laptop.
> >>>>>>>> I did manage to solve my earlier problem with the support I
got
> from
> >>>>>>>> met_help (Paul). My current problem is related to "gsl", as
in
> >>>>>> indicated in
> >>>>>>>> the subject. I, attach here with, the user_def.mk and
> make_met.log
> >>>>>> files.
> >>>>>>>> Kindly advise me accordingly.
> >>>>>>>>
> >>>>>>>> Endalk
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>>>>>> Endalkachew Bekele
> >>>>>>>> NOAA Climate Prediction Center / African Desk
> >>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>>>>>> Tel: (301) 763 8000 Ext. 7014
> >>>>>>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>> # ** Copyright UCAR (c) 1992 - 2012
> >>>> # ** University Corporation for Atmospheric Research (UCAR)
> >>>> # ** National Center for Atmospheric Research (NCAR)
> >>>> # ** Research Applications Lab (RAL)
> >>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> >>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>
> >>>>
>
########################################################################
> >>>> #
> >>>> # Makefile for the ensemble_stat tool
> >>>> #
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>> EXECUTABLES = ensemble_stat
> >>>>
> >>>>
> >>>> OBJECTS     = ensemble_stat_Conf.o \
> >>>>                ensemble_stat_conf_info.o
> >>>>
> >>>>
> >>>> LIBRARIES   =
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>> HEADERS     =
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
> >>>>          @ echo
> >>>>          @ echo "*** Finished Making the ensemble_stat Tool
***"
> >>>>          @ echo
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>>     ##
> >>>>     ##  objects
> >>>>     ##
> >>>>
> >>>>
> >>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
> >>>>          @ echo
> >>>>          $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
> >>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>
> >>>>
> >>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
> >>>>          @ echo
> >>>>          $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
> >> -I$(MET_INC_DIR)
> >>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>>     ##
> >>>>     ##  libraries
> >>>>     ##
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>>     ##
> >>>>     ##  executables
> >>>>     ##
> >>>>
> >>>>
> >>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
> >>>>          @ echo
> >>>>          $(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS) \
> >>>>          $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
> >>>>     -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS)
\
> >>>>     -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS)
\
> >>>>          -lvx_stat_out \
> >>>>          -lvx_statistics \
> >>>>          -lvx_shapedata \
> >>>>          -lvx_gsl_prob \
> >>>>          -lvx_analysis_util \
> >>>>          -lvx_data2d_factory \
> >>>>          -lvx_data2d_grib $(GRIB2_LIBS) \
> >>>>          -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 -lgslcblas \
> >>>>          $(CXX_LIBS)
> >>>>          cp $(EXECUTABLES) $(MET_BIN_DIR)
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>> clean:
> >>>>          rm -f *.a *.o temp junk core a.out $(OBJECTS)
$(LIBRARIES)
> >>>> $(EXECUTABLES)
> >>>>          rm -f $(MET_BIN_DIR)/ensemble_stat
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>> .PHONY: all clean
> >>>>
> >>>>
> >>>>
>
########################################################################
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 09:53:35 2012

Endalk,

I'm sorry, I mistyped the name of the Makefile that I sent you.  Can
you please rename the file 'Makfile' in that
directory to 'Makefile' and the run "make clean" and "make" from the
top-level directory /home/endbek/MET/METv3.1?

Paul


On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Paul,
> Here is the output-
>
> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> total 144
> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52 ensemble_stat_Conf.cc
> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52 ensemble_stat_Conf.h
> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
ensemble_stat_conf_info.cc
> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
ensemble_stat_conf_info.h
> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
>
> Endalk
>
>
> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> Can you please send me the output of the following command "ls
>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
>>
>> Paul
>>
>>
>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Yes I did. I renamed the old one and replaced it with this one.
>>> Endalk
>>>
>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
>>> <met_help at ucar.edu>wrote:
>>>
>>>> Endalk,
>>>>
>>>> Are you sure you put the Makefile that I attached into the folder
>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
>>>>
>>>> Paul
>>>>
>>>>
>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>
>>>>> Paul,
>>>>>
>>>>> Please find the attached log file. I observe changes in the
error
>>>> message.
>>>>> Thanks,
>>>>> Endalk
>>>>>
>>>>>
>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
>>>>> <met_help at ucar.edu>wrote:
>>>>>
>>>>>> Endalk,
>>>>>>
>>>>>> Running make from any directory other than the top-level MET
directory
>>>>>> will not work.  Instead of trying to run the
>>>>>> compiler command directly, please rename the file
>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
to
>>>>>> Makefile_orig and put the attached Makefile in it's place.
Then, run
>>>>>> "make" from the top-level directory
>>>>>> /home/endbek/MET/METv3.1.
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>>>>>>>
>>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>
>>>>>>> Hi Paul,
>>>>>>>
>>>>>>> Thanks again for your help.
>>>>>>>
>>>>>>> I got the error below when I do "make" from
>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
>>>>>>>
>>>>>>> linux-
sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
>> make
>>>>>>>
>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
>>>>>>> g++: error: missing path after ‘-I’
>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
>>>>>>>
>>>>>>>
>>>>>>> Endalk
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>
>>>>>>>> Endalk,
>>>>>>>>
>>>>>>>> I researched your error message, and it appears that some
>>>> compiler/make
>>>>>>>> configurations require you to link the library
>>>>>>>> libgslcblas.so when building with GSL.  Can you please try to
run
>> the
>>>>>>>> command below from your directory
>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?  If
>>>>>> this
>>>>>>>> command works, then you will have to modify
>>>>>>>> the Makefiles for the MET executables to add that linker
flag.
>>   Please
>>>>>> let
>>>>>>>> me know if this is successful.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>
>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
ensemble_stat_Conf.o
>>>>>>>> ensemble_stat_conf_info.o \
>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
>>>>>>>> -I/home/endbek/MET/METv3.1/include
-I/home/endbek/MET/netcdf/include
>>>>>>>> -I/home/endbek/MET/gsl/include \
>>>>>>>> -L/home/endbek/MET/METv3.1/lib -L/home/endbek/MET/netcdf/lib
>>>>>>>> -L/home/endbek/MET/gsl/lib \
>>>>>>>> -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 -lgslcblas\
>>>>>>>> -L/usr/lib
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>
>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>
>>>>>>>>> Files are attached now!
>>>>>>>>>
>>>>>>>>>> Dear all,
>>>>>>>>>>
>>>>>>>>>> I have had a couple of problems while setting up MET on my
>> personal
>>>>>>>> laptop.
>>>>>>>>>> I did manage to solve my earlier problem with the support I
got
>> from
>>>>>>>>>> met_help (Paul). My current problem is related to "gsl", as
in
>>>>>>>> indicated in
>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
>> make_met.log
>>>>>>>> files.
>>>>>>>>>> Kindly advise me accordingly.
>>>>>>>>>>
>>>>>>>>>> Endalk
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>>>>>>>> Endalkachew Bekele
>>>>>>>>>> NOAA Climate Prediction Center / African Desk
>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>> # ** Copyright UCAR (c) 1992 - 2012
>>>>>> # ** University Corporation for Atmospheric Research (UCAR)
>>>>>> # ** National Center for Atmospheric Research (NCAR)
>>>>>> # ** Research Applications Lab (RAL)
>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>
>>>>>>
>>
########################################################################
>>>>>> #
>>>>>> # Makefile for the ensemble_stat tool
>>>>>> #
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>> EXECUTABLES = ensemble_stat
>>>>>>
>>>>>>
>>>>>> OBJECTS     = ensemble_stat_Conf.o \
>>>>>>                 ensemble_stat_conf_info.o
>>>>>>
>>>>>>
>>>>>> LIBRARIES   =
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>> HEADERS     =
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>>>>>>           @ echo
>>>>>>           @ echo "*** Finished Making the ensemble_stat Tool
***"
>>>>>>           @ echo
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>>      ##
>>>>>>      ##  objects
>>>>>>      ##
>>>>>>
>>>>>>
>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>>>>>>           @ echo
>>>>>>           $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
-I$(MET_INC_DIR)
>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>
>>>>>>
>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>>>>>>           @ echo
>>>>>>           $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
>>>> -I$(MET_INC_DIR)
>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>>      ##
>>>>>>      ##  libraries
>>>>>>      ##
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>>      ##
>>>>>>      ##  executables
>>>>>>      ##
>>>>>>
>>>>>>
>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>>>>>>           @ echo
>>>>>>           $(CXX) -o $(EXECUTABLES) ensemble_stat.cc $(OBJECTS)
\
>>>>>>           $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
>>>>>>      -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS) $(GRIB2C_INCS)
\
>>>>>>      -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS) $(GRIB2C_LIBS)
\
>>>>>>           -lvx_stat_out \
>>>>>>           -lvx_statistics \
>>>>>>           -lvx_shapedata \
>>>>>>           -lvx_gsl_prob \
>>>>>>           -lvx_analysis_util \
>>>>>>           -lvx_data2d_factory \
>>>>>>           -lvx_data2d_grib $(GRIB2_LIBS) \
>>>>>>           -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 -lgslcblas \
>>>>>>           $(CXX_LIBS)
>>>>>>           cp $(EXECUTABLES) $(MET_BIN_DIR)
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>> clean:
>>>>>>           rm -f *.a *.o temp junk core a.out $(OBJECTS)
$(LIBRARIES)
>>>>>> $(EXECUTABLES)
>>>>>>           rm -f $(MET_BIN_DIR)/ensemble_stat
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>> .PHONY: all clean
>>>>>>
>>>>>>
>>>>>>
>>
########################################################################
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 10:04:41 2012

Paul,
Please find the new log file.
Thanks,
Endalk

On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> I'm sorry, I mistyped the name of the Makefile that I sent you.  Can
you
> please rename the file 'Makfile' in that
> directory to 'Makefile' and the run "make clean" and "make" from the
> top-level directory /home/endbek/MET/METv3.1?
>
> Paul
>
>
> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Paul,
> > Here is the output-
> >
> > ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> > total 144
> > -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
> > -rw-r--r-- 1 endbek users 26541 Feb  7 17:52 ensemble_stat_Conf.cc
> > -rw-r--r-- 1 endbek users  4697 Feb  7 17:52 ensemble_stat_Conf.h
> > -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
ensemble_stat_conf_info.cc
> > -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
ensemble_stat_conf_info.h
> > -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
> > -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
> >
> > Endalk
> >
> >
> > On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> Can you please send me the output of the following command "ls
> >> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
> >>
> >> Paul
> >>
> >>
> >> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Yes I did. I renamed the old one and replaced it with this one.
> >>> Endalk
> >>>
> >>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
> >>> <met_help at ucar.edu>wrote:
> >>>
> >>>> Endalk,
> >>>>
> >>>> Are you sure you put the Makefile that I attached into the
folder
> >>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
> >>>>>
> >>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>
> >>>>> Paul,
> >>>>>
> >>>>> Please find the attached log file. I observe changes in the
error
> >>>> message.
> >>>>> Thanks,
> >>>>> Endalk
> >>>>>
> >>>>>
> >>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> >>>>> <met_help at ucar.edu>wrote:
> >>>>>
> >>>>>> Endalk,
> >>>>>>
> >>>>>> Running make from any directory other than the top-level MET
> directory
> >>>>>> will not work.  Instead of trying to run the
> >>>>>> compiler command directly, please rename the file
> >>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
> >>>>>> Makefile_orig and put the attached Makefile in it's place.
Then,
> run
> >>>>>> "make" from the top-level directory
> >>>>>> /home/endbek/MET/METv3.1.
> >>>>>>
> >>>>>> Paul
> >>>>>>
> >>>>>>
> >>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>
> >>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>
> >>>>>>> Hi Paul,
> >>>>>>>
> >>>>>>> Thanks again for your help.
> >>>>>>>
> >>>>>>> I got the error below when I do "make" from
> >>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
> >>>>>>>
> >>>>>>> linux-
sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
> >> make
> >>>>>>>
> >>>>>>> g++ ensemble_stat_Conf.cc  -c -I
> >>>>>>> g++: error: missing path after ‘-I’
> >>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
> >>>>>>>
> >>>>>>>
> >>>>>>> Endalk
> >>>>>>>
> >>>>>>>
> >>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> >>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>
> >>>>>>>> Endalk,
> >>>>>>>>
> >>>>>>>> I researched your error message, and it appears that some
> >>>> compiler/make
> >>>>>>>> configurations require you to link the library
> >>>>>>>> libgslcblas.so when building with GSL.  Can you please try
to run
> >> the
> >>>>>>>> command below from your directory
> >>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?
>  If
> >>>>>> this
> >>>>>>>> command works, then you will have to modify
> >>>>>>>> the Makefiles for the MET executables to add that linker
flag.
> >>   Please
> >>>>>> let
> >>>>>>>> me know if this is successful.
> >>>>>>>>
> >>>>>>>> Thanks,
> >>>>>>>>
> >>>>>>>> Paul
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
> ensemble_stat_Conf.o
> >>>>>>>> ensemble_stat_conf_info.o \
> >>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
> >>>>>>>> -I/home/endbek/MET/METv3.1/include
> -I/home/endbek/MET/netcdf/include
> >>>>>>>> -I/home/endbek/MET/gsl/include \
> >>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
> >>>>>>>> -L/home/endbek/MET/gsl/lib \
> >>>>>>>> -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 -lgslcblas\
> >>>>>>>> -L/usr/lib
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>
> >>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>
> >>>>>>>>> Files are attached now!
> >>>>>>>>>
> >>>>>>>>>> Dear all,
> >>>>>>>>>>
> >>>>>>>>>> I have had a couple of problems while setting up MET on
my
> >> personal
> >>>>>>>> laptop.
> >>>>>>>>>> I did manage to solve my earlier problem with the support
I got
> >> from
> >>>>>>>>>> met_help (Paul). My current problem is related to "gsl",
as in
> >>>>>>>> indicated in
> >>>>>>>>>> the subject. I, attach here with, the user_def.mk and
> >> make_met.log
> >>>>>>>> files.
> >>>>>>>>>> Kindly advise me accordingly.
> >>>>>>>>>>
> >>>>>>>>>> Endalk
> >>>>>>>>>>
> >>>>>>>>>> --
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>>>>>>>> Endalkachew Bekele
> >>>>>>>>>> NOAA Climate Prediction Center / African Desk
> >>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
> >>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>> # ** Copyright UCAR (c) 1992 - 2012
> >>>>>> # ** University Corporation for Atmospheric Research (UCAR)
> >>>>>> # ** National Center for Atmospheric Research (NCAR)
> >>>>>> # ** Research Applications Lab (RAL)
> >>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> >>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>> #
> >>>>>> # Makefile for the ensemble_stat tool
> >>>>>> #
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>> EXECUTABLES = ensemble_stat
> >>>>>>
> >>>>>>
> >>>>>> OBJECTS     = ensemble_stat_Conf.o \
> >>>>>>                 ensemble_stat_conf_info.o
> >>>>>>
> >>>>>>
> >>>>>> LIBRARIES   =
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>> HEADERS     =
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
> >>>>>>           @ echo
> >>>>>>           @ echo "*** Finished Making the ensemble_stat Tool
***"
> >>>>>>           @ echo
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>>      ##
> >>>>>>      ##  objects
> >>>>>>      ##
> >>>>>>
> >>>>>>
> >>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
> >>>>>>           @ echo
> >>>>>>           $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
> -I$(MET_INC_DIR)
> >>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>
> >>>>>>
> >>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
> >>>>>>           @ echo
> >>>>>>           $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
> >>>> -I$(MET_INC_DIR)
> >>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>>      ##
> >>>>>>      ##  libraries
> >>>>>>      ##
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>>      ##
> >>>>>>      ##  executables
> >>>>>>      ##
> >>>>>>
> >>>>>>
> >>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
> >>>>>>           @ echo
> >>>>>>           $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
$(OBJECTS) \
> >>>>>>           $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
> >>>>>>      -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
$(GRIB2C_INCS) \
> >>>>>>      -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
$(GRIB2C_LIBS) \
> >>>>>>           -lvx_stat_out \
> >>>>>>           -lvx_statistics \
> >>>>>>           -lvx_shapedata \
> >>>>>>           -lvx_gsl_prob \
> >>>>>>           -lvx_analysis_util \
> >>>>>>           -lvx_data2d_factory \
> >>>>>>           -lvx_data2d_grib $(GRIB2_LIBS) \
> >>>>>>           -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 -lgslcblas \
> >>>>>>           $(CXX_LIBS)
> >>>>>>           cp $(EXECUTABLES) $(MET_BIN_DIR)
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>> clean:
> >>>>>>           rm -f *.a *.o temp junk core a.out $(OBJECTS)
$(LIBRARIES)
> >>>>>> $(EXECUTABLES)
> >>>>>>           rm -f $(MET_BIN_DIR)/ensemble_stat
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>> .PHONY: all clean
> >>>>>>
> >>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 10:10:47 2012

Endalk,

I'm afraid that the change that I put into the new Makefile that I
asked you to use did not take effect in the build
shown in the log you just sent to me.  The change is to add the
following '-lgslcblas' to the end of the line in the
file /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
that contains '-lgsl'.  Can you please make that
change by hand so the line looks like this:

-lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \

Then, run "make clean" and "make from the top-level directory.

Paul


On 02/20/2012 10:04 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Paul,
> Please find the new log file.
> Thanks,
> Endalk
>
> On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> I'm sorry, I mistyped the name of the Makefile that I sent you.
Can you
>> please rename the file 'Makfile' in that
>> directory to 'Makefile' and the run "make clean" and "make" from
the
>> top-level directory /home/endbek/MET/METv3.1?
>>
>> Paul
>>
>>
>> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Paul,
>>> Here is the output-
>>>
>>> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
>>> total 144
>>> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
>>> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52 ensemble_stat_Conf.cc
>>> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52 ensemble_stat_Conf.h
>>> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
ensemble_stat_conf_info.cc
>>> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
ensemble_stat_conf_info.h
>>> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
>>> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
>>>
>>> Endalk
>>>
>>>
>>> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
>>> <met_help at ucar.edu>wrote:
>>>
>>>> Endalk,
>>>>
>>>> Can you please send me the output of the following command "ls
>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
>>>>
>>>> Paul
>>>>
>>>>
>>>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>
>>>>> Yes I did. I renamed the old one and replaced it with this one.
>>>>> Endalk
>>>>>
>>>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
>>>>> <met_help at ucar.edu>wrote:
>>>>>
>>>>>> Endalk,
>>>>>>
>>>>>> Are you sure you put the Makefile that I attached into the
folder
>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
>>>>>>>
>>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>
>>>>>>> Paul,
>>>>>>>
>>>>>>> Please find the attached log file. I observe changes in the
error
>>>>>> message.
>>>>>>> Thanks,
>>>>>>> Endalk
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>
>>>>>>>> Endalk,
>>>>>>>>
>>>>>>>> Running make from any directory other than the top-level MET
>> directory
>>>>>>>> will not work.  Instead of trying to run the
>>>>>>>> compiler command directly, please rename the file
>>>>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
>>>>>>>> Makefile_orig and put the attached Makefile in it's place.
Then,
>> run
>>>>>>>> "make" from the top-level directory
>>>>>>>> /home/endbek/MET/METv3.1.
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>
>>>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>
>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>
>>>>>>>>> Hi Paul,
>>>>>>>>>
>>>>>>>>> Thanks again for your help.
>>>>>>>>>
>>>>>>>>> I got the error below when I do "make" from
>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat folder
>>>>>>>>>
>>>>>>>>> linux-
sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat #
>>>> make
>>>>>>>>>
>>>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
>>>>>>>>> g++: error: missing path after ‘-I’
>>>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Endalk
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
>>>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>>>
>>>>>>>>>> Endalk,
>>>>>>>>>>
>>>>>>>>>> I researched your error message, and it appears that some
>>>>>> compiler/make
>>>>>>>>>> configurations require you to link the library
>>>>>>>>>> libgslcblas.so when building with GSL.  Can you please try
to run
>>>> the
>>>>>>>>>> command below from your directory
>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?
>>   If
>>>>>>>> this
>>>>>>>>>> command works, then you will have to modify
>>>>>>>>>> the Makefiles for the MET executables to add that linker
flag.
>>>>    Please
>>>>>>>> let
>>>>>>>>>> me know if this is successful.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
>> ensemble_stat_Conf.o
>>>>>>>>>> ensemble_stat_conf_info.o \
>>>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
>>>>>>>>>> -I/home/endbek/MET/METv3.1/include
>> -I/home/endbek/MET/netcdf/include
>>>>>>>>>> -I/home/endbek/MET/gsl/include \
>>>>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
>>>>>>>>>> -L/home/endbek/MET/gsl/lib \
>>>>>>>>>> -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 -lgslcblas\
>>>>>>>>>> -L/usr/lib
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>>>
>>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>>>
>>>>>>>>>>> Files are attached now!
>>>>>>>>>>>
>>>>>>>>>>>> Dear all,
>>>>>>>>>>>>
>>>>>>>>>>>> I have had a couple of problems while setting up MET on
my
>>>> personal
>>>>>>>>>> laptop.
>>>>>>>>>>>> I did manage to solve my earlier problem with the support
I got
>>>> from
>>>>>>>>>>>> met_help (Paul). My current problem is related to "gsl",
as in
>>>>>>>>>> indicated in
>>>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
>>>> make_met.log
>>>>>>>>>> files.
>>>>>>>>>>>> Kindly advise me accordingly.
>>>>>>>>>>>>
>>>>>>>>>>>> Endalk
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>>>>>>>>>> Endalkachew Bekele
>>>>>>>>>>>> NOAA Climate Prediction Center / African Desk
>>>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
>>>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>>> # ** Copyright UCAR (c) 1992 - 2012
>>>>>>>> # ** University Corporation for Atmospheric Research (UCAR)
>>>>>>>> # ** National Center for Atmospheric Research (NCAR)
>>>>>>>> # ** Research Applications Lab (RAL)
>>>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
>>>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>> #
>>>>>>>> # Makefile for the ensemble_stat tool
>>>>>>>> #
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>> EXECUTABLES = ensemble_stat
>>>>>>>>
>>>>>>>>
>>>>>>>> OBJECTS     = ensemble_stat_Conf.o \
>>>>>>>>                  ensemble_stat_conf_info.o
>>>>>>>>
>>>>>>>>
>>>>>>>> LIBRARIES   =
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>> HEADERS     =
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>>>>>>>>            @ echo
>>>>>>>>            @ echo "*** Finished Making the ensemble_stat Tool
***"
>>>>>>>>            @ echo
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>>       ##
>>>>>>>>       ##  objects
>>>>>>>>       ##
>>>>>>>>
>>>>>>>>
>>>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>>>>>>>>            @ echo
>>>>>>>>            $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
>> -I$(MET_INC_DIR)
>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>>>
>>>>>>>>
>>>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>>>>>>>>            @ echo
>>>>>>>>            $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS) -c
>>>>>> -I$(MET_INC_DIR)
>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>>       ##
>>>>>>>>       ##  libraries
>>>>>>>>       ##
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>>       ##
>>>>>>>>       ##  executables
>>>>>>>>       ##
>>>>>>>>
>>>>>>>>
>>>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>>>>>>>>            @ echo
>>>>>>>>            $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
$(OBJECTS) \
>>>>>>>>            $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
>>>>>>>>       -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
$(GRIB2C_INCS) \
>>>>>>>>       -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
$(GRIB2C_LIBS) \
>>>>>>>>            -lvx_stat_out \
>>>>>>>>            -lvx_statistics \
>>>>>>>>            -lvx_shapedata \
>>>>>>>>            -lvx_gsl_prob \
>>>>>>>>            -lvx_analysis_util \
>>>>>>>>            -lvx_data2d_factory \
>>>>>>>>            -lvx_data2d_grib $(GRIB2_LIBS) \
>>>>>>>>            -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 -lgslcblas \
>>>>>>>>            $(CXX_LIBS)
>>>>>>>>            cp $(EXECUTABLES) $(MET_BIN_DIR)
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>> clean:
>>>>>>>>            rm -f *.a *.o temp junk core a.out $(OBJECTS)
$(LIBRARIES)
>>>>>>>> $(EXECUTABLES)
>>>>>>>>            rm -f $(MET_BIN_DIR)/ensemble_stat
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>> .PHONY: all clean
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 10:17:32 2012

Paul,
That change is already there as in last line below:-

 -lvx_stat_out \
        -lvx_statistics \
        -lvx_shapedata \
        -lvx_gsl_prob \
        -lvx_analysis_util \
        -lvx_data2d_factory \
        -lvx_data2d_grib $(GRIB2_LIBS) \
        -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 -lgslcblas \

Endalk

On Mon, Feb 20, 2012 at 12:10 PM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> I'm afraid that the change that I put into the new Makefile that I
asked
> you to use did not take effect in the build
> shown in the log you just sent to me.  The change is to add the
following
> '-lgslcblas' to the end of the line in the
> file /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
that
> contains '-lgsl'.  Can you please make that
> change by hand so the line looks like this:
>
> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>
> Then, run "make clean" and "make from the top-level directory.
>
> Paul
>
>
> On 02/20/2012 10:04 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Paul,
> > Please find the new log file.
> > Thanks,
> > Endalk
> >
> > On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> I'm sorry, I mistyped the name of the Makefile that I sent you.
Can you
> >> please rename the file 'Makfile' in that
> >> directory to 'Makefile' and the run "make clean" and "make" from
the
> >> top-level directory /home/endbek/MET/METv3.1?
> >>
> >> Paul
> >>
> >>
> >> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Paul,
> >>> Here is the output-
> >>>
> >>> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> >>> total 144
> >>> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
> >>> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52
ensemble_stat_Conf.cc
> >>> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52
ensemble_stat_Conf.h
> >>> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
ensemble_stat_conf_info.cc
> >>> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
ensemble_stat_conf_info.h
> >>> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
> >>> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
> >>>
> >>> Endalk
> >>>
> >>>
> >>> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
> >>> <met_help at ucar.edu>wrote:
> >>>
> >>>> Endalk,
> >>>>
> >>>> Can you please send me the output of the following command "ls
> >>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
> >>>>>
> >>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>
> >>>>> Yes I did. I renamed the old one and replaced it with this
one.
> >>>>> Endalk
> >>>>>
> >>>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
> >>>>> <met_help at ucar.edu>wrote:
> >>>>>
> >>>>>> Endalk,
> >>>>>>
> >>>>>> Are you sure you put the Makefile that I attached into the
folder
> >>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
> >>>>>>
> >>>>>> Paul
> >>>>>>
> >>>>>>
> >>>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>
> >>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>
> >>>>>>> Paul,
> >>>>>>>
> >>>>>>> Please find the attached log file. I observe changes in the
error
> >>>>>> message.
> >>>>>>> Thanks,
> >>>>>>> Endalk
> >>>>>>>
> >>>>>>>
> >>>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> >>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>
> >>>>>>>> Endalk,
> >>>>>>>>
> >>>>>>>> Running make from any directory other than the top-level
MET
> >> directory
> >>>>>>>> will not work.  Instead of trying to run the
> >>>>>>>> compiler command directly, please rename the file
> >>>>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
> >>>>>>>> Makefile_orig and put the attached Makefile in it's place.
Then,
> >> run
> >>>>>>>> "make" from the top-level directory
> >>>>>>>> /home/endbek/MET/METv3.1.
> >>>>>>>>
> >>>>>>>> Paul
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>
> >>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>
> >>>>>>>>> Hi Paul,
> >>>>>>>>>
> >>>>>>>>> Thanks again for your help.
> >>>>>>>>>
> >>>>>>>>> I got the error below when I do "make" from
> >>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
folder
> >>>>>>>>>
> >>>>>>>>> linux-
sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> #
> >>>> make
> >>>>>>>>>
> >>>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
> >>>>>>>>> g++: error: missing path after ‘-I’
> >>>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Endalk
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> >>>>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>>>
> >>>>>>>>>> Endalk,
> >>>>>>>>>>
> >>>>>>>>>> I researched your error message, and it appears that some
> >>>>>> compiler/make
> >>>>>>>>>> configurations require you to link the library
> >>>>>>>>>> libgslcblas.so when building with GSL.  Can you please
try to
> run
> >>>> the
> >>>>>>>>>> command below from your directory
> >>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?
> >>   If
> >>>>>>>> this
> >>>>>>>>>> command works, then you will have to modify
> >>>>>>>>>> the Makefiles for the MET executables to add that linker
flag.
> >>>>    Please
> >>>>>>>> let
> >>>>>>>>>> me know if this is successful.
> >>>>>>>>>>
> >>>>>>>>>> Thanks,
> >>>>>>>>>>
> >>>>>>>>>> Paul
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
> >> ensemble_stat_Conf.o
> >>>>>>>>>> ensemble_stat_conf_info.o \
> >>>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
> >>>>>>>>>> -I/home/endbek/MET/METv3.1/include
> >> -I/home/endbek/MET/netcdf/include
> >>>>>>>>>> -I/home/endbek/MET/gsl/include \
> >>>>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
> >>>>>>>>>> -L/home/endbek/MET/gsl/lib \
> >>>>>>>>>> -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 -lgslcblas\
> >>>>>>>>>> -L/usr/lib
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>>>
> >>>>>>>>>>> Files are attached now!
> >>>>>>>>>>>
> >>>>>>>>>>>> Dear all,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I have had a couple of problems while setting up MET on
my
> >>>> personal
> >>>>>>>>>> laptop.
> >>>>>>>>>>>> I did manage to solve my earlier problem with the
support I
> got
> >>>> from
> >>>>>>>>>>>> met_help (Paul). My current problem is related to
"gsl", as in
> >>>>>>>>>> indicated in
> >>>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
> >>>> make_met.log
> >>>>>>>>>> files.
> >>>>>>>>>>>> Kindly advise me accordingly.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Endalk
> >>>>>>>>>>>>
> >>>>>>>>>>>> --
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>>>>>>>>>> Endalkachew Bekele
> >>>>>>>>>>>> NOAA Climate Prediction Center / African Desk
> >>>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
> >>>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>>> # ** Copyright UCAR (c) 1992 - 2012
> >>>>>>>> # ** University Corporation for Atmospheric Research (UCAR)
> >>>>>>>> # ** National Center for Atmospheric Research (NCAR)
> >>>>>>>> # ** Research Applications Lab (RAL)
> >>>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> >>>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>> #
> >>>>>>>> # Makefile for the ensemble_stat tool
> >>>>>>>> #
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> EXECUTABLES = ensemble_stat
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> OBJECTS     = ensemble_stat_Conf.o \
> >>>>>>>>                  ensemble_stat_conf_info.o
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> LIBRARIES   =
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> HEADERS     =
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
> >>>>>>>>            @ echo
> >>>>>>>>            @ echo "*** Finished Making the ensemble_stat
Tool ***"
> >>>>>>>>            @ echo
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>       ##
> >>>>>>>>       ##  objects
> >>>>>>>>       ##
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
> >>>>>>>>            @ echo
> >>>>>>>>            $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
> >> -I$(MET_INC_DIR)
> >>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
> >>>>>>>>            @ echo
> >>>>>>>>            $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS)
-c
> >>>>>> -I$(MET_INC_DIR)
> >>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>       ##
> >>>>>>>>       ##  libraries
> >>>>>>>>       ##
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>       ##
> >>>>>>>>       ##  executables
> >>>>>>>>       ##
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
> >>>>>>>>            @ echo
> >>>>>>>>            $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
$(OBJECTS) \
> >>>>>>>>            $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
> >>>>>>>>       -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
$(GRIB2C_INCS) \
> >>>>>>>>       -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
$(GRIB2C_LIBS) \
> >>>>>>>>            -lvx_stat_out \
> >>>>>>>>            -lvx_statistics \
> >>>>>>>>            -lvx_shapedata \
> >>>>>>>>            -lvx_gsl_prob \
> >>>>>>>>            -lvx_analysis_util \
> >>>>>>>>            -lvx_data2d_factory \
> >>>>>>>>            -lvx_data2d_grib $(GRIB2_LIBS) \
> >>>>>>>>            -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 -lgslcblas \
> >>>>>>>>            $(CXX_LIBS)
> >>>>>>>>            cp $(EXECUTABLES) $(MET_BIN_DIR)
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> clean:
> >>>>>>>>            rm -f *.a *.o temp junk core a.out $(OBJECTS)
> $(LIBRARIES)
> >>>>>>>> $(EXECUTABLES)
> >>>>>>>>            rm -f $(MET_BIN_DIR)/ensemble_stat
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> .PHONY: all clean
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>
>
########################################################################
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 10:23:41 2012

Endalk,

My mistake, I was looking at the wrong make output.  It appears that
adding '-lgslcblas' seems to have fixed the problem
on your system for ensemble_stat.  So, please add the '-lgslcblas'
compiler flag to the other Makefiles containing
'-lgsl' in exactly the same way as it was added to the ensemble_stat
Makefile.  A good way to find the places where this
change is necessary is to run the following command (assuming you are
running bash):

egrep 'lgsl' $(find /home/endbek/MET/METv3.1 -name 'Makefile')

Please let me know if you have questions.

Paul



On 02/20/2012 10:17 AM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Paul,
> That change is already there as in last line below:-
>
>   -lvx_stat_out \
>          -lvx_statistics \
>          -lvx_shapedata \
>          -lvx_gsl_prob \
>          -lvx_analysis_util \
>          -lvx_data2d_factory \
>          -lvx_data2d_grib $(GRIB2_LIBS) \
>          -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 -lgslcblas \
>
> Endalk
>
> On Mon, Feb 20, 2012 at 12:10 PM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> I'm afraid that the change that I put into the new Makefile that I
asked
>> you to use did not take effect in the build
>> shown in the log you just sent to me.  The change is to add the
following
>> '-lgslcblas' to the end of the line in the
>> file /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
that
>> contains '-lgsl'.  Can you please make that
>> change by hand so the line looks like this:
>>
>> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>>
>> Then, run "make clean" and "make from the top-level directory.
>>
>> Paul
>>
>>
>> On 02/20/2012 10:04 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Paul,
>>> Please find the new log file.
>>> Thanks,
>>> Endalk
>>>
>>> On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
>>> <met_help at ucar.edu>wrote:
>>>
>>>> Endalk,
>>>>
>>>> I'm sorry, I mistyped the name of the Makefile that I sent you.
Can you
>>>> please rename the file 'Makfile' in that
>>>> directory to 'Makefile' and the run "make clean" and "make" from
the
>>>> top-level directory /home/endbek/MET/METv3.1?
>>>>
>>>> Paul
>>>>
>>>>
>>>> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>
>>>>> Paul,
>>>>> Here is the output-
>>>>>
>>>>> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
>>>>> total 144
>>>>> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
>>>>> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52
ensemble_stat_Conf.cc
>>>>> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52
ensemble_stat_Conf.h
>>>>> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
ensemble_stat_conf_info.cc
>>>>> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
ensemble_stat_conf_info.h
>>>>> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
>>>>> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
>>>>>
>>>>> Endalk
>>>>>
>>>>>
>>>>> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
>>>>> <met_help at ucar.edu>wrote:
>>>>>
>>>>>> Endalk,
>>>>>>
>>>>>> Can you please send me the output of the following command "ls
>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
>>>>>>>
>>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>
>>>>>>> Yes I did. I renamed the old one and replaced it with this
one.
>>>>>>> Endalk
>>>>>>>
>>>>>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>
>>>>>>>> Endalk,
>>>>>>>>
>>>>>>>> Are you sure you put the Makefile that I attached into the
folder
>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>
>>>>>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>
>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>
>>>>>>>>> Paul,
>>>>>>>>>
>>>>>>>>> Please find the attached log file. I observe changes in the
error
>>>>>>>> message.
>>>>>>>>> Thanks,
>>>>>>>>> Endalk
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
>>>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>>>
>>>>>>>>>> Endalk,
>>>>>>>>>>
>>>>>>>>>> Running make from any directory other than the top-level
MET
>>>> directory
>>>>>>>>>> will not work.  Instead of trying to run the
>>>>>>>>>> compiler command directly, please rename the file
>>>>>>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile to
>>>>>>>>>> Makefile_orig and put the attached Makefile in it's place.
Then,
>>>> run
>>>>>>>>>> "make" from the top-level directory
>>>>>>>>>> /home/endbek/MET/METv3.1.
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>>>
>>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>>>
>>>>>>>>>>> Hi Paul,
>>>>>>>>>>>
>>>>>>>>>>> Thanks again for your help.
>>>>>>>>>>>
>>>>>>>>>>> I got the error below when I do "make" from
>>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
folder
>>>>>>>>>>>
>>>>>>>>>>> linux-
sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
>> #
>>>>>> make
>>>>>>>>>>>
>>>>>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
>>>>>>>>>>> g++: error: missing path after ‘-I’
>>>>>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Endalk
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
>>>>>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Endalk,
>>>>>>>>>>>>
>>>>>>>>>>>> I researched your error message, and it appears that some
>>>>>>>> compiler/make
>>>>>>>>>>>> configurations require you to link the library
>>>>>>>>>>>> libgslcblas.so when building with GSL.  Can you please
try to
>> run
>>>>>> the
>>>>>>>>>>>> command below from your directory
>>>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
directory?
>>>>    If
>>>>>>>>>> this
>>>>>>>>>>>> command works, then you will have to modify
>>>>>>>>>>>> the Makefiles for the MET executables to add that linker
flag.
>>>>>>     Please
>>>>>>>>>> let
>>>>>>>>>>>> me know if this is successful.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>
>>>>>>>>>>>> Paul
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
>>>> ensemble_stat_Conf.o
>>>>>>>>>>>> ensemble_stat_conf_info.o \
>>>>>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\" \
>>>>>>>>>>>> -I/home/endbek/MET/METv3.1/include
>>>> -I/home/endbek/MET/netcdf/include
>>>>>>>>>>>> -I/home/endbek/MET/gsl/include \
>>>>>>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
>>>>>>>>>>>> -L/home/endbek/MET/gsl/lib \
>>>>>>>>>>>> -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 -lgslcblas\
>>>>>>>>>>>> -L/usr/lib
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Files are attached now!
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Dear all,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have had a couple of problems while setting up MET on
my
>>>>>> personal
>>>>>>>>>>>> laptop.
>>>>>>>>>>>>>> I did manage to solve my earlier problem with the
support I
>> got
>>>>>> from
>>>>>>>>>>>>>> met_help (Paul). My current problem is related to
"gsl", as in
>>>>>>>>>>>> indicated in
>>>>>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
>>>>>> make_met.log
>>>>>>>>>>>> files.
>>>>>>>>>>>>>> Kindly advise me accordingly.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Endalk
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>>>>>>>>>>>> Endalkachew Bekele
>>>>>>>>>>>>>> NOAA Climate Prediction Center / African Desk
>>>>>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>>>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
>>>>>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>>>>> # ** Copyright UCAR (c) 1992 - 2012
>>>>>>>>>> # ** University Corporation for Atmospheric Research (UCAR)
>>>>>>>>>> # ** National Center for Atmospheric Research (NCAR)
>>>>>>>>>> # ** Research Applications Lab (RAL)
>>>>>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
>>>>>>>>>> # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>> #
>>>>>>>>>> # Makefile for the ensemble_stat tool
>>>>>>>>>> #
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> EXECUTABLES = ensemble_stat
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> OBJECTS     = ensemble_stat_Conf.o \
>>>>>>>>>>                   ensemble_stat_conf_info.o
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> LIBRARIES   =
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> HEADERS     =
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>>>>>>>>>>             @ echo
>>>>>>>>>>             @ echo "*** Finished Making the ensemble_stat
Tool ***"
>>>>>>>>>>             @ echo
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>        ##
>>>>>>>>>>        ##  objects
>>>>>>>>>>        ##
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>>>>>>>>>>             @ echo
>>>>>>>>>>             $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
>>>> -I$(MET_INC_DIR)
>>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>>>>>>>>>>             @ echo
>>>>>>>>>>             $(CXX) ensemble_stat_conf_info.cc $(CXX_FLAGS)
-c
>>>>>>>> -I$(MET_INC_DIR)
>>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>        ##
>>>>>>>>>>        ##  libraries
>>>>>>>>>>        ##
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>        ##
>>>>>>>>>>        ##  executables
>>>>>>>>>>        ##
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>>>>>>>>>>             @ echo
>>>>>>>>>>             $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
$(OBJECTS) \
>>>>>>>>>>             $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
>>>>>>>>>>        -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
$(GRIB2C_INCS) \
>>>>>>>>>>        -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
$(GRIB2C_LIBS) \
>>>>>>>>>>             -lvx_stat_out \
>>>>>>>>>>             -lvx_statistics \
>>>>>>>>>>             -lvx_shapedata \
>>>>>>>>>>             -lvx_gsl_prob \
>>>>>>>>>>             -lvx_analysis_util \
>>>>>>>>>>             -lvx_data2d_factory \
>>>>>>>>>>             -lvx_data2d_grib $(GRIB2_LIBS) \
>>>>>>>>>>             -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 -lgslcblas \
>>>>>>>>>>             $(CXX_LIBS)
>>>>>>>>>>             cp $(EXECUTABLES) $(MET_BIN_DIR)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> clean:
>>>>>>>>>>             rm -f *.a *.o temp junk core a.out $(OBJECTS)
>> $(LIBRARIES)
>>>>>>>>>> $(EXECUTABLES)
>>>>>>>>>>             rm -f $(MET_BIN_DIR)/ensemble_stat
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> .PHONY: all clean
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>
>>
########################################################################
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 10:37:05 2012

Thank you, Paul.
I will take my time and make the changes accordingly. I will let you
know
If I have any problem. Thanks again for your help.
Edalk

On Mon, Feb 20, 2012 at 12:23 PM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> My mistake, I was looking at the wrong make output.  It appears that
> adding '-lgslcblas' seems to have fixed the problem
> on your system for ensemble_stat.  So, please add the '-lgslcblas'
> compiler flag to the other Makefiles containing
> '-lgsl' in exactly the same way as it was added to the ensemble_stat
> Makefile.  A good way to find the places where this
> change is necessary is to run the following command (assuming you
are
> running bash):
>
> egrep 'lgsl' $(find /home/endbek/MET/METv3.1 -name 'Makefile')
>
> Please let me know if you have questions.
>
> Paul
>
>
>
> On 02/20/2012 10:17 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Paul,
> > That change is already there as in last line below:-
> >
> >   -lvx_stat_out \
> >          -lvx_statistics \
> >          -lvx_shapedata \
> >          -lvx_gsl_prob \
> >          -lvx_analysis_util \
> >          -lvx_data2d_factory \
> >          -lvx_data2d_grib $(GRIB2_LIBS) \
> >          -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 -lgslcblas \
> >
> > Endalk
> >
> > On Mon, Feb 20, 2012 at 12:10 PM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> I'm afraid that the change that I put into the new Makefile that
I asked
> >> you to use did not take effect in the build
> >> shown in the log you just sent to me.  The change is to add the
> following
> >> '-lgslcblas' to the end of the line in the
> >> file
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile that
> >> contains '-lgsl'.  Can you please make that
> >> change by hand so the line looks like this:
> >>
> >> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
> >>
> >> Then, run "make clean" and "make from the top-level directory.
> >>
> >> Paul
> >>
> >>
> >> On 02/20/2012 10:04 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Paul,
> >>> Please find the new log file.
> >>> Thanks,
> >>> Endalk
> >>>
> >>> On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
> >>> <met_help at ucar.edu>wrote:
> >>>
> >>>> Endalk,
> >>>>
> >>>> I'm sorry, I mistyped the name of the Makefile that I sent you.
Can
> you
> >>>> please rename the file 'Makfile' in that
> >>>> directory to 'Makefile' and the run "make clean" and "make"
from the
> >>>> top-level directory /home/endbek/MET/METv3.1?
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
> >>>>>
> >>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>
> >>>>> Paul,
> >>>>> Here is the output-
> >>>>>
> >>>>> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> >>>>> total 144
> >>>>> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
> >>>>> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52
ensemble_stat_Conf.cc
> >>>>> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52
ensemble_stat_Conf.h
> >>>>> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
> ensemble_stat_conf_info.cc
> >>>>> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
> ensemble_stat_conf_info.h
> >>>>> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
> >>>>> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
> >>>>>
> >>>>> Endalk
> >>>>>
> >>>>>
> >>>>> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
> >>>>> <met_help at ucar.edu>wrote:
> >>>>>
> >>>>>> Endalk,
> >>>>>>
> >>>>>> Can you please send me the output of the following command
"ls
> >>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
> >>>>>>
> >>>>>> Paul
> >>>>>>
> >>>>>>
> >>>>>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>
> >>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>
> >>>>>>> Yes I did. I renamed the old one and replaced it with this
one.
> >>>>>>> Endalk
> >>>>>>>
> >>>>>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
> >>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>
> >>>>>>>> Endalk,
> >>>>>>>>
> >>>>>>>> Are you sure you put the Makefile that I attached into the
folder
> >>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
> >>>>>>>>
> >>>>>>>> Paul
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>
> >>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>
> >>>>>>>>> Paul,
> >>>>>>>>>
> >>>>>>>>> Please find the attached log file. I observe changes in
the error
> >>>>>>>> message.
> >>>>>>>>> Thanks,
> >>>>>>>>> Endalk
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> >>>>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>>>
> >>>>>>>>>> Endalk,
> >>>>>>>>>>
> >>>>>>>>>> Running make from any directory other than the top-level
MET
> >>>> directory
> >>>>>>>>>> will not work.  Instead of trying to run the
> >>>>>>>>>> compiler command directly, please rename the file
> >>>>>>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
> to
> >>>>>>>>>> Makefile_orig and put the attached Makefile in it's
place.
>  Then,
> >>>> run
> >>>>>>>>>> "make" from the top-level directory
> >>>>>>>>>> /home/endbek/MET/METv3.1.
> >>>>>>>>>>
> >>>>>>>>>> Paul
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>>>
> >>>>>>>>>>> Hi Paul,
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks again for your help.
> >>>>>>>>>>>
> >>>>>>>>>>> I got the error below when I do "make" from
> >>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
folder
> >>>>>>>>>>>
> >>>>>>>>>>>
> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> >> #
> >>>>>> make
> >>>>>>>>>>>
> >>>>>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
> >>>>>>>>>>> g++: error: missing path after ‘-I’
> >>>>>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Endalk
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> >>>>>>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Endalk,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I researched your error message, and it appears that
some
> >>>>>>>> compiler/make
> >>>>>>>>>>>> configurations require you to link the library
> >>>>>>>>>>>> libgslcblas.so when building with GSL.  Can you please
try to
> >> run
> >>>>>> the
> >>>>>>>>>>>> command below from your directory
> >>>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> directory?
> >>>>    If
> >>>>>>>>>> this
> >>>>>>>>>>>> command works, then you will have to modify
> >>>>>>>>>>>> the Makefiles for the MET executables to add that
linker flag.
> >>>>>>     Please
> >>>>>>>>>> let
> >>>>>>>>>>>> me know if this is successful.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>
> >>>>>>>>>>>> Paul
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
> >>>> ensemble_stat_Conf.o
> >>>>>>>>>>>> ensemble_stat_conf_info.o \
> >>>>>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\"
\
> >>>>>>>>>>>> -I/home/endbek/MET/METv3.1/include
> >>>> -I/home/endbek/MET/netcdf/include
> >>>>>>>>>>>> -I/home/endbek/MET/gsl/include \
> >>>>>>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
> >>>>>>>>>>>> -L/home/endbek/MET/gsl/lib \
> >>>>>>>>>>>> -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 -lgslcblas\
> >>>>>>>>>>>> -L/usr/lib
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT
wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Files are attached now!
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Dear all,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I have had a couple of problems while setting up MET
on my
> >>>>>> personal
> >>>>>>>>>>>> laptop.
> >>>>>>>>>>>>>> I did manage to solve my earlier problem with the
support I
> >> got
> >>>>>> from
> >>>>>>>>>>>>>> met_help (Paul). My current problem is related to
"gsl", as
> in
> >>>>>>>>>>>> indicated in
> >>>>>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
> >>>>>> make_met.log
> >>>>>>>>>>>> files.
> >>>>>>>>>>>>>> Kindly advise me accordingly.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Endalk
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>>>>>>>>>>>> Endalkachew Bekele
> >>>>>>>>>>>>>> NOAA Climate Prediction Center / African Desk
> >>>>>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>>>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
> >>>>>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> #
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>>>>> # ** Copyright UCAR (c) 1992 - 2012
> >>>>>>>>>> # ** University Corporation for Atmospheric Research
(UCAR)
> >>>>>>>>>> # ** National Center for Atmospheric Research (NCAR)
> >>>>>>>>>> # ** Research Applications Lab (RAL)
> >>>>>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> >>>>>>>>>> #
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>> #
> >>>>>>>>>> # Makefile for the ensemble_stat tool
> >>>>>>>>>> #
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> EXECUTABLES = ensemble_stat
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> OBJECTS     = ensemble_stat_Conf.o \
> >>>>>>>>>>                   ensemble_stat_conf_info.o
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> LIBRARIES   =
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> HEADERS     =
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             @ echo "*** Finished Making the ensemble_stat
Tool
> ***"
> >>>>>>>>>>             @ echo
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>        ##
> >>>>>>>>>>        ##  objects
> >>>>>>>>>>        ##
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
> >>>> -I$(MET_INC_DIR)
> >>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             $(CXX) ensemble_stat_conf_info.cc
$(CXX_FLAGS) -c
> >>>>>>>> -I$(MET_INC_DIR)
> >>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>        ##
> >>>>>>>>>>        ##  libraries
> >>>>>>>>>>        ##
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>        ##
> >>>>>>>>>>        ##  executables
> >>>>>>>>>>        ##
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
> $(OBJECTS) \
> >>>>>>>>>>             $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
> >>>>>>>>>>        -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
> $(GRIB2C_INCS) \
> >>>>>>>>>>        -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
> $(GRIB2C_LIBS) \
> >>>>>>>>>>             -lvx_stat_out \
> >>>>>>>>>>             -lvx_statistics \
> >>>>>>>>>>             -lvx_shapedata \
> >>>>>>>>>>             -lvx_gsl_prob \
> >>>>>>>>>>             -lvx_analysis_util \
> >>>>>>>>>>             -lvx_data2d_factory \
> >>>>>>>>>>             -lvx_data2d_grib $(GRIB2_LIBS) \
> >>>>>>>>>>             -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 -lgslcblas \
> >>>>>>>>>>             $(CXX_LIBS)
> >>>>>>>>>>             cp $(EXECUTABLES) $(MET_BIN_DIR)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> clean:
> >>>>>>>>>>             rm -f *.a *.o temp junk core a.out $(OBJECTS)
> >> $(LIBRARIES)
> >>>>>>>>>> $(EXECUTABLES)
> >>>>>>>>>>             rm -f $(MET_BIN_DIR)/ensemble_stat
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> .PHONY: all clean
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: libgsl.so: undefined reference to `cblas .....
From: Endalkachew Bekele
Time: Mon Feb 20 12:28:59 2012

Paul,

I have just finished building as well as *testing the Model Evaluation
Tools Project* successfully.

Thank you very much for patiently guiding me through the process. I
really
appreciate your help. Have a great time.

Endalk


On Mon, Feb 20, 2012 at 12:23 PM, Paul Oldenburg via RT
<met_help at ucar.edu>wrote:

> Endalk,
>
> My mistake, I was looking at the wrong make output.  It appears that
> adding '-lgslcblas' seems to have fixed the problem
> on your system for ensemble_stat.  So, please add the '-lgslcblas'
> compiler flag to the other Makefiles containing
> '-lgsl' in exactly the same way as it was added to the ensemble_stat
> Makefile.  A good way to find the places where this
> change is necessary is to run the following command (assuming you
are
> running bash):
>
> egrep 'lgsl' $(find /home/endbek/MET/METv3.1 -name 'Makefile')
>
> Please let me know if you have questions.
>
> Paul
>
>
>
> On 02/20/2012 10:17 AM, Endalkachew Bekele via RT wrote:
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >
> > Paul,
> > That change is already there as in last line below:-
> >
> >   -lvx_stat_out \
> >          -lvx_statistics \
> >          -lvx_shapedata \
> >          -lvx_gsl_prob \
> >          -lvx_analysis_util \
> >          -lvx_data2d_factory \
> >          -lvx_data2d_grib $(GRIB2_LIBS) \
> >          -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 -lgslcblas \
> >
> > Endalk
> >
> > On Mon, Feb 20, 2012 at 12:10 PM, Paul Oldenburg via RT
> > <met_help at ucar.edu>wrote:
> >
> >> Endalk,
> >>
> >> I'm afraid that the change that I put into the new Makefile that
I asked
> >> you to use did not take effect in the build
> >> shown in the log you just sent to me.  The change is to add the
> following
> >> '-lgslcblas' to the end of the line in the
> >> file
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile that
> >> contains '-lgsl'.  Can you please make that
> >> change by hand so the line looks like this:
> >>
> >> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
> >>
> >> Then, run "make clean" and "make from the top-level directory.
> >>
> >> Paul
> >>
> >>
> >> On 02/20/2012 10:04 AM, Endalkachew Bekele via RT wrote:
> >>>
> >>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>
> >>> Paul,
> >>> Please find the new log file.
> >>> Thanks,
> >>> Endalk
> >>>
> >>> On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
> >>> <met_help at ucar.edu>wrote:
> >>>
> >>>> Endalk,
> >>>>
> >>>> I'm sorry, I mistyped the name of the Makefile that I sent you.
Can
> you
> >>>> please rename the file 'Makfile' in that
> >>>> directory to 'Makefile' and the run "make clean" and "make"
from the
> >>>> top-level directory /home/endbek/MET/METv3.1?
> >>>>
> >>>> Paul
> >>>>
> >>>>
> >>>> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
> >>>>>
> >>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>
> >>>>> Paul,
> >>>>> Here is the output-
> >>>>>
> >>>>> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> >>>>> total 144
> >>>>> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
> >>>>> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52
ensemble_stat_Conf.cc
> >>>>> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52
ensemble_stat_Conf.h
> >>>>> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
> ensemble_stat_conf_info.cc
> >>>>> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
> ensemble_stat_conf_info.h
> >>>>> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
> >>>>> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
> >>>>>
> >>>>> Endalk
> >>>>>
> >>>>>
> >>>>> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
> >>>>> <met_help at ucar.edu>wrote:
> >>>>>
> >>>>>> Endalk,
> >>>>>>
> >>>>>> Can you please send me the output of the following command
"ls
> >>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
> >>>>>>
> >>>>>> Paul
> >>>>>>
> >>>>>>
> >>>>>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>
> >>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>
> >>>>>>> Yes I did. I renamed the old one and replaced it with this
one.
> >>>>>>> Endalk
> >>>>>>>
> >>>>>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
> >>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>
> >>>>>>>> Endalk,
> >>>>>>>>
> >>>>>>>> Are you sure you put the Makefile that I attached into the
folder
> >>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
> >>>>>>>>
> >>>>>>>> Paul
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>
> >>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>
> >>>>>>>>> Paul,
> >>>>>>>>>
> >>>>>>>>> Please find the attached log file. I observe changes in
the error
> >>>>>>>> message.
> >>>>>>>>> Thanks,
> >>>>>>>>> Endalk
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
> >>>>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>>>
> >>>>>>>>>> Endalk,
> >>>>>>>>>>
> >>>>>>>>>> Running make from any directory other than the top-level
MET
> >>>> directory
> >>>>>>>>>> will not work.  Instead of trying to run the
> >>>>>>>>>> compiler command directly, please rename the file
> >>>>>>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
> to
> >>>>>>>>>> Makefile_orig and put the attached Makefile in it's
place.
>  Then,
> >>>> run
> >>>>>>>>>> "make" from the top-level directory
> >>>>>>>>>> /home/endbek/MET/METv3.1.
> >>>>>>>>>>
> >>>>>>>>>> Paul
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>>>
> >>>>>>>>>>> Hi Paul,
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks again for your help.
> >>>>>>>>>>>
> >>>>>>>>>>> I got the error below when I do "make" from
> >>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
folder
> >>>>>>>>>>>
> >>>>>>>>>>>
> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> >> #
> >>>>>> make
> >>>>>>>>>>>
> >>>>>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
> >>>>>>>>>>> g++: error: missing path after ‘-I’
> >>>>>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Endalk
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
> >>>>>>>>>>> <met_help at ucar.edu>wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Endalk,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I researched your error message, and it appears that
some
> >>>>>>>> compiler/make
> >>>>>>>>>>>> configurations require you to link the library
> >>>>>>>>>>>> libgslcblas.so when building with GSL.  Can you please
try to
> >> run
> >>>>>> the
> >>>>>>>>>>>> command below from your directory
> >>>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
> directory?
> >>>>    If
> >>>>>>>>>> this
> >>>>>>>>>>>> command works, then you will have to modify
> >>>>>>>>>>>> the Makefiles for the MET executables to add that
linker flag.
> >>>>>>     Please
> >>>>>>>>>> let
> >>>>>>>>>>>> me know if this is successful.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Thanks,
> >>>>>>>>>>>>
> >>>>>>>>>>>> Paul
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
> >>>> ensemble_stat_Conf.o
> >>>>>>>>>>>> ensemble_stat_conf_info.o \
> >>>>>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\"
\
> >>>>>>>>>>>> -I/home/endbek/MET/METv3.1/include
> >>>> -I/home/endbek/MET/netcdf/include
> >>>>>>>>>>>> -I/home/endbek/MET/gsl/include \
> >>>>>>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
> >>>>>>>>>>>> -L/home/endbek/MET/gsl/lib \
> >>>>>>>>>>>> -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 -lgslcblas\
> >>>>>>>>>>>> -L/usr/lib
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT
wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Files are attached now!
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Dear all,
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> I have had a couple of problems while setting up MET
on my
> >>>>>> personal
> >>>>>>>>>>>> laptop.
> >>>>>>>>>>>>>> I did manage to solve my earlier problem with the
support I
> >> got
> >>>>>> from
> >>>>>>>>>>>>>> met_help (Paul). My current problem is related to
"gsl", as
> in
> >>>>>>>>>>>> indicated in
> >>>>>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
> >>>>>> make_met.log
> >>>>>>>>>>>> files.
> >>>>>>>>>>>>>> Kindly advise me accordingly.
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> Endalk
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>> --
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>
> >>>>>>
> >>>>
> >>
>
-----------------------------------------------------------------------------------
> >>>>>>>>>>>>>> Endalkachew Bekele
> >>>>>>>>>>>>>> NOAA Climate Prediction Center / African Desk
> >>>>>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
> >>>>>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
> >>>>>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> #
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>>>>> # ** Copyright UCAR (c) 1992 - 2012
> >>>>>>>>>> # ** University Corporation for Atmospheric Research
(UCAR)
> >>>>>>>>>> # ** National Center for Atmospheric Research (NCAR)
> >>>>>>>>>> # ** Research Applications Lab (RAL)
> >>>>>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
> >>>>>>>>>> #
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>> #
> >>>>>>>>>> # Makefile for the ensemble_stat tool
> >>>>>>>>>> #
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> EXECUTABLES = ensemble_stat
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> OBJECTS     = ensemble_stat_Conf.o \
> >>>>>>>>>>                   ensemble_stat_conf_info.o
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> LIBRARIES   =
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> HEADERS     =
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             @ echo "*** Finished Making the ensemble_stat
Tool
> ***"
> >>>>>>>>>>             @ echo
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>        ##
> >>>>>>>>>>        ##  objects
> >>>>>>>>>>        ##
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
> >>>> -I$(MET_INC_DIR)
> >>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             $(CXX) ensemble_stat_conf_info.cc
$(CXX_FLAGS) -c
> >>>>>>>> -I$(MET_INC_DIR)
> >>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>        ##
> >>>>>>>>>>        ##  libraries
> >>>>>>>>>>        ##
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>        ##
> >>>>>>>>>>        ##  executables
> >>>>>>>>>>        ##
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
> >>>>>>>>>>             @ echo
> >>>>>>>>>>             $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
> $(OBJECTS) \
> >>>>>>>>>>             $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\" \
> >>>>>>>>>>        -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
> $(GRIB2C_INCS) \
> >>>>>>>>>>        -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
> $(GRIB2C_LIBS) \
> >>>>>>>>>>             -lvx_stat_out \
> >>>>>>>>>>             -lvx_statistics \
> >>>>>>>>>>             -lvx_shapedata \
> >>>>>>>>>>             -lvx_gsl_prob \
> >>>>>>>>>>             -lvx_analysis_util \
> >>>>>>>>>>             -lvx_data2d_factory \
> >>>>>>>>>>             -lvx_data2d_grib $(GRIB2_LIBS) \
> >>>>>>>>>>             -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 -lgslcblas \
> >>>>>>>>>>             $(CXX_LIBS)
> >>>>>>>>>>             cp $(EXECUTABLES) $(MET_BIN_DIR)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> clean:
> >>>>>>>>>>             rm -f *.a *.o temp junk core a.out $(OBJECTS)
> >> $(LIBRARIES)
> >>>>>>>>>> $(EXECUTABLES)
> >>>>>>>>>>             rm -f $(MET_BIN_DIR)/ensemble_stat
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> .PHONY: all clean
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>
> >>
########################################################################
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>
> >>
> >>
> >
> >
>
>
>


--
-----------------------------------------------------------------------------------
Endalkachew Bekele
NOAA Climate Prediction Center / African Desk
5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
Tel: (301) 763 8000 Ext. 7014
e-mail: endalkachew.bekele at noaa.gov

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #53850] AutoReply: libgsl.so: undefined reference to `cblas .....
From: Paul Oldenburg
Time: Mon Feb 20 12:32:58 2012

Endalk,

I'm glad to hear it is working.  Please let us know if you have any
other questions.

Paul


On 02/20/2012 12:28 PM, Endalkachew Bekele via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>
> Paul,
>
> I have just finished building as well as *testing the Model
Evaluation
> Tools Project* successfully.
>
> Thank you very much for patiently guiding me through the process. I
really
> appreciate your help. Have a great time.
>
> Endalk
>
>
> On Mon, Feb 20, 2012 at 12:23 PM, Paul Oldenburg via RT
> <met_help at ucar.edu>wrote:
>
>> Endalk,
>>
>> My mistake, I was looking at the wrong make output.  It appears
that
>> adding '-lgslcblas' seems to have fixed the problem
>> on your system for ensemble_stat.  So, please add the '-lgslcblas'
>> compiler flag to the other Makefiles containing
>> '-lgsl' in exactly the same way as it was added to the
ensemble_stat
>> Makefile.  A good way to find the places where this
>> change is necessary is to run the following command (assuming you
are
>> running bash):
>>
>> egrep 'lgsl' $(find /home/endbek/MET/METv3.1 -name 'Makefile')
>>
>> Please let me know if you have questions.
>>
>> Paul
>>
>>
>>
>> On 02/20/2012 10:17 AM, Endalkachew Bekele via RT wrote:
>>>
>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>
>>> Paul,
>>> That change is already there as in last line below:-
>>>
>>>    -lvx_stat_out \
>>>           -lvx_statistics \
>>>           -lvx_shapedata \
>>>           -lvx_gsl_prob \
>>>           -lvx_analysis_util \
>>>           -lvx_data2d_factory \
>>>           -lvx_data2d_grib $(GRIB2_LIBS) \
>>>           -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 -lgslcblas \
>>>
>>> Endalk
>>>
>>> On Mon, Feb 20, 2012 at 12:10 PM, Paul Oldenburg via RT
>>> <met_help at ucar.edu>wrote:
>>>
>>>> Endalk,
>>>>
>>>> I'm afraid that the change that I put into the new Makefile that
I asked
>>>> you to use did not take effect in the build
>>>> shown in the log you just sent to me.  The change is to add the
>> following
>>>> '-lgslcblas' to the end of the line in the
>>>> file
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile that
>>>> contains '-lgsl'.  Can you please make that
>>>> change by hand so the line looks like this:
>>>>
>>>> -lm -lnetcdf_c++ -lnetcdf -lgsl -lgslcblas \
>>>>
>>>> Then, run "make clean" and "make from the top-level directory.
>>>>
>>>> Paul
>>>>
>>>>
>>>> On 02/20/2012 10:04 AM, Endalkachew Bekele via RT wrote:
>>>>>
>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>
>>>>> Paul,
>>>>> Please find the new log file.
>>>>> Thanks,
>>>>> Endalk
>>>>>
>>>>> On Mon, Feb 20, 2012 at 11:53 AM, Paul Oldenburg via RT
>>>>> <met_help at ucar.edu>wrote:
>>>>>
>>>>>> Endalk,
>>>>>>
>>>>>> I'm sorry, I mistyped the name of the Makefile that I sent you.
Can
>> you
>>>>>> please rename the file 'Makfile' in that
>>>>>> directory to 'Makefile' and the run "make clean" and "make"
from the
>>>>>> top-level directory /home/endbek/MET/METv3.1?
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> On 02/20/2012 09:52 AM, Endalkachew Bekele via RT wrote:
>>>>>>>
>>>>>>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>
>>>>>>> Paul,
>>>>>>> Here is the output-
>>>>>>>
>>>>>>> ls -l /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
>>>>>>> total 144
>>>>>>> -rw-r--r-- 1 endbek users 69297 Feb  7 17:51 ensemble_stat.cc
>>>>>>> -rw-r--r-- 1 endbek users 26541 Feb  7 17:52
ensemble_stat_Conf.cc
>>>>>>> -rw-r--r-- 1 endbek users  4697 Feb  7 17:52
ensemble_stat_Conf.h
>>>>>>> -rw-r--r-- 1 endbek users 20101 Feb  7 17:51
>> ensemble_stat_conf_info.cc
>>>>>>> -rw-r--r-- 1 endbek users  5005 Feb  7 17:51
>> ensemble_stat_conf_info.h
>>>>>>> -rw-r--r-- 1 endbek users  5038 Feb  7 17:51 ensemble_stat.h
>>>>>>> -rw-r--r-- 1 root   root   2645 Feb 20 11:23 Makfile
>>>>>>>
>>>>>>> Endalk
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Feb 20, 2012 at 11:45 AM, Paul Oldenburg via RT
>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>
>>>>>>>> Endalk,
>>>>>>>>
>>>>>>>> Can you please send me the output of the following command
"ls
>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat".
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>
>>>>>>>> On 02/20/2012 09:42 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>
>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>
>>>>>>>>> Yes I did. I renamed the old one and replaced it with this
one.
>>>>>>>>> Endalk
>>>>>>>>>
>>>>>>>>> On Mon, Feb 20, 2012 at 11:41 AM, Paul Oldenburg via RT
>>>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>>>
>>>>>>>>>> Endalk,
>>>>>>>>>>
>>>>>>>>>> Are you sure you put the Makefile that I attached into the
folder
>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat?
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 02/20/2012 09:39 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>>>
>>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>>>
>>>>>>>>>>> Paul,
>>>>>>>>>>>
>>>>>>>>>>> Please find the attached log file. I observe changes in
the error
>>>>>>>>>> message.
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Endalk
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Feb 20, 2012 at 11:12 AM, Paul Oldenburg via RT
>>>>>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Endalk,
>>>>>>>>>>>>
>>>>>>>>>>>> Running make from any directory other than the top-level
MET
>>>>>> directory
>>>>>>>>>>>> will not work.  Instead of trying to run the
>>>>>>>>>>>> compiler command directly, please rename the file
>>>>>>>>>>>>
/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat/Makefile
>> to
>>>>>>>>>>>> Makefile_orig and put the attached Makefile in it's
place.
>>   Then,
>>>>>> run
>>>>>>>>>>>> "make" from the top-level directory
>>>>>>>>>>>> /home/endbek/MET/METv3.1.
>>>>>>>>>>>>
>>>>>>>>>>>> Paul
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 02/20/2012 09:05 AM, Endalkachew Bekele via RT wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Paul,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks again for your help.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I got the error below when I do "make" from
>>>>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
folder
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>> linux-sdq8:/home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
>>>> #
>>>>>>>> make
>>>>>>>>>>>>>
>>>>>>>>>>>>> g++ ensemble_stat_Conf.cc  -c -I
>>>>>>>>>>>>> g++: error: missing path after ‘-I’
>>>>>>>>>>>>> make: *** [ensemble_stat_Conf.o] Error 1
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Endalk
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Feb 20, 2012 at 10:35 AM, Paul Oldenburg via RT
>>>>>>>>>>>>> <met_help at ucar.edu>wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Endalk,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I researched your error message, and it appears that
some
>>>>>>>>>> compiler/make
>>>>>>>>>>>>>> configurations require you to link the library
>>>>>>>>>>>>>> libgslcblas.so when building with GSL.  Can you please
try to
>>>> run
>>>>>>>> the
>>>>>>>>>>>>>> command below from your directory
>>>>>>>>>>>>>> /home/endbek/MET/METv3.1/src/tools/core/ensemble_stat
>> directory?
>>>>>>     If
>>>>>>>>>>>> this
>>>>>>>>>>>>>> command works, then you will have to modify
>>>>>>>>>>>>>> the Makefiles for the MET executables to add that
linker flag.
>>>>>>>>      Please
>>>>>>>>>>>> let
>>>>>>>>>>>>>> me know if this is successful.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Paul
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> /usr/bin/c++ -o ensemble_stat ensemble_stat.cc
>>>>>> ensemble_stat_Conf.o
>>>>>>>>>>>>>> ensemble_stat_conf_info.o \
>>>>>>>>>>>>>> -Wall -Wshadow  -DMET_BASE=\"/home/endbek/MET/METv3.1\"
\
>>>>>>>>>>>>>> -I/home/endbek/MET/METv3.1/include
>>>>>> -I/home/endbek/MET/netcdf/include
>>>>>>>>>>>>>> -I/home/endbek/MET/gsl/include \
>>>>>>>>>>>>>> -L/home/endbek/MET/METv3.1/lib
-L/home/endbek/MET/netcdf/lib
>>>>>>>>>>>>>> -L/home/endbek/MET/gsl/lib \
>>>>>>>>>>>>>> -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 -lgslcblas\
>>>>>>>>>>>>>> -L/usr/lib
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 02/20/2012 06:11 AM, Endalkachew Bekele via RT
wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=53850>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Files are attached now!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Dear all,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have had a couple of problems while setting up MET
on my
>>>>>>>> personal
>>>>>>>>>>>>>> laptop.
>>>>>>>>>>>>>>>> I did manage to solve my earlier problem with the
support I
>>>> got
>>>>>>>> from
>>>>>>>>>>>>>>>> met_help (Paul). My current problem is related to
"gsl", as
>> in
>>>>>>>>>>>>>> indicated in
>>>>>>>>>>>>>>>> the subject. I, attach here with, the user_def.mk and
>>>>>>>> make_met.log
>>>>>>>>>>>>>> files.
>>>>>>>>>>>>>>>> Kindly advise me accordingly.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Endalk
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>
>>>>>>
>>>>
>>
-----------------------------------------------------------------------------------
>>>>>>>>>>>>>>>> Endalkachew Bekele
>>>>>>>>>>>>>>>> NOAA Climate Prediction Center / African Desk
>>>>>>>>>>>>>>>> 5200 Auth Road, Rm 811, Camp Springs, MD 20746, USA
>>>>>>>>>>>>>>>> Tel: (301) 763 8000 Ext. 7014
>>>>>>>>>>>>>>>> e-mail: endalkachew.bekele at noaa.gov
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> #
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>>>>>>> # ** Copyright UCAR (c) 1992 - 2012
>>>>>>>>>>>> # ** University Corporation for Atmospheric Research
(UCAR)
>>>>>>>>>>>> # ** National Center for Atmospheric Research (NCAR)
>>>>>>>>>>>> # ** Research Applications Lab (RAL)
>>>>>>>>>>>> # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA
>>>>>>>>>>>> #
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>> #
>>>>>>>>>>>> # Makefile for the ensemble_stat tool
>>>>>>>>>>>> #
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> EXECUTABLES = ensemble_stat
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> OBJECTS     = ensemble_stat_Conf.o \
>>>>>>>>>>>>                    ensemble_stat_conf_info.o
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> LIBRARIES   =
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> HEADERS     =
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> all: $(OBJECTS) $(LIBRARIES) $(EXECUTABLES)
>>>>>>>>>>>>              @ echo
>>>>>>>>>>>>              @ echo "*** Finished Making the
ensemble_stat Tool
>> ***"
>>>>>>>>>>>>              @ echo
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>         ##
>>>>>>>>>>>>         ##  objects
>>>>>>>>>>>>         ##
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ensemble_stat_Conf.o: ensemble_stat_Conf.cc
>>>>>>>>>>>>              @ echo
>>>>>>>>>>>>              $(CXX) ensemble_stat_Conf.cc $(CXX_FLAGS) -c
>>>>>> -I$(MET_INC_DIR)
>>>>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ensemble_stat_conf_info.o: ensemble_stat_conf_info.cc
>>>>>>>>>>>>              @ echo
>>>>>>>>>>>>              $(CXX) ensemble_stat_conf_info.cc
$(CXX_FLAGS) -c
>>>>>>>>>> -I$(MET_INC_DIR)
>>>>>>>>>>>> $(GSL_INCS) $(NETCDF_INCS)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>         ##
>>>>>>>>>>>>         ##  libraries
>>>>>>>>>>>>         ##
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>         ##
>>>>>>>>>>>>         ##  executables
>>>>>>>>>>>>         ##
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ensemble_stat: ensemble_stat.cc $(OBJECTS)
>>>>>>>>>>>>              @ echo
>>>>>>>>>>>>              $(CXX) -o $(EXECUTABLES) ensemble_stat.cc
>> $(OBJECTS) \
>>>>>>>>>>>>              $(CXX_FLAGS) -DMET_BASE=\"$(MET_BASE_DIR)\"
\
>>>>>>>>>>>>         -I$(MET_INC_DIR) $(NETCDF_INCS) $(GSL_INCS)
>> $(GRIB2C_INCS) \
>>>>>>>>>>>>         -L$(MET_LIB_DIR) $(NETCDF_LIBS) $(GSL_LIBS)
>> $(GRIB2C_LIBS) \
>>>>>>>>>>>>              -lvx_stat_out \
>>>>>>>>>>>>              -lvx_statistics \
>>>>>>>>>>>>              -lvx_shapedata \
>>>>>>>>>>>>              -lvx_gsl_prob \
>>>>>>>>>>>>              -lvx_analysis_util \
>>>>>>>>>>>>              -lvx_data2d_factory \
>>>>>>>>>>>>              -lvx_data2d_grib $(GRIB2_LIBS) \
>>>>>>>>>>>>              -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 -lgslcblas \
>>>>>>>>>>>>              $(CXX_LIBS)
>>>>>>>>>>>>              cp $(EXECUTABLES) $(MET_BIN_DIR)
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> clean:
>>>>>>>>>>>>              rm -f *.a *.o temp junk core a.out
$(OBJECTS)
>>>> $(LIBRARIES)
>>>>>>>>>>>> $(EXECUTABLES)
>>>>>>>>>>>>              rm -f $(MET_BIN_DIR)/ensemble_stat
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> .PHONY: all clean
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>
>>>>
########################################################################
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


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


More information about the Met_help mailing list