Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Cc: Dmitriy Morozov <>, Tom Peterka <>, Hal Finkel <>
- Subject: Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain
- Date: Thu, 29 May 2014 17:50:51 +0200 (CEST)
On Thu, 29 May 2014, George Zagaris wrote:
Dear CGAL community,
First off, I would like to thank you for developing and maintaining CGAL.
It is an excellent piece of software that I have found useful at various
stages throughout my academic and professional career.
More recently, I have ported a CGAL-based application for the BG/Q
architecture, specifically on mira (
http://www.alcf.anl.gov/user-guides/mira-cetus-vesta) , compiling with an
all IBM XL C/C++ toolchain.
While I was able to compile CGAL statically, I was running in to problems
when compiling the CGAL portions of the application. The issue was that
Mpzf.h was using GCC builtin functions that were not recognized by the IBM
XL C/C++ compiler. The fix was to use the corresponding builtin functions
for the IBM compiler.
Is that the only problem you had? That's cool!
CGAL/FPU.h is probably not optimal with this compiler, but it is good that everything works.
Attached is the modified Mpzf header and a patch in case others find useful.
Looks good, I'll try to apply it for the next release.
The IBM documentation I found is quite limited, it doesn't mention that you need to #include anything, and it doesn't specify if there are any corner cases (what happens if the argument is 0?).
Thank you for your message,
--
Marc Glisse
- [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain, George Zagaris, 05/29/2014
- Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain, Marc Glisse, 05/29/2014
- Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain, Marc Glisse, 05/30/2014
- Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain, George Zagaris, 05/30/2014
Archive powered by MHonArc 2.6.18.