Replies: 2 comments
-
I moved this to the discussions. Please do not ask for help in the issues. Regarding your questions: Openmp task is not available (it never was released), this is different from MPI + openmp. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answer and sorry for posting at the wrong place! Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello!
I noticed that when running Smilei on TGCC's Irene cluster and Rome partition (I haven't tried on other partitions of this cluster) (machine=joliot_curie_rome for compilation), in the Initializing MPI part of Smilei's log, this prints:
My colleagues at CELIA laboratory running Smilei on the same partition have the same print. I tried recompiling Smilei differently by removing
config=no_mpi_tm
from the make command. This enables MPI threads but OpenMP task parallelization remains not activated. Forcing a compiler option by settingexport MPICXX='mpicxx -fopenmp'
had no effect. Settingexport OMP_PROC_BIND=true
andexport OMP_PLACES=cores
had no effect either.Thus, I have three questions for you please:
Question 1: I don't know how are MPI threads related to OpenMP. The machine file recommends not enabling the former for some reason. But I could compile the code successfully when removing
config=no_mpi_tm
. The instruction to add this option being 3 years old, maybe it is just no longer necessary? Is it even possible for OpenMP tasks to be effective when MPI threads are not enabled?Question 2: At CELIA, we are also wondering how things work when we have multiple threads per mpi process (64 in my case) but OpenMP is not activated. Indeed, using several MPI threads still seems to run the code faster compared to using only one, despite the non-activation of OpenMP task parallelization.
Question 3: Last but not least, do you have any hint how to solve this issue and enable OpenMP please?
Additionnal infos:
Smilei version : 5.1-34-g60be16288-master
I have no idea of what version of OpenMP is installed or even where to look for this information.
Compilation environment informations (obtained by doing
make env
):Thanks for helping!
Howel
Beta Was this translation helpful? Give feedback.
All reactions