Tasks executed by thread 0 only
Posted: Tue Aug 11, 2020 7:26 am
Hello,
I am trying to use tasks in a hybrid MPI / OpenMP Fortran code.
I would like to write data on disk with thread 0 only, and I would like to use tasks for this.
Ideally threads others than 0 will process data and then create a "write" task that thread 0 only can execute.
Is this possible? If it is, how can I do this?
Thanks for your help,
Fabrice
I am trying to use tasks in a hybrid MPI / OpenMP Fortran code.
I would like to write data on disk with thread 0 only, and I would like to use tasks for this.
Ideally threads others than 0 will process data and then create a "write" task that thread 0 only can execute.
Is this possible? If it is, how can I do this?
Thanks for your help,
Fabrice