id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8333,"[math] PGI 11.3 problems (sph_bessel.cpp, sph_bessel.cpp)",Mark Dixon ,John Maddock,"Hi, Compilation of boost 1.53.0 with the PGI 11.3 compiler on RHEL5 fails for the following targets: * bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessel.o * bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessell.o Is this a known issue? I cannot seem to find it mentioned in the bugtracker. Thanks, Mark Error messages follow: {{{ pgi.compile.c++ bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessel.o ""./boost/math/special_functions/sinc.hpp"", line 70: error: more than one instance of overloaded function ""abs"" matches the argument list: function ""abs(double)"" function ""abs(int)"" argument types are: (const long double) if (abs(x) >= taylor_n_bound) ^ detected during: instantiation of ""T boost::math::detail::sinc_pi_imp(T) [with T=long double]"" at line 110 instantiation of ""boost::math::tools::promote_args::type boost::math::sinc_pi(T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 154 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""T boost::math::detail::sph_bessel_j_imp(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 394 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type boost::math::sph_bessel(unsigned int, T, const Policy &) [with T=double, Policy=c_policies::c_policy]"" at line 129 of ""libs/math/build/../src/tr1/c_policy.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type c_policies::sph_bessel(unsigned int, T) [with T=double]"" at line 16 of ""libs/math/build/../src/tr1/sph_bessel.cpp"" ""./boost/math/special_functions/sinc.hpp"", line 79: error: more than one instance of overloaded function ""abs"" matches the argument list: function ""abs(double)"" function ""abs(int)"" argument types are: (const long double) if (abs(x) >= taylor_0_bound) ^ detected during: instantiation of ""T boost::math::detail::sinc_pi_imp(T) [with T=long double]"" at line 110 instantiation of ""boost::math::tools::promote_args::type boost::math::sinc_pi(T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 154 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""T boost::math::detail::sph_bessel_j_imp(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 394 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type boost::math::sph_bessel(unsigned int, T, const Policy &) [with T=double, Policy=c_policies::c_policy]"" at line 129 of ""libs/math/build/../src/tr1/c_policy.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type c_policies::sph_bessel(unsigned int, T) [with T=double]"" at line 16 of ""libs/math/build/../src/tr1/sph_bessel.cpp"" ""./boost/math/special_functions/sinc.hpp"", line 86: error: more than one instance of overloaded function ""abs"" matches the argument list: function ""abs(double)"" function ""abs(int)"" argument types are: (const long double) if (abs(x) >= taylor_2_bound) ^ detected during: instantiation of ""T boost::math::detail::sinc_pi_imp(T) [with T=long double]"" at line 110 instantiation of ""boost::math::tools::promote_args::type boost::math::sinc_pi(T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 154 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""T boost::math::detail::sph_bessel_j_imp(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 394 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type boost::math::sph_bessel(unsigned int, T, const Policy &) [with T=double, Policy=c_policies::c_policy]"" at line 129 of ""libs/math/build/../src/tr1/c_policy.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type c_policies::sph_bessel(unsigned int, T) [with T=double]"" at line 16 of ""libs/math/build/../src/tr1/sph_bessel.cpp"" 3 errors detected in the compilation of ""libs/math/build/../src/tr1/sph_bessel.cpp"". ""pgCC"" -Kieee -fpic -fPIC -fast -Mx,8,0x10000000 -Minform=warn -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -D__need_IOV_MAX - I""."" -I""libs/math/src/tr1"" -c -o ""bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessel.o"" ""libs/math/build/../src/tr1/sph_bessel.cpp"" pgi.compile.c++ bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessell.o ""./boost/math/special_functions/sinc.hpp"", line 70: error: more than one instance of overloaded function ""abs"" matches the argument list: function ""abs(double)"" function ""abs(int)"" argument types are: (const long double) if (abs(x) >= taylor_n_bound) ^ detected during: instantiation of ""T boost::math::detail::sinc_pi_imp(T) [with T=long double]"" at line 110 instantiation of ""boost::math::tools::promote_args::type boost::math::sinc_pi(T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 154 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""T boost::math::detail::sph_bessel_j_imp(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 394 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type boost::math::sph_bessel(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 129 of ""libs/math/build/../src/tr1/c_policy.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type c_policies::sph_bessel(unsigned int, T) [with T=long double]"" at line 16 of ""libs/math/build/../src/tr1/sph_bessell.cpp"" ""./boost/math/special_functions/sinc.hpp"", line 79: error: more than one instance of overloaded function ""abs"" matches the argument list: function ""abs(double)"" function ""abs(int)"" argument types are: (const long double) if (abs(x) >= taylor_0_bound) ^ detected during: instantiation of ""T boost::math::detail::sinc_pi_imp(T) [with T=long double]"" at line 110 instantiation of ""boost::math::tools::promote_args::type boost::math::sinc_pi(T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 154 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""T boost::math::detail::sph_bessel_j_imp(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 394 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type boost::math::sph_bessel(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 129 of ""libs/math/build/../src/tr1/c_policy.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type c_policies::sph_bessel(unsigned int, T) [with T=long double]"" at line 16 of ""libs/math/build/../src/tr1/sph_bessell.cpp"" ""./boost/math/special_functions/sinc.hpp"", line 86: error: more than one instance of overloaded function ""abs"" matches the argument list: function ""abs(double)"" function ""abs(int)"" argument types are: (const long double) if (abs(x) >= taylor_2_bound) ^ detected during: instantiation of ""T boost::math::detail::sinc_pi_imp(T) [with T=long double]"" at line 110 instantiation of ""boost::math::tools::promote_args::type boost::math::sinc_pi(T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 154 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""T boost::math::detail::sph_bessel_j_imp(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 394 of ""./boost/math/special_functions/bessel.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type boost::math::sph_bessel(unsigned int, T, const Policy &) [with T=long double, Policy=c_policies::c_policy]"" at line 129 of ""libs/math/build/../src/tr1/c_policy.hpp"" instantiation of ""boost::math::detail::bessel_traits::result_type c_policies::sph_bessel(unsigned int, T) [with T=long double]"" at line 16 of ""libs/math/build/../src/tr1/sph_bessell.cpp"" 3 errors detected in the compilation of ""libs/math/build/../src/tr1/sph_bessell.cpp"". ""pgCC"" -Kieee -fpic -fPIC -fast -Mx,8,0x10000000 -Minform=warn -DBOOST_ALL_NO_LIB=1 -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -D__need_IOV_MAX - I""."" -I""libs/math/src/tr1"" -c -o ""bin.v2/libs/math/build/pgi/release/threading-multi/sph_bessell.o"" ""libs/math/build/../src/tr1/sph_bessell.cpp "" }}} ",Bugs,closed,To Be Determined,math,Boost 1.53.0,Problem,fixed,pgi,