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: George Zagaris <>
  • 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 20:21:57 -0400

Hi Marc,

Take a look here for some documentation: http://pic.dhe.ibm.com/infocenter/compbg/v121v141/index.jsp

Specifically take a look at:

(1) [XL C/C++ Compiler for Blue Gene/Q V12.1] => [Compiler Reference] => [Compiler Predefined Macros]

(2) [XL C/C++ Compiler for Blue Gene/Q V12.1] => [Compiler Reference] => [Compiler built-in functions]

That's the documentation I used.

Hope this helps.

Best,
George


On Thu, May 29, 2014 at 6:46 PM, Marc Glisse <> wrote:
On Thu, 29 May 2014, George Zagaris wrote:

Attached is the modified Mpzf header and a patch in case others find useful.

I am having trouble finding this information on IBM's website: what compilers define the macro __xlC__ exactly? And do they all support the __cnt[lt]z8 builtins? I would assume the linux and aix versions are fine (32 bit mode has already been excluded by the GMP test), but I am wondering about the z/OS or z/VM version.

I am also thinking of adding something like the attached patch so XL C++ is not too penalized compared to g++, but again I am not sure what macros I should check.

Since I doubt anyone wants to run CGAL on a mainframe I'll probably just go with __xlC__, but if you know the answer...


--
Marc Glisse

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss






Archive powered by MHonArc 2.6.18.

Top of Page