Skip to Main Content
IBM Z Software


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Categories C/C++
Created by Guest
Created on Jul 18, 2019

XL: Support linking objects compiled with clang++ and xlc or xlf that use OpenMP GPU offloading

SalesForce Case TS001968579
PMR 82483,227,000

XLF compiler: Errors linking objects compiled with clang++ and xlc or xlf that use OpenMP GPU offloading.

LLNL is having problems linking objects that were compiled using the clang++ (LLVM) and XLF (or XLC) compilers. Errors occur during the link process when either clang++ or xlf is used to perform the link.

John Gyllenhaal, from LLNL, has already reached out to the clang compiler developers Doru Bercea <gheorghe-teod.bercea@ibm.com> and Bardia Mahjour <bmahjour@ca.ibm.com> and CC'd Wang Chen <wdchen@ca.ibm.com>, the XL compiler release manager.

We can compile our host-only OpenMP c++ with clang++ (either the IBM trunk version or the clang 3.8 version) and our GPU OpenMP FORTRAN with xlf if we link with xlf, but we run into problems as soon as we add GPU OpenMP into the c++ or try to link with clang++.

Is it possible to link xlf GPU code and clang++ GPU code in the future (or now if there is a magic formula)? Extra steps are ok that does the GPU linking per language, for example.

The same errors with code tests using a small saxpy kernel whether I mix XLC or XLF compiled OpenMP4.5 kernels with CLANG OpenMP4.5 kernels. It's not FORTRAN specific.

My first guess was maybe the libomptarget libraries installed in the CLANG vs XL compiler areas are using some incompatible header versions ( like omptarget-nvptx.h ). One of the errors is NVLINK complaining that the omptarget_nvptx_device_State is a different size than expected.

Idea priority Urgent
  • Guest
    Reply
    |
    Jan 22, 2020

    This was once discussed with the client and changes were purposed to be made on the client side.

  • Guest
    Reply
    |
    Aug 23, 2019

    This RFE is being investigated further.