[Met_help] [rt.rap.ucar.edu #82329] History for compiling errors with PGI
John Halley Gotway via RT
met_help at ucar.edu
Tue Jul 9 12:04:16 MDT 2019
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Zhang, Mandy has shared OneDrive for Business files with you. To view them, click the links below.
<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&expiration=2017-11-09T21%3a18%3a53.000Z>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&expiration=2017-11-09T21%3a18%3a53.000Z>
make_install.log<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&expiration=2017-11-09T21%3a18%3a53.000Z>
<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&expiration=2017-11-09T21%3a18%3a56.000Z>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&expiration=2017-11-09T21%3a18%3a56.000Z>
Makefile<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&expiration=2017-11-09T21%3a18%3a56.000Z>
<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&expiration=2017-11-09T21%3a19%3a00.000Z>
[https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&expiration=2017-11-09T21%3a19%3a00.000Z>
configure<https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&expiration=2017-11-09T21%3a19%3a00.000Z>
Hi John,
I try to install MET-6.0 with PGI, I think some required libraries are install correctly, but when I compile met, the errors list as the follows:
"pair_base.cc", line 410: error: more than one instance of overloaded function
"pow" matches the argument list:
function "std::pow(long double, int)"
function "std::pow(float, int)"
function "std::pow(double, int)"
argument types are: (long, int)
weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2);
^
1 error detected in the compilation of "pair_base.cc".
make[3]: *** [libvx_statistics_a-pair_base.o] Error 2
make[3]: Leaving directory `/data02/home/fkong/METOOLS/met-6.0/src/libcode/vx_statistics'
#####################################
please find my attached configure, Makefile and makeinstall.log files!
and I set compilers as:
setenv FC pgf90; setenv CC pgcc; setenv CXX pgCC
Do you think it is the wrong with compiler in the machine?
Thank you!
Mandy
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: compiling errors with PGI
From: John Halley Gotway
Time: Fri Oct 20 17:20:03 2017
Mandy,
I'm sorry, I haven't had a chance to test out compiling using PGI
recently. I can say that prior to each release, we do compile and
test MET
using GNU, Intel, and PGI compilers. And in the past we have found
issues
with some versions of the PGI compiler. Can you tell me what version
of
the PGI compilers you're using?
pgCC --version
Thanks,
John Halley Gotway
On Tue, Oct 10, 2017 at 3:19 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:
>
> Tue Oct 10 15:19:25 2017: Request 82329 was acted upon.
> Transaction: Ticket created by Man.Zhang-1 at ou.edu
> Queue: met_help
> Subject: compiling errors with PGI
> Owner: Nobody
> Requestors: Man.Zhang-1 at ou.edu
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82329 >
>
>
> Zhang, Mandy has shared OneDrive for Business files with you. To
view
> them, click the links below.
>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&
> expiration=2017-11-09T21%3a18%3a53.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=174c40d20d06248aeb0d3e56b68bddc77&authkey=
> AQIrxUFTKjVa25eZ7KW-2tg&expiration=2017-11-09T21%3a18%3a53.000Z>
>
> make_install.log<https://sooners-my.sharepoint.com/
> personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&
> expiration=2017-11-09T21%3a18%3a53.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&
> expiration=2017-11-09T21%3a18%3a56.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=1dcddf9d8458b489b8374d438eaa9ce2d&authkey=
> AVSUDIt5gktxeJFZC6yl0Ak&expiration=2017-11-09T21%3a18%3a56.000Z>
>
> Makefile<https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&
> expiration=2017-11-09T21%3a18%3a56.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&
> expiration=2017-11-09T21%3a19%3a00.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=145cb996b3f3c4e41b4a4236488678e79&authkey=
> AbZpBZClQUqzhr5yIIf_a9Q&expiration=2017-11-09T21%3a19%3a00.000Z>
>
> configure<https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&
> expiration=2017-11-09T21%3a19%3a00.000Z>
>
>
>
>
> Hi John,
>
> I try to install MET-6.0 with PGI, I think some required
libraries are
> install correctly, but when I compile met, the errors list as the
follows:
>
> "pair_base.cc", line 410: error: more than one instance of
overloaded
> function
> "pow" matches the argument list:
> function "std::pow(long double, int)"
> function "std::pow(float, int)"
> function "std::pow(double, int)"
> argument types are: (long, int)
> weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2);
> ^
>
> 1 error detected in the compilation of "pair_base.cc".
> make[3]: *** [libvx_statistics_a-pair_base.o] Error 2
> make[3]: Leaving directory `/data02/home/fkong/METOOLS/
> met-6.0/src/libcode/vx_statistics'
> #####################################
>
> please find my attached configure, Makefile and makeinstall.log
files!
>
> and I set compilers as:
>
> setenv FC pgf90; setenv CC pgcc; setenv CXX pgCC
>
> Do you think it is the wrong with compiler in the machine?
>
> Thank you!
>
> Mandy
>
>
------------------------------------------------
Subject: compiling errors with PGI
From: Zhang, Mandy
Time: Mon Oct 23 08:42:34 2017
John,
I use PGI version 11.9, and the problem was solved by
changing weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2) to
weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2.0) in pair_base.cc. I
have another question, I have sounding data as the observation and I
want to compare forecast to it, which mode I can use? I find
asciitonc, the ascii format data look likes precipition data, only
have one level.
Thank you!
Mandy
________________________________
From: John Halley Gotway via RT <met_help at ucar.edu>
Sent: Friday, October 20, 2017 6:20:03 PM
To: Zhang, Mandy
Subject: Re: [rt.rap.ucar.edu #82329] compiling errors with PGI
Mandy,
I'm sorry, I haven't had a chance to test out compiling using PGI
recently. I can say that prior to each release, we do compile and
test MET
using GNU, Intel, and PGI compilers. And in the past we have found
issues
with some versions of the PGI compiler. Can you tell me what version
of
the PGI compilers you're using?
pgCC --version
Thanks,
John Halley Gotway
On Tue, Oct 10, 2017 at 3:19 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:
>
> Tue Oct 10 15:19:25 2017: Request 82329 was acted upon.
> Transaction: Ticket created by Man.Zhang-1 at ou.edu
> Queue: met_help
> Subject: compiling errors with PGI
> Owner: Nobody
> Requestors: Man.Zhang-1 at ou.edu
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82329 >
>
>
> Zhang, Mandy has shared OneDrive for Business files with you. To
view
> them, click the links below.
>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&
> expiration=2017-11-09T21%3a18%3a53.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=174c40d20d06248aeb0d3e56b68bddc77&authkey=
> AQIrxUFTKjVa25eZ7KW-2tg&expiration=2017-11-09T21%3a18%3a53.000Z>
>
> make_install.log<https://sooners-my.sharepoint.com/
> personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&
> expiration=2017-11-09T21%3a18%3a53.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&
> expiration=2017-11-09T21%3a18%3a56.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=1dcddf9d8458b489b8374d438eaa9ce2d&authkey=
> AVSUDIt5gktxeJFZC6yl0Ak&expiration=2017-11-09T21%3a18%3a56.000Z>
>
> Makefile<https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&
> expiration=2017-11-09T21%3a18%3a56.000Z>
>
> <https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&
> expiration=2017-11-09T21%3a19%3a00.000Z>
> [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> https://sooners-my.sharepoint.com/personal/man_zhang-
1_ou_edu/_layouts/15/
> guestaccess.aspx?docid=145cb996b3f3c4e41b4a4236488678e79&authkey=
> AbZpBZClQUqzhr5yIIf_a9Q&expiration=2017-11-09T21%3a19%3a00.000Z>
>
> configure<https://sooners-my.sharepoint.com/personal/man_
> zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> 145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&
> expiration=2017-11-09T21%3a19%3a00.000Z>
>
>
>
>
> Hi John,
>
> I try to install MET-6.0 with PGI, I think some required
libraries are
> install correctly, but when I compile met, the errors list as the
follows:
>
> "pair_base.cc", line 410: error: more than one instance of
overloaded
> function
> "pow" matches the argument list:
> function "std::pow(long double, int)"
> function "std::pow(float, int)"
> function "std::pow(double, int)"
> argument types are: (long, int)
> weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2);
> ^
>
> 1 error detected in the compilation of "pair_base.cc".
> make[3]: *** [libvx_statistics_a-pair_base.o] Error 2
> make[3]: Leaving directory `/data02/home/fkong/METOOLS/
> met-6.0/src/libcode/vx_statistics'
> #####################################
>
> please find my attached configure, Makefile and makeinstall.log
files!
>
> and I set compilers as:
>
> setenv FC pgf90; setenv CC pgcc; setenv CXX pgCC
>
> Do you think it is the wrong with compiler in the machine?
>
> Thank you!
>
> Mandy
>
>
------------------------------------------------
Subject: compiling errors with PGI
From: John Halley Gotway
Time: Mon Oct 23 13:13:23 2017
Mandy,
OK, great. Thanks for letting me know. I'll make that same change in
the
development version to be included in the next release.
The sounding data you have are point data... so you'd use them in the
Point-Stat tool to do verification.
If the sounding data is ascii, yes, you'd use the ascii2nc tool to
reformat
them for use in Point-Stat. Unless they're already formatted into a
format
that MET can handle, you'll need to reformat them into the 11-column
ascii
format that ascii2nc can read.
Hope that helps.
Thanks,
John
On Mon, Oct 23, 2017 at 8:42 AM, Zhang, Mandy via RT
<met_help at ucar.edu>
wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82329 >
>
> John,
>
> I use PGI version 11.9, and the problem was solved by
changing
> weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2) to weight = 1.0
/ pow(
> labs( svt.ut - (*it).ut ),2.0) in pair_base.cc. I have another
question, I
> have sounding data as the observation and I want to compare forecast
to it,
> which mode I can use? I find asciitonc, the ascii format data look
likes
> precipition data, only have one level.
>
>
>
> Thank you!
>
> Mandy
>
> ________________________________
> From: John Halley Gotway via RT <met_help at ucar.edu>
> Sent: Friday, October 20, 2017 6:20:03 PM
> To: Zhang, Mandy
> Subject: Re: [rt.rap.ucar.edu #82329] compiling errors with PGI
>
> Mandy,
>
> I'm sorry, I haven't had a chance to test out compiling using PGI
> recently. I can say that prior to each release, we do compile and
test MET
> using GNU, Intel, and PGI compilers. And in the past we have found
issues
> with some versions of the PGI compiler. Can you tell me what
version of
> the PGI compilers you're using?
>
> pgCC --version
>
> Thanks,
> John Halley Gotway
>
> On Tue, Oct 10, 2017 at 3:19 PM, Zhang, Mandy via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Tue Oct 10 15:19:25 2017: Request 82329 was acted upon.
> > Transaction: Ticket created by Man.Zhang-1 at ou.edu
> > Queue: met_help
> > Subject: compiling errors with PGI
> > Owner: Nobody
> > Requestors: Man.Zhang-1 at ou.edu
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=82329 >
> >
> >
> > Zhang, Mandy has shared OneDrive for Business files with you. To
view
> > them, click the links below.
> >
> >
> > <https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&
> > expiration=2017-11-09T21%3a18%3a53.000Z>
> > [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> > https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_
> edu/_layouts/15/
> > guestaccess.aspx?docid=174c40d20d06248aeb0d3e56b68bddc77&authkey=
> > AQIrxUFTKjVa25eZ7KW-2tg&expiration=2017-11-09T21%3a18%3a53.000Z>
> >
> > make_install.log<https://sooners-my.sharepoint.com/
> > personal/man_zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 174c40d20d06248aeb0d3e56b68bddc77&authkey=AQIrxUFTKjVa25eZ7KW-2tg&
> > expiration=2017-11-09T21%3a18%3a53.000Z>
> >
> > <https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&
> > expiration=2017-11-09T21%3a18%3a56.000Z>
> > [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> > https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_
> edu/_layouts/15/
> > guestaccess.aspx?docid=1dcddf9d8458b489b8374d438eaa9ce2d&authkey=
> > AVSUDIt5gktxeJFZC6yl0Ak&expiration=2017-11-09T21%3a18%3a56.000Z>
> >
> > Makefile<https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 1dcddf9d8458b489b8374d438eaa9ce2d&authkey=AVSUDIt5gktxeJFZC6yl0Ak&
> > expiration=2017-11-09T21%3a18%3a56.000Z>
> >
> > <https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&
> > expiration=2017-11-09T21%3a19%3a00.000Z>
> > [https://r1.res.office365.com/owa/prem/images/dc-generic_20.png]<
> > https://sooners-my.sharepoint.com/personal/man_zhang-1_ou_
> edu/_layouts/15/
> > guestaccess.aspx?docid=145cb996b3f3c4e41b4a4236488678e79&authkey=
> > AbZpBZClQUqzhr5yIIf_a9Q&expiration=2017-11-09T21%3a19%3a00.000Z>
> >
> > configure<https://sooners-my.sharepoint.com/personal/man_
> > zhang-1_ou_edu/_layouts/15/guestaccess.aspx?docid=
> > 145cb996b3f3c4e41b4a4236488678e79&authkey=AbZpBZClQUqzhr5yIIf_a9Q&
> > expiration=2017-11-09T21%3a19%3a00.000Z>
> >
> >
> >
> >
> > Hi John,
> >
> > I try to install MET-6.0 with PGI, I think some required
libraries
> are
> > install correctly, but when I compile met, the errors list as the
> follows:
> >
> > "pair_base.cc", line 410: error: more than one instance of
overloaded
> > function
> > "pow" matches the argument list:
> > function "std::pow(long double, int)"
> > function "std::pow(float, int)"
> > function "std::pow(double, int)"
> > argument types are: (long, int)
> > weight = 1.0 / pow( labs( svt.ut - (*it).ut ),2);
> > ^
> >
> > 1 error detected in the compilation of "pair_base.cc".
> > make[3]: *** [libvx_statistics_a-pair_base.o] Error 2
> > make[3]: Leaving directory `/data02/home/fkong/METOOLS/
> > met-6.0/src/libcode/vx_statistics'
> > #####################################
> >
> > please find my attached configure, Makefile and makeinstall.log
files!
> >
> > and I set compilers as:
> >
> > setenv FC pgf90; setenv CC pgcc; setenv CXX pgCC
> >
> > Do you think it is the wrong with compiler in the machine?
> >
> > Thank you!
> >
> > Mandy
> >
> >
>
>
>
------------------------------------------------
More information about the Met_help
mailing list