Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

Visualizing openMP tasks with FGA

Fritz1
Beginner
1,108 Views

Hi,

I am trying to use the experimental support for OpenMP Applications in the Flow Graph Analyzer to visualize my openMP tasks. I am able to generate output in a directory _fga_YYYMMDD_HHMMSS as described in the user guide, but when I try converting this output to the GraphML and TraceML formats with fgt2xml, I always get the warning "WARNING: 1 tasks do not have completions with task_end - ignoring tasks for thread(i)  !" for all threads I been running, and while there are .graphml and .traceml files, in FGA I only see omp0::0 and if I double click it, I see omp0::n0::n1 and omp0::n0::n2 as for the empty parallel region in the example in the user guide.

 

This is true for complex programs but also for this simple hello world example where I definitely would expect to see the tasks in FGA:

 

int main()
{
#pragma omp parallel
    {
        int s;
#pragma omp single
        {
#pragma omp task
            {
                std::cout << "Hello World!" << std::endl;
            }
#pragma omp task shared (s) depend (out: s)
            {
                s = 42;
                std::cout << s << std::endl;
            }
#pragma omp task shared (s) depend (in: s)
            {
                s += 2;
                std::cout << s << std::endl;
            }
        }
    }
}

 

I do see in the per-thread view that the tasks are executed by different threads, but in the Graph Canvas they do not show up.

 

I would be very grateful for any hints on how I can get this to work.

Labels (1)
0 Kudos
3 Replies
Vipin_S_Intel
Moderator
1,066 Views

Hi Fritz, we would like to inform you that we are routing your query to the dedicated team for further assistance.


yuzhang3_intel
Moderator
1,017 Views

It looks like the same issue is submitted repeatedly. We have reported the issue to the engineering team and update later, thanks.

https://community.intel.com/t5/Analyzers/Visualizing-openMP-tasks-with-FGA/m-p/1587462#M24541

 

0 Kudos
clevels
Employee
921 Views

Flow Graph Analyzer feature of Intel Advisor will be discontinued in 2025 or later. Customers who have purchased Intel® Priority Support will continue to receive support. If you have Priority Support please file this through our online service center https://supporttickets.intel.com/s/?language=en_US

0 Kudos
Reply