This is likely a very simple question. I am running a fortran code compiled in hybrid openmp/openmpi. The code runs on 2 nodes (128 processors) with 32 MPI processes and 4 threads/MPI process. I am attempting to verify that a variable involved in the calculations on all the MPI processes and threads has the same value. So I would like to print this variable with the thread # for all the 32 MPI processes. Would a simple print statement do the job or would such a print statement only print the information on the master node and not both nodes?
Thank you,
Vahid
Thank you,
Vahid