1 // RUN: %gdb-compile-and-run 2>&1 | tee %t.out | FileCheck %s
3 #include "../ompt_plugin.h"
13 printf("f(%i) start task 1\n", i
);
16 printf("f(%i) start task 2\n", i
);
19 printf("f(%i) start task 3\n", i
);
27 printf("Application: Process %d started.\n", getpid());
28 omp_set_num_threads(8);
29 omp_set_max_active_levels(10);
31 #pragma omp parallel sections
37 // CHECK-NOT: OMPT-OMPD mismatch
38 // CHECK-NOT: Python Exception
39 // CHECK-NOT: The program is not being run.