Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenMP task can't be instrumented #126

Open
zz4391632 opened this issue Oct 30, 2024 · 0 comments
Open

OpenMP task can't be instrumented #126

zz4391632 opened this issue Oct 30, 2024 · 0 comments

Comments

@zz4391632
Copy link

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`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant