I did use the omp_get_thread_num() and printed it along with the variable. It
does get messy in the printout but it did verify that the variable has the same
value in all the threads for all the processes.
Thanks,
Vahid
> On Feb 1, 2023, at 2:21 AM, Benson Muite via users
> wrote:
>
> On 2/
On 2/1/23 00:50, Vahid Askarpour via users wrote:
> Hi,
>
> I am running a fortran code (Perturbo) 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
> calcul
Stdout from every process is gathered by mpirun and shown on in stdout of the
shell where mpirun started. There's a command line option for mpirun to label
lines by the MPI task, "--tag-output" I think. There's some OpenMP function
you can use to determine the current OpenMP thread number whic
Hi,
I am running a fortran code (Perturbo) 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
in all the MPI processes and threads has the same value