Search

1 to 10 of 55
Sort by

Blog Entry
XL Fortran and XL C/C++ for Linux evaluation versions now hosted on public apt-get and zypper repositories!

Originally posted by: Dwayne M Now there’s an even easier way to get you started with your evaluation of the latest XL C/C++ (V13.1.1) and XL Fortran (V15.1.1) for Linux compilers for the little endian Linux distributions on Power Systems (Ubuntu 14.04, Ubuntu 14.10, and SLES 12). We...

Archive User's profile image

Blog Entry
Scalar as the actual argument corresponding to an assumed-size dummy argument of assumed-type

Originally posted by: ChristineLi To facilitate function calls, a constraint has been relaxed according to TS29113, starting from XL Fortran for AIX Fix Pack 1 (September 2014 PTF) for 15.1 and XL Fortran for Linux Fix Pack 1 (October 2014 PTFs) for 15.1. Now you can pass a scalar as the...

Archive User's profile image

Blog Entry
Use options to generate debugging information in DWARF format

Originally posted by: ChristineLi DWARF is a standard that defines the format of debugging information in programs. It is used on a wide variety of operating systems and is extensible and compact. You can specify -qdbgfmt=dwarf to generate debugging information in DWARF 3 format and ...

Archive User's profile image

Blog Entry
Better than -t and -B combo: -qpath

Originally posted by: ChristineLi The XL Fortran for Linux, 15.1 and XL Fortran for AIX, 15.1 introduced the -qpath option , which is functionally similar to the -t and -B combination but more convenient. You can use -qpath to specify substitute path names for XL Fortran components,...

Archive User's profile image

Blog Entry
Fortran 2008 new feature: submodule

Originally posted by: Ka Lin Authors: Ka Lin, Daniel Chen A submodule extends a module or another submodule. It can also have its descendant submodules. You can declare a module procedure interface body in a module and define it in one of the descendant submodules. A submodule access...

Archive User's profile image

Blog Entry
How to get the location of the wanted value in an array

Originally posted by: ChristineLi In IBM XL Fortran for Linux, V15.1 and IBM XL Fortran for AIX, V15.1, a new Fortran 2008 intrinsic function has been added to let you inquire the location of the first or last matching of the wanted value in an array along the specified dimension. Function...

Archive User's profile image

Blog Entry
Use options to control whether static or shared XL compiler libraries are linked

Originally posted by: ChristineLi A new suboption xllibs has been added to the -qstaticlink option starting from the February 2014 Update for XL C/C++ for Linux, V12.1 (V12.1.0.6) and XL Fortran for Linux, V14.1 (V14.1.0.6). The -qstaticlink option controls whether static or shared...

Archive User's profile image

Blog Entry
-qhaltonmsg, -qsuppress, and -qflag

Originally posted by: Yvonne Ma The -qhaltonmsg option is added in XL Fortran V14.1. When you specify this option, the compiler stops compilation before producing any object files, executable files, or assembler source files if a specified error message or a list of messages is generated. ...

Archive User's profile image

Blog Entry
Optimize the performance of your code containing loops by using -qassert

Originally posted by: ChristineLi If your code contains a large number of loops, you can use option -qassert=minitercnt= n1 and -qassert=maxitercnt= n2 provided in XL Fortran V14.1 to specify the expected minimum and maximum iteration counts of the loops in the program. The minitercnt...

Archive User's profile image

Blog Entry
Use -qlistfmt option to generate reports about optimization in XML or HTML format

Originally posted by: ChristineLi You can get the optimization information in XML or HTML format, which includes the optimizations that the compiler has performed and optimization opportunities that were missed. With this information, you can reduce programming effort for tuning...

Archive User's profile image