Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain


Chronological Thread 
  • From: lsteytler <>
  • To:
  • Subject: Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain
  • Date: Fri, 26 Aug 2016 07:07:36 -0700 (PDT)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Neutral ; spf=None
  • Ironport-phdr: 9a23:r5fJjhAQ7bHPCvuS5WBxUyQJP3N1i/DPJgcQr6AfoPdwSP38pMbcNUDSrc9gkEXOFd2CrakV0qyK6+u+ACRAuc/H6y9SNsQUFlcssoY/oU8JOIa9E0r1LfrnPWQRPf9pcxtbxUy9KlVfA83kZlff8TWY5D8WHQjjZ0IufrymUt2as8Pi3O+7/9jfYh5DmSGmSbJ0NhS/6wvL5ecMho43Lr0txwrVpnZSM7BN2W55OVaexj794sOx+pli6GJdt+93pJ0IarnzY6ltFe8QNz8hKW1gvMA=

Hi George,

I am trying to get CGAL 4.8.1 working on ALCF Mira with the IBM XL compilers
and so far I have been able to build CGAL, but I am having trouble compiling
one of the examples. I am able to compile some of the examples, but the one
in
${CGAL_DIR)/Spatial_searching/examples/Spatial_searching/nearest_neighbor_searching.cpp
is producing errors:

mpixlcxx -DCGAL_EIGEN3_ENABLED -DCGAL_USE_GMP -DCGAL_USE_MPFR
-I/home/steytler/GOMA-6.0-Mira/mpfr/include
-I/home/steytler/GOMA-6.0-Mira/gmp/include
-I/home/steytler/GOMA-6.0-Mira/cgal-master/Spatial_searching/examples/Spatial_searching
-I/home/steytler/GOMA-6.0-Mira/CGAL/include nearest_neighbor_searching.cpp
-o nns -I/soft/libraries/boost/current/cnk-xl/current/include
-I/home/steytler/GOMA-6.0-Mira/eigen
/home/steytler/GOMA-6.0-Mira/CGAL/lib64/libCGAL.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_thread-mt.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_thread-mt-d.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_system-mt.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_system-mt-d.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_chrono-mt.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_chrono-mt-d.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_date_time-mt.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_date_time-mt-d.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_atomic-mt.a
/soft/libraries/boost/current/cnk-xl/current/lib/libboost_atomic-mt-d.a
"/home/steytler/GOMA-6.0-Mira/CGAL/include/CGAL/Modular_arithmetic/Residue_type.h",
line 54.5: 1540-0198 (W) The omitted keyword "private" is assumed for base
class
"boost::ordered_field_operators1<CGAL::Residue,boost::operators_impl::ordered_field_operators2&lt;CGAL::Residue,int,boost::operators_impl::operators_detail::empty_base&lt;CGAL::Residue>
> >".
"/soft/libraries/boost/current/cnk-xl/current/include/boost/integer_traits.hpp",
line 105.49: 1540-0724 (W) The non-type template argument "2147483648" of
type "T" has wrapped.
"/home/steytler/GOMA-6.0-Mira/CGAL/include/CGAL/FPU.h", line 128.25:
1540-0821 (W) The floating point literal "0x1.0p2047" is out of range.
"/home/steytler/GOMA-6.0-Mira/CGAL/include/CGAL/Euclidean_distance.h", line
58.52: 1540-1109 (S) The use of undefined class
"CGAL::Search_traits_2<CGAL::Simple_cartesian&lt;double> >" is not valid.
"/home/steytler/GOMA-6.0-Mira/CGAL/include/CGAL/Orthogonal_k_neighbor_search.h",
line 43.110: 1540-1205 (I) The error occurred while converting to parameter
1 of
"CGAL::Euclidean_distance<CGAL::Search_traits_2&lt;CGAL::Simple_cartesian&lt;double>
> >::Euclidean_distance(const
Search_traits_2<CGAL::Simple_cartesian&lt;double> > &)".
"nearest_neighbor_searching.cpp", line 27.19: 1540-1205 (I) The error
occurred while converting to parameter 4 of
"CGAL::Orthogonal_k_neighbor_search<CGAL::Search_traits_2&lt;CGAL::Simple_cartesian&lt;double>
>,CGAL::Euclidean_distance<CGAL::Search_traits_2&lt;CGAL::Simple_cartesian&lt;double>
>
>,CGAL::Sliding_midpoint<CGAL::Search_traits_2&lt;CGAL::Simple_cartesian&lt;double>
>,CGAL::Plane_separator<double>
>,CGAL::Kd_tree<CGAL::Search_traits_2&lt;CGAL::Simple_cartesian&lt;double>
>,CGAL::Sliding_midpoint<CGAL::Search_traits_2&lt;CGAL::Simple_cartesian&lt;double>
>,CGA...".

Any ideas? I am not sure if I need to make any changes to Mpzf.h or FPU.h
with the latest version of CGAL? (I tried replacing the Mpzf.h file with the
one you posted, but that did not fix the errors.)

Any advice would be much appreciated.

Thanks very much,

Louis



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compiling-CGAL-on-the-BG-Q-with-an-IBM-XL-C-C-toolchain-tp4659363p4662173.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page