[Pw_forum] Proper use of mp_barrier()

Paolo Giannozzi giannozz at democritos.it
Fri Jun 19 08:34:35 CEST 2009


On Jun 18, 2009, at 23:19 , Jeffrey Mullen wrote:

> call elphsum()
> if(ionode) then
>    call check_routine()
> endif
> call mp_barrier()

it should work, but parallelism is tricky. Are you sure the
code is coming out of check_routine? does it work if you
comment it?

P.
---
Paolo Giannozzi, Dept of Physics, University of Udine
via delle Scienze 208, 33100 Udine, Italy
Phone +39-0432-558216, fax +39-0432-558222






More information about the users mailing list