IBM Support

PH07404: PARALLEL CODE GENERATION HAS ERROR WHEN NORMAL GENERATION IS WORKING FINE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Description:
    -> For a specific model, an error is thrown with parallel code
    generation. When we activate parallel code generation via
    propery,'CG::General::ParallelCodeGeneration' and generate code
    with dependencies we get a generate error that we do not get
    when we generate code with dependencies without parallel code
    generation.
    
    -> Rhapsody complains about an unresolved type that is resolved
    in the browser, when I look it up in the project.
    
    ---------------------------------------------------------
    Log in error case:
    
    Code Generation Started
    
    Finished generating configuration RTX in component
    CMP_LIB_ArchitectureConcepts. 9 configurations left to generate.
    
    Finished generating configuration RTX in component
    CMP_LIB_System. 8 configurations left to generate.
    
    Finished generating configuration RTX in component
    CMP_LIB_Chrono. 7 configurations left to generate.
    
    Finished generating configuration RTX in component
    CMP_LIB_Threading. 6 configurations left to generate.
    
    Finished generating configuration RTX in component
    CMP_LIB_Filesystem. 5 configurations left to generate.
    
    Finished generating configuration RTX in component CMP_LIB_SPI.
    4 configurations left to generate.
    
    Finished generating configuration RTX in component CMP_LIB_DMA.
    3 configurations left to generate.
    Error: Reference to unresolved type
    in Reference: PKG_References
    in Package: PKG_Hashing
    in Class: CChecksum
    in Operation: calculateChecksum(uint8_t)
    Argument: aData
    
    
    Checker Done
    1 Error(s), 0 Warning(s)
    Code Generation Aborted
    ---------------------------------------------------------
    
    
    Steps to Reproduce:
    1. Open the HardwareAbstraction Project
    2. Generate CMP_LIB_DMA_XMC_Realization with dependencies
    3. It should try to generate in parallel now
    4. And the error mentioned is observed.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Rhapsody                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Parallel code generation has error when normal code          *
    * generation is working fine                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Parallel code generation use load on demand that have limitation
    in regard to external or reference unit that are not in their
    original hierarchy, The property
    CG::General::ParallelCodeGenerationUseLoadOnDemand is added in
    order to force  Parallel code generation to not use load on
    demand, and a message is added to the check in this case to
    notify the problem and suggest solution
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH07404

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-17

  • Closed date

    2019-04-30

  • Last modified date

    2019-04-30

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels



Document information

More support for: Rational Rhapsody

Software version: 830

Reference #: PH07404

Modified date: 30 April 2019