The XL C/C++ for Linux Fix Pack 5 (December 2013 Update) for 12.1 is now available at the following links and on Fix Central: XL C/C++ for Linux Fix Pack 5 (December 2013 Update) for 12.1 Fix list for XL C/C++ for Linux Runtime for XL C/C++ for Linux Fix Pack 5 (December 2013 Update) for 12.1 ... [More]
The IBM XL C/C++ compiler, V12.1 starts to support a new environment variable OMP_PROC_BIND . You can use it to control whether OpenMP threads are allowed to move between processors. Syntax: >>-OMP_PROC_BIND=--+-TRUE--+-----------------------------------><... [More]
Header files are usually specified within the program source files to be compiled. Starting from z/OS V2R1, one can use the INCLUDE compiler option to specify additional header files to be included in a compilation unit, as though the files were named in consecutive #include "file" statements inserted before the first line of the source file. The INCLUDE compiler option simplifies the task of porting code across supported platforms by providing a way to affect the processing of the source code without having to change... [More]
The SuperComputing Conference has served as the crossroads for the entire HPC/Technical Computing community for 25 years. The conference connects with the latest developments through the diverse programs: technical programs, exhibit hall, and HPC Interconnections . During the SC13 silver anniversary celebration this year, IBM was honored to present computer artifacts and a graphical timeline spanning over 67 years of HPC innovation. The IBM Compiler Team had two of its members in attendance: Yaoqing Gao, Rational STSM in... [More]
I attended Supercomputing in my third year as OpenMP CEO to both represent IBM and OpenMP. This was a big year for us as we closed with many milestones in what I call a Significant Paradigm shift in Parallelism. The most significant milestone was that t he OpenMP Consortium has released OpenMP 4.0 in 2013 with new parallelism features that are productive, portable, and performant across C, C++, and Fortran. OpenMP 4.0 contains significant additions for accelerators, standardized for a broad set of architectures, and an industry-first support... [More]
The usage and advantage of the decltype specifier are introduced in Part I. For details, see https://www.ibm.com/developerworks/community/blogs/5894415f-be62-4bc0-81c5-3956e82276f3/entry/c_11_the_decltype_specifier_part_i?lang=en The deduction rules of decltype are introduced in Part II. For details, see https://www.ibm.com/developerworks/community/blogs/5894415f-be62-4bc0-81c5-3956e82276f3/entry/c_11_the_decltype_specifier_part_ii?lang=en In this section, I will state the inheritance of cv-qualifiers and the disposal of redundant... [More]
In Part 1 of this C++ Standard September, 2013 meeting trip report, I wanted to mostly go over the core, library issues that affects C++14 and are urgent for the new Standard to emerge. What some people forget is that while this drive for C++14 is happening, there are still some parts of the Committee working on large and small features beyond C++14. This part will describe the many future feature proposals. Many of these proposals may only get full air time during the plenary session and these plenary sessions are getting longer and... [More]
The XL C/C++ for AIX Fix Pack 16 (November 2013 PTFs) for 11.1 are now available at the following links and on Fix Central: XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1 http://www.ibm.com/support/docview.wss?uid=swg24036575 Fix list for XL C/C++ for AIX http ://w ww.i bm.c om/s uppo rt/d ocvi ew.w ss?u id=s wg27 0386 0 5 XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1 http://www.ibm.com/support/docview.wss?uid=swg24036574 Fix list for XL C for AIX http ://w ww.i bm.c om/s uppo rt/d ocvi ew.w ss?u id=s wg27 0383 5 2... [More]
The XL C/C++ for BlueGene/Q Fix Pack 5 (August 2013 Update) for 12.1 is now available at the following links and on Fix Central: XL C/C++ for BlueGene/Q Fix Pack 6 ( Nov ember 2013 Update) for 1 2 .1 Fix list for XL C/C++ for BlueGene/Q Can't find the updates for your compiler? Check out our C/C++ compiler latest update page here .
The IBM XL C/C++ compiler V12.1 supports a new option called -qoptfile. You can use this option to specify a file containing a list of additional command line options to be used for the compilation. This is the syntax of this option: >>- -q--optfile--=--filename----------------------------------->< Here filename specifies the name of the file that contains a list of additional command line options. The file is a plain text file with one or more command lines options per line. filename can contain a relative path or absolute... [More]
We are pleased to announce the Managed Beta Program for IBM®XL C/C++ for Linux on System z. This Beta Program is separated into two stages, namely, features and compatibility, and, quality and performance. Clients participating in the Managed Beta program will join developers and product management for education and discussions. Participants will evaluate code and have access to a private website. The beta website will include a tool for reporting problems and feature requests. There will also be a forum for questions and... [More]
The deleted functions feature is introduced into the C++11 standard. In this article, I will explain this feature and provide some examples on how to use it. Background C++ has six kinds of special member functions: •Default constructors •Destructors •Copy constructors •Copy assignment operators •Move constructors •Move assignment operators These special member functions are used to create, destroy, initialize, convert, and copy class objects. Suppose that you haven't defined a certain special... [More]
Having trouble identifying the correct compiler version installed on your AIX machine? There are a couple of ways such as using the -qversion compiler option or lslpp for the correct compiler filesets. Feel free to checkout the technote below for more information. How to determine the installed XL C/C++ for AIX compiler version? Please let me know if you find this useful.
The XL C/C++ for AIX Fix Pack 19 (October 2013 PTFs) for 10.1 are now available at the following links and on Fix Central: XL C/C++ for AIX Fix Pack 19 (October 2013 PTF) for 10.1 http://www.ibm.com/support/docview.wss?uid=swg24036374 Fix list for XL C/C++ for AIX http://www.ibm.com/support/docview.wss?uid=swg27038605 XL C for AIX Fix Pack 19 (October 2013 PTF) for 10.1 http://www.ibm.com/support/docview.wss?uid=swg24036376 Fix list for XL C for AIX http://www.ibm.com/support/docview.wss?uid=swg27038352 Note that this C/C++ PTF... [More]
In C language the function "main" has special meanings and defined behaviors. In the compiler implementation, function "main" represents the triggering point for runtime initialization, but there might be needs to nominate an alternative entry point name for function "main" while maintaining the behavior of function "main". Starting from z/OS V2R1, you can define an alternative entry point name for function "main" in Metal C programs using the "#pragma map" directive. For... [More]