IBM XL Compilers with AIX 5L: Compiler Flags, Environment Settings and Utilities
Compilers: IBM XL C/C++ Enterprise Edition Version 8.0 for AIX
Compilers: IBM XL Fortran Enterprise Edition Version 10.1 for AIX
Compilers: IBM XL C/C++ Enterprise Edition Version 9.0 for AIX
Compilers: IBM XL Fortran Enterprise Edition Version 11.1 for AIX
OS: IBM AIX 5L V5.3
Last updated: 03-Dec-2007
]]>
drmgr -r -c cpu Deconfigures one core from the active partition. Use it N times to deconfigure N cores.
smtctl -m on|off -w now|boot
Controls the enabling and disabling of processor simultaneous multi-threading mode.
vmo -r -o lgpg_regions=n -o lgpg_size=16777216
Sets the size of large pages to 16M, and set the number to use, with -r, takes effect on the next IPL.
bosboot -q
Regenerates the IPL boot to set the options specified with smtctl and vmo.
bindprocessor $$ <n>
The next program is to be bound to the specified processor.
Environment variables set before the run:
MEMORY_AFFINITY=MCM
Cause the OS to alloc memory "closest" to the chip that first requests it.
MALLOCOPTIONS=POOL
Selects the OS malloc option that allocates/frees small objects very quickly.
]]>
-bmaxdata:0x20000000,
-bmaxdata:0x40000000,
-bmaxdata:0x50000000,
-bmaxdata:0x60000000,
-bmaxdata:0x80000000
Causes the system loader to put the heap in it's own segment of the size specified.
This is only required for 32-bit applications, as their segments are 256M. If the
last digit of the value is "C", then it also turns off the malloc pool option for
that executable.
-bdatapsize:64K
Specifies a non-default page size of 64K for the program data segment.
-bstackpsize:64K
Specifies a non-default page size of 64K for the program stack segment.
-btextpsize:64K
Specifies a non-default page size of 64K for the program text segment.
Sets the bit in the file's XCOFF header indicating that this
executable will request the use of large pages when they are
available on the system and when the user has an appropriate
privilege
The __IBM_FAST_VECTOR macro defines a different iterator for the std::vector
template class. This iterator results in faster code, but is not compatible
with code using the default iterator for a std::vector template class.
All uses of std::vector for a data type must use the same iterator.
Add -D__IBM_FAST_VECTOR to the compile line, or "#define __IBM_FAST_VECTOR 1"
to your source code to use the faster iterator for std::vector template class.
You must compile all sources with this macro.
Causes AIX to define "ischar()" (and friends) as macro's and not subroutines.