-
Notifications
You must be signed in to change notification settings - Fork 42
Description
When i use #pragram omp parallel for , it can be instrumented. But core dumped when I use openmp task.
this is my test code
`
int main()
{
cout << endl
<< "num_threads = " << omp_get_max_threads() << endl;
#pragma omp parallel
{
#pragma omp task
cout <<"thread id ="<<omp_get_thread_num()<< endl;
}
return 0;
}here is output
Welcome to Extrae 4.2.3
Extrae: Detected GOMP version is 4.5
Extrae: Detected and hooked OpenMP runtime: [GNU GOMP]
Extrae: OMP_NUM_THREADS set to 24
Extrae: Generating intermediate files for Paraver traces.
Extrae: Intermediate files will be stored in /vol8/home/xuchuanfu/zhouzheng/test/task_test
Extrae: Tracing buffer can hold 500000 events
Extrae: Tracing mode is set to: Detail.
Extrae: Successfully initiated with 1 tasks and 24 threads
num_threads = 24
thread id =0
/tmp/slurmd/job1213046/slurm_script: line 12: 465673 Segmentation fault (core dumped) numactl --cpunodebind=0 --membind=0 ./test`