IBM Support

IV75101: INCORRECT OMP_STACKSIZE DEFAULT UNIT SIZE WITHOUT SUFFIX

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • As per the XL C/C++ for AIX compiler documentation for the
    OMP_STACKSIZE environment variable, an OMP_STACKSIZE setting
    without a suffix is meant to default to KILOBYTES:
    
       OMP_STACKSIZE
    
       >>-OMP_STACKSIZE=----size---------------------------------><
       By default, the size value is represented in Kilobytes. You
       can also use the suffixes B, K, M, or G if you want to
       indicate the size in Bytes, Kilobytes, Megabytes, or
       Gigabytes respectively. White space is allowed between and
       around the size value and the suffix. For example, these two
       examples both indicate a stack size of 10 Megabytes.
    
    However, the OMP runtime is defaulting to BYTES.  A message is
    output stating the setting is too small if a small KB value
    without suffix is set.
    
    
    
       === EXAMPLE ===
    
    $ export OMP_STACKSIZE=5120     (((  EXPECTED TO BE KB  )))
    $ ./a.out
    1587-106 The value 5120 specified for option 'OMP_STACKSIZE' is
    not in the valid range 16384 to 68719476735. All SMP run-time
    options have been set to their default values.
    $
    

Local fix

  • Use a suffix for OMP_STACKSIZE
    

Problem summary

  • PROBLEM DESCRIPTION:
    Incorrect interpretation of the default OMP_STACKSIZE suffix.
    
    USERS AFFECTED:
    Users setting the OMP_STACKSIZE environment variable without a
    suffix.
    

Problem conclusion

  • The default suffix interpretation was set to KILOBYTES.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV75101

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-15

  • Closed date

    2015-10-14

  • Last modified date

    2015-10-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RD10 PSY

       UP



Document information

More support for: XL C for AIX
Compiler

Software version: 13.1

Reference #: IV75101

Modified date: 14 October 2015