[Met_help] [rt.rap.ucar.edu #90838] History for Compiling met-8.1 with GNU 7.3.0
John Halley Gotway via RT
met_help at ucar.edu
Tue Jul 9 11:00:39 MDT 2019
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
I attached part of the log file of make install. I am using gcc gcc (GCC) 7.3.0. This error repeated and finally failed to install. data_line.cc: In member function ‘void DataLine::dump(std::ostream&, int) const’: data_line.cc:202:18: error: no match for ‘operator}’ and ‘std::ostringstream {aka std::__cxx11::basic_ostringstream}’) out data_line.cc:202:18: note: no known conversion for argument 2 from ‘std::ostringstream {aka std::__cxx11::basic_ostringstream}’ to ‘int’ In file included from /cvmfs/soft.computecanada.ca/nix/store/rrwlh3bahkdwnbjvzm0nkq3504v451yl-gfortran-7.3.0/include/c++/7.3.0/iostream:39:0, from data_line.cc:16: /cvmfs/soft.computecanada.ca/nix/store/rrwlh3bahkdwnbjvzm0nkq3504v451yl-gfortran-7.3.0/include/c++/7.3.0/ostream:108:7: note: candidate: std::basic_ostream<_chart _traits="">::__ostream_type& std::basic_ostream<_chart _traits="">::operator::__ostream_type& (*)(std::basic_ostream<_chart _traits="">::__ostream_type&)) [with _CharT!
= char; _Traits = std::char_traits; std::basic_ostream<_chart _traits="">::__ostream_type = std::basic_ostream] operator}’ to ‘std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&) {aka std::basic_ostream& (*)(std::basic_ostream&)}’ /cvmfs/soft.computecanada.ca/nix/store/rrwlh3bahkdwnbjvzm0nkq3504v451yl-gfortran-7.3.0/include/c++/7.3.0/ostream:117:7: note: candidate: std::basic_ostream<_chart _traits="">::__ostream_type& std::basic_ostream<_chart _traits="">::operator::__ios_type& (*)(std::basic_ostream<_chart _traits="">::__ios_type&)) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_chart _traits="">::__ostream_type = std::basic_ostream; std::basic_ostream<_chart _traits="">::__ios_type = std::basic_ios] operator
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Compiling met-8.1 with GNU 7.3.0
From: John Halley Gotway
Time: Fri Jun 28 10:30:32 2019
Hello,
I see you have a question about compiling met-8.1 using GNU 7.3.0. In
the future, please send questions about MET directly to
met_help at ucar.edu. That automatically creates a support ticket.
Unfortunately this is already a known issue. We made many changes in
met-8.1 to satisfy a static code analysis tool called Fortify. And
those changes were all acceptable to the GNU 4.9.2 version we were
using during development. However, we found that they cause
compilation errors and runtime problems in GNU 6.3.0 and later.
We are actively working on development for a met-8.1.1 bugfix release.
And we recently moved the MET code to GitHub. The 12 issues to be
addressed in met-8.1.1 are listed here:
https://github.com/NCAR/MET/milestone/60
10 are already closed and we're finishing up 2 more. Here's the
specific issue about problems with the GNU compiler:
https://github.com/NCAR/MET/issues/1139
Please be sure to register for updates about the MET software here:
https://dtcenter.org/community-code/model-evaluation-tools-
met/subscribe
That way, you'll be noticed once the met-8.1.1 version is available.
Thanks,
John Halley Gotway
------------------------------------------------
Subject: Compiling met-8.1 with GNU 7.3.0
From: John Halley Gotway
Time: Tue Jul 09 11:00:31 2019
The met-8.1.1 bugfix release is now available and should compile fine
with GNU 7.3.0:
https://dtcenter.org/community-code/model-evaluation-tools-
met/download
Thanks,
John
------------------------------------------------
More information about the Met_help
mailing list