Closed puneet336 closed 2 years ago
There is some support in MOM6 for OpenMP parallelization, but I do not know of any configuration which benefits from OpenMP threads vs MPI ranks.
Having said that, they ought to at least work. But we should probably resolve #1527 before looking into this too carefully.
I apologize for dropping this issue, #1527 ended up crowding out this one.
While others could weigh in more, the short answer is that MOM6 currently only provides very limited support for OpenMP. Current implementation is localized to individual loops or modules. It doesn't surprise me that certain tests have no evidence of threading nor any speedup.
I will close this, given how much time has passed, but feel free to re-open or open a discussion tab if you want to revisit this issue.
Hi, I had compiled MOM6 by setting OPENMP = on in the config template files using intel compilers (2019u5). while trying the launch config of 28 ranks x 2 threads per rank i noticed that the threads are not being launched (monitored processes for entire duration of run using top), here is the snapshot of what i observed -
I am able to see following in the stdout, so i assume that OpenMP support has been enabled in the code -
Do i need to carry out any modification in the input file to get the openmp threads to work ? please advice. slurm.omp.txt