[Met_help] [rt.rap.ucar.edu #44619] History for Compilation environment
RAL HelpDesk {for John Halley Gotway}
met_help at ucar.edu
Fri Apr 8 11:34:46 MDT 2011
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hi,
We are trying to compile MET under Fedora Core 14, gcc compiler and several errors appear.
Could you give us the info about which linux ditribution and libray versions(bufr, gsl, and netCDF) you can compile with succesfull results?
We want to install MET ussing your configuration to avoid more compilation and debugging problems.
Kind regards,
Daniel Santos
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #44619] Compilation environment
From: John Halley Gotway
Time: Fri Feb 18 10:07:05 2011
Daniel,
We use Debian Linux primarily with the GNU compilers in our
development environment. However, I know that MET has been compiled
and run fine on several different Linux distributions - RedHat,
CentOS,
and Fedora to name a few. So I would fully expect that you'd be able
to get MET to compile on your Fedora release using the GNU compilers.
Here are the steps I'd recommend:
(1) Make sure you've downloaded and applied the patches for METv3.0.
Just follow the instructions at the top of this page:
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
(2) I'm wondering in the Makefile if you've accidentally used gcc when
you should be using g++. So make sure you have it set to g++:
CXX = /usr/bin/g++
FC = /usr/bin/gfortran
(3) As you're compiling the required libraries and MET itself, please
follow the compilation instructions listed in the MET online tutorial:
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
Please give that a shot and let us know if you continue to experience
problems.
Thanks,
John Halley Gotway
met_help at ucar.edu
On 02/18/2011 08:36 AM, RAL HelpDesk {for Daniel Santos Muñoz} wrote:
>
> Fri Feb 18 08:36:28 2011: Request 44619 was acted upon.
> Transaction: Ticket created by dsantos at fis.ucm.es
> Queue: met_help
> Subject: Compilation environment
> Owner: Nobody
> Requestors: dsantos at fis.ucm.es
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>
>
> Hi,
>
> We are trying to compile MET under Fedora Core 14, gcc compiler and
several errors appear.
>
> Could you give us the info about which linux ditribution and libray
versions(bufr, gsl, and netCDF) you can compile with succesfull
results?
>
> We want to install MET ussing your configuration to avoid more
compilation and debugging problems.
>
> Kind regards,
>
> Daniel Santos
------------------------------------------------
Subject: Compilation environment
From: Daniel Santos Muñoz
Time: Mon Feb 21 05:12:09 2011
Hi John,
We have trying to compile again following your advices and we still
run in to the same problem:
----- Mensaje original
-----/usr/bin/g++ latlon_grid.cc -c -Wall -Wshadow -static
-I..
latlon_grid.cc: In member function ‘virtual ConcatString
LatLonGrid::serialize() const’:
latlon_grid.cc:232:38: error: ‘sprintf’ was not declared in this scope
make[2]: *** [latlon_grid.o] Error 1
make[1]: *** [libs] Error 2
make: *** [all] Error 2
Do you have any new recommendations ?
Thanks,
Daniel
----- Mensaje original -----
De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
Fecha: Viernes, Febrero 18, 2011 18:07
Asunto: Re: [rt.rap.ucar.edu #44619] Compilation environment
A: dsantos at fis.ucm.es
CC: met_help at ucar.edu
> Daniel,
>
> We use Debian Linux primarily with the GNU compilers in our
> development environment. However, I know that MET has been
> compiled and run fine on several different Linux distributions -
> RedHat, CentOS,
> and Fedora to name a few. So I would fully expect that
> you'd be able to get MET to compile on your Fedora release using
> the GNU compilers.
>
> Here are the steps I'd recommend:
> (1) Make sure you've downloaded and applied the patches for
> METv3.0. Just follow the instructions at the top of this page:
>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
> (2) I'm wondering in the Makefile if you've accidentally used
> gcc when you should be using g++. So make sure you have it
> set to g++:
>
> CXX =
> /usr/bin/g++
> FC =
> /usr/bin/gfortran
> (3) As you're compiling the required libraries and MET itself,
> please follow the compilation instructions listed in the MET
> online tutorial:
>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
> Please give that a shot and let us know if you continue to
> experience problems.
>
> Thanks,
> John Halley Gotway
> met_help at ucar.edu
>
> On 02/18/2011 08:36 AM, RAL HelpDesk {for Daniel Santos Muñoz}
wrote:
> >
> > Fri Feb 18 08:36:28 2011: Request 44619 was acted upon.
> > Transaction: Ticket created by dsantos at fis.ucm.es
> > Queue: met_help
> > Subject: Compilation environment
> > Owner: Nobody
> > Requestors: dsantos at fis.ucm.es
> > Status: new
> > Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
> >
> >
> > Hi,
> >
> > We are trying to compile MET under Fedora Core 14, gcc
> compiler and several errors appear.
> >
> > Could you give us the info about which linux ditribution and
> libray versions(bufr, gsl, and netCDF) you can compile
> with succesfull results?
> >
> > We want to install MET ussing your configuration to avoid
more
> compilation and debugging problems.
> >
> > Kind regards,
> >
> > Daniel Santos
>
>
------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #44619] Compilation environment
From: John Halley Gotway
Time: Mon Feb 21 20:53:02 2011
Daniel,
I believe there was a bugfix posted on 10/04/2010 that should solve
that
problem. Please go to the known issues page, download all the
patches,
and try recompiling. Just follow the instructions listed at the top
of
the page:
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
Thanks,
John
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>
> Hi John,
>
> We have trying to compile again following your advices and we still
run
> in to the same problem:Â
>
>
> ----- Mensaje original -----/usr/bin/g++ latlon_grid.cc      Â
-c
> -Wall -Wshadow -static  -I..
> latlon_grid.cc: In member function âvirtual ConcatString
> LatLonGrid::serialize() constâ:
> latlon_grid.cc:232:38: error: âsprintfâ was not declared in this
scope
> make[2]: *** [latlon_grid.o] Error 1
> make[1]: *** [libs] Error 2
> make: *** [all] Error 2
>
> Do you have any new recommendations ?
>
> Thanks,
>
> Daniel
>
> ----- Mensaje original -----
> De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
> Fecha: Viernes, Febrero 18, 2011 18:07
> Asunto: Re: [rt.rap.ucar.edu #44619] Compilation environment
> A: dsantos at fis.ucm.es
> CC: met_help at ucar.edu
>
>> Daniel,
>>
>> We use Debian Linux primarily with the GNU compilers in our
>> development environment. However, I know that MET has been
>> compiled and run fine on several different Linux distributions -
>> RedHat, CentOS,
>> and Fedora to name a few. So I would fully expect that
>> you'd be able to get MET to compile on your Fedora release using
>> the GNU compilers.
>>
>> Here are the steps I'd recommend:
>> (1) Make sure you've downloaded and applied the patches for
>> METv3.0. Just follow the instructions at the top of this page:
>> Â Â
>>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
>> (2) I'm wondering in the Makefile if you've accidentally used
>> gcc when you should be using g++. So make sure you have it
>> set to g++:
>> Â Â
>> CXXÂ Â Â Â Â Â Â Â Â =
>> /usr/bin/g++Â Â
>> FCÂ Â Â Â Â Â Â Â Â Â =
>> /usr/bin/gfortran
>> (3) As you're compiling the required libraries and MET itself,
>> please follow the compilation instructions listed in the MET
>> online tutorial:
>> Â Â
>>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
>> Please give that a shot and let us know if you continue to
>> experience problems.
>>
>> Thanks,
>> John Halley Gotway
>> met_help at ucar.edu
>>
>> On 02/18/2011 08:36 AM, RAL HelpDesk {for Daniel Santos Muñoz}
wrote:
>> >
>> > Fri Feb 18 08:36:28 2011: Request 44619 was acted upon.
>> > Transaction: Ticket created by dsantos at fis.ucm.es
>> >Â Â Â Â Â Â Â Queue: met_help
>> >Â Â Â Â Â Subject: Compilation environment
>> >Â Â Â Â Â Â Â Owner: Nobody
>> >Â Â Requestors: dsantos at fis.ucm.es
>> >Â Â Â Â Â Â Status: new
>> >Â Ticket <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>> >
>> >
>> > Hi,
>> >Â
>> > We are trying to compile MET under Fedora Core 14, gcc
>> compiler and several errors appear.
>> >Â
>> > Could you give us the info about which linux ditribution
and
>> libray versions(bufr, gsl, and netCDF)Â you can compile
>> with succesfull results?
>> >Â
>> > We want to install MET ussing your configuration to avoid
more
>> compilation and debugging problems.
>> >Â
>> > Kind regards,
>> >Â
>> > Daniel Santos
>>
>>
>
------------------------------------------------
Subject: Compilation environment
From: Daniel Santos Muñoz
Time: Wed Feb 23 05:47:45 2011
John,
I have added all the patches and the compilation fails due to g++
libraries.
We are using 4.5.1 version and libstdc++, libm.a and libc.a are not
present in our distribution. We have test with previous version
libraries and is not compiling ok.
So, can you tell us which g++ version you are currently using?
Thanks in advance,
Daniel
----- Mensaje original -----
De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
Fecha: Martes, Febrero 22, 2011 4:53
Asunto: Re: [rt.rap.ucar.edu #44619] Compilation environment
A: dsantos at fis.ucm.es
CC: met_help at ucar.edu
> Daniel,
>
> I believe there was a bugfix posted on 10/04/2010 that should
> solve that
> problem. Please go to the known issues page, download all
> the patches,
> and try recompiling. Just follow the instructions listed
> at the top of
> the page:
>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
> Thanks,
> John
>
> >
> > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
> >
> > Hi John,
> >
> > We have trying to compile again following your advices and
> we still run
> > in to the same problem:Â
> >
> >
> > ----- Mensaje original -----/usr/bin/g++
> latlon_grid.cc       -c
> > -Wall -Wshadow -static  -I..
> > latlon_grid.cc: In member function âvirtual ConcatString
> > LatLonGrid::serialize() constâ:
> > latlon_grid.cc:232:38: error: âsprintfâ was not declared
> in this scope
> > make[2]: *** [latlon_grid.o] Error 1
> > make[1]: *** [libs] Error 2
> > make: *** [all] Error 2
> >
> > Do you have any new recommendations ?
> >
> > Thanks,
> >
> > Daniel
> >
> > ----- Mensaje original -----
> > De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
> > Fecha: Viernes, Febrero 18, 2011 18:07
> > Asunto: Re: [rt.rap.ucar.edu #44619] Compilation environment
> > A: dsantos at fis.ucm.es
> > CC: met_help at ucar.edu
> >
> >> Daniel,
> >>
> >> We use Debian Linux primarily with the GNU compilers in our
> >> development environment. However, I know that MET has been
> >> compiled and run fine on several different Linux
> distributions -
> >> RedHat, CentOS,
> >> and Fedora to name a few. So I would fully expect that
> >> you'd be able to get MET to compile on your Fedora release using
> >> the GNU compilers.
> >>
> >> Here are the steps I'd recommend:
> >> (1) Make sure you've downloaded and applied the patches for
> >> METv3.0. Just follow the instructions at the top of this page:
> >> Â Â
> >>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php>>
(2) I'm wondering in the Makefile if you've accidentally used
> >> gcc when you should be using g++. So make sure you have it
> >> set to g++:
> >> Â Â
> >> CXXÂ Â Â Â Â Â Â Â Â =
> >> /usr/bin/g++Â Â
> >> FCÂ Â Â Â Â Â Â Â Â Â =
> >> /usr/bin/gfortran
> >> (3) As you're compiling the required libraries and MET itself,
> >> please follow the compilation instructions listed in the MET
> >> online tutorial:
> >> Â Â
> >>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php>>
Please give that a shot and let us know if you continue to
> >> experience problems.
> >>
> >> Thanks,
> >> John Halley Gotway
> >> met_help at ucar.edu
> >>
> >> On 02/18/2011 08:36 AM, RAL HelpDesk {for Daniel Santos
> Muñoz} wrote:
> >> >
> >> > Fri Feb 18 08:36:28 2011: Request 44619 was acted upon.
> >> > Transaction: Ticket created by dsantos at fis.ucm.es
> >> >Â Â Â Â Â Â Â Queue: met_help
> >> >Â Â Â Â Â Subject: Compilation environment
> >> >Â Â Â Â Â Â Â Owner: Nobody
> >> >Â Â Requestors: dsantos at fis.ucm.es
> >> >Â Â Â Â Â Â Status: new
> >> >Â Ticket <URL:
> >> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
> >> >
> >> >
> >> > Hi,
> >> >Â
> >> > We are trying to compile MET under Fedora Core 14, gcc
> >> compiler and several errors appear.
> >> >Â
> >> > Could you give us the info about which linux
ditribution and
> >> libray versions(bufr, gsl, and netCDF)Â you can compile
> >> with succesfull results?
> >> >Â
> >> > We want to install MET ussing your configuration to
avoid more
> >> compilation and debugging problems.
> >> >Â
> >> > Kind regards,
> >> >Â
> >> > Daniel Santos
> >>
> >>
> >
>
>
>
>
------------------------------------------------
Subject: Compilation environment
From: John Halley Gotway
Time: Wed Feb 23 09:42:03 2011
Daniel,
We are currently running GNU version 4.3.2-1.1 on Debian Linux in our
development environment. If you don't have the standard C++ libraries
available on your machine, then you'll have a hard time
compiling C++ programs. Those standard libraries (libstdc++, libm.a
and libc.a) are all located in /usr/lib on my machine.
You may want to try compiling a very simple C++ program to determine
if you have problems with your C++ compiler. I've attached a VERY
basic C++ program. Please try to compile it using the following
command:
g++ test.cc -o test_c++
When you run the executable (./test_c++), it should just print out
"Hello World" to the screen.
If you have problems compiling this, then you'll need to find a
version of the GNU compilers that can compile it. I'd suggest asking
a systems administrator for assistance.
Hope that helps.
John
On 02/23/2011 05:47 AM, RAL HelpDesk {for Daniel Santos Muñoz} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>
>
> John,
>
> I have added all the patches and the compilation fails due to g++
libraries.
> We are using 4.5.1 version and libstdc++, libm.a and libc.a are not
present in our distribution. We have test with previous version
libraries and is not compiling ok.
>
> So, can you tell us which g++ version you are currently using?
>
> Thanks in advance,
>
> Daniel
>
> ----- Mensaje original -----
> De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
> Fecha: Martes, Febrero 22, 2011 4:53
> Asunto: Re: [rt.rap.ucar.edu #44619] Compilation environment
> A: dsantos at fis.ucm.es
> CC: met_help at ucar.edu
>
>> Daniel,
>>
>> I believe there was a bugfix posted on 10/04/2010 that should
>> solve that
>> problem. Please go to the known issues page, download all
>> the patches,
>> and try recompiling. Just follow the instructions listed
>> at the top of
>> the page:
>>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
>> Thanks,
>> John
>>
>>>
>>> <URL:
>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>>>
>>> Hi John,
>>>
>>> We have trying to compile again following your advices and
>> we still run
>>> in to the same problem:Â
>>>
>>>
>>> ----- Mensaje original -----/usr/bin/g++
>> latlon_grid.cc       -c
>>> -Wall -Wshadow -static  -I..
>>> latlon_grid.cc: In member function âvirtual ConcatString
>>> LatLonGrid::serialize() constâ:
>>> latlon_grid.cc:232:38: error: âsprintfâ was not declared
>> in this scope
>>> make[2]: *** [latlon_grid.o] Error 1
>>> make[1]: *** [libs] Error 2
>>> make: *** [all] Error 2
>>>
>>> Do you have any new recommendations ?
>>>
>>> Thanks,
>>>
>>> Daniel
>>>
>>> ----- Mensaje original -----
>>> De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
>>> Fecha: Viernes, Febrero 18, 2011 18:07
>>> Asunto: Re: [rt.rap.ucar.edu #44619] Compilation environment
>>> A: dsantos at fis.ucm.es
>>> CC: met_help at ucar.edu
>>>
>>>> Daniel,
>>>>
>>>> We use Debian Linux primarily with the GNU compilers in our
>>>> development environment. However, I know that MET has been
>>>> compiled and run fine on several different Linux
>> distributions -
>>>> RedHat, CentOS,
>>>> and Fedora to name a few. So I would fully expect that
>>>> you'd be able to get MET to compile on your Fedora release using
>>>> the GNU compilers.
>>>>
>>>> Here are the steps I'd recommend:
>>>> (1) Make sure you've downloaded and applied the patches for
>>>> METv3.0. Just follow the instructions at the top of this page:
>>>> Â Â
>>>>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php>>
(2) I'm wondering in the Makefile if you've accidentally used
>>>> gcc when you should be using g++. So make sure you have it
>>>> set to g++:
>>>> Â Â
>>>> CXXÂ Â Â Â Â Â Â Â Â =
>>>> /usr/bin/g++Â Â
>>>> FCÂ Â Â Â Â Â Â Â Â Â =
>>>> /usr/bin/gfortran
>>>> (3) As you're compiling the required libraries and MET itself,
>>>> please follow the compilation instructions listed in the MET
>>>> online tutorial:
>>>> Â Â
>>>>
>>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php>>
Please give that a shot and let us know if you continue to
>>>> experience problems.
>>>>
>>>> Thanks,
>>>> John Halley Gotway
>>>> met_help at ucar.edu
>>>>
>>>> On 02/18/2011 08:36 AM, RAL HelpDesk {for Daniel Santos
>> Muñoz} wrote:
>>>>>
>>>>> Fri Feb 18 08:36:28 2011: Request 44619 was acted upon.
>>>>> Transaction: Ticket created by dsantos at fis.ucm.es
>>>>> Â Â Â Â Â Â Â Queue: met_help
>>>>> Â Â Â Â Â Subject: Compilation environment
>>>>> Â Â Â Â Â Â Â Owner: Nobody
>>>>> Â Â Requestors: dsantos at fis.ucm.es
>>>>> Â Â Â Â Â Â Status: new
>>>>> Â Ticket <URL:
>>>> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>>>>>
>>>>>
>>>>> Hi,
>>>>> Â
>>>>> We are trying to compile MET under Fedora Core 14, gcc
>>>> compiler and several errors appear.
>>>>> Â
>>>>> Could you give us the info about which linux ditribution and
>>>> libray versions(bufr, gsl, and netCDF)Â you can compile
>>>> with succesfull results?
>>>>> Â
>>>>> We want to install MET ussing your configuration to avoid more
>>>> compilation and debugging problems.
>>>>> Â
>>>>> Kind regards,
>>>>> Â
>>>>> Daniel Santos
>>>>
>>>>
>>>
>>
>>
>>
>>
------------------------------------------------
Subject: Compilation environment
From: John Halley Gotway
Time: Mon Mar 07 13:46:30 2011
Daniel,
Just wanted to check in to find out if you're still having trouble
compiling MET on your Fedora machine. If you've successfully compiled
it, please let me know and I'll resolve this helpdesk ticket. If not,
is there anything we can do to help?
Thanks,
John Halley Gotway
------------------------------------------------
Subject: Compilation environment
From: Daniel Santos Muñoz
Time: Wed Mar 09 03:30:06 2011
Hi John,
I am still dealing with some problems during the linking process with
the latest Bufr library version, also I needed to downgrade the netCDF
libraries to avoid some errors.
Which Bufr version are you using to compile with?
Thanks,
Daniel
----- Mensaje original -----
De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
Fecha: Lunes, Marzo 7, 2011 21:46
Asunto: [rt.rap.ucar.edu #44619] Compilation environment
A: dsantos at fis.ucm.es
CC: met_help at ucar.edu
> Daniel,
>
> Just wanted to check in to find out if you're still having
> trouble compiling MET on your Fedora machine. If you've
> successfully compiled it, please let me know and I'll resolve
> this helpdesk ticket. If not, is there anything we can do
> to help?
>
> Thanks,
> John Halley Gotway
>
------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #44619] Compilation environment
From: John Halley Gotway
Time: Wed Mar 09 09:08:40 2011
Daniel,
We're able to build with the version of BUFRLIB that is linked from
the MET website. On the MET website
(http://www.dtcenter.org/met/users/downloads/index.php), we link to
BUFRLIB posted here:
http://www.nco.ncep.noaa.gov/sib/decoders/BUFRLIB
But I want to make sure you're aware of a few things:
- First, if you're using the GNU gfortran compiler, you'll need to
update one of the BUFRLIB source files. Please take a look at the MET
known issues page:
http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php
And look for: "Bug in BUFRLIB for the GNU gfortran compiler, Posted
09/30/2010"
- Second, even after you make that fix, you'll receive a few warnings
when compiling BUFRLIB using the GNU compilers. But that's OK, MET is
still able to compile and link to it.
- Lastly, if you're not aware of it, following the instructions on how
to compile MET from the online tutorial is often very helpful:
http://www.dtcenter.org/met/users/support/online_tutorial/METv3.0/compilation/index.php
Thanks,
John
On 03/09/2011 03:30 AM, RAL HelpDesk {for Daniel Santos Muñoz} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=44619 >
>
> Hi John,
>
> I am still dealing with some problems during the linking process
with the latest Bufr library version, also I needed to downgrade the
netCDF libraries to avoid some errors.
>
> Which Bufr version are you using to compile with?
>
> Thanks,
>
> Daniel
>
> ----- Mensaje original -----
> De: RAL HelpDesk {for John Halley Gotway} <met_help at ucar.edu>
> Fecha: Lunes, Marzo 7, 2011 21:46
> Asunto: [rt.rap.ucar.edu #44619] Compilation environment
> A: dsantos at fis.ucm.es
> CC: met_help at ucar.edu
>
>> Daniel,
>>
>> Just wanted to check in to find out if you're still having
>> trouble compiling MET on your Fedora machine. If you've
>> successfully compiled it, please let me know and I'll resolve
>> this helpdesk ticket. If not, is there anything we can do
>> to help?
>>
>> Thanks,
>> John Halley Gotway
>>
------------------------------------------------
More information about the Met_help
mailing list