[MITgcm-support] blocking exchange
Patrick Heimbach
heimbach at MIT.EDU
Mon Aug 23 23:53:35 EDT 2004
Samar,
go ahead,
should be OK if you follow the way it's done in
ptracers_fields_blocking_exchanges
for your type of arrays.
No barrier needed, they are hidden in the exch routines.
-Patrick
Quoting samar khatiwala <spk at ldeo.columbia.edu>:
> Hello, I have a question about the proper use of _EXCH_XYZ_R8.
>
> At some point in the code, I need to update overlaps for some
> arrays I have created. The arrays are declared identically to
> pTracer.
>
> Can I simply call _EXCH_XYZ_R8(myArray...) or will this wreak havoc
> in a multiprocessor run? I am not sure if _BARRIER or something else
> needs to be declared/called before an exchange. I don't see anything
> in, say, ptracers_fields_blocking_exchanges, but just want to be sure.
>
> Thanks, Samar
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-support
>
--------------------------------------------------------
Patrick Heimbach Massachusetts Institute of Technology
FON: +1/617/253-5259 EAPS, Room 54-1518
FAX: +1/617/253-4464 77 Massachusetts Avenue
mailto:heimbach at mit.edu Cambridge MA 02139
http://www.mit.edu/~heimbach/ USA
More information about the MITgcm-support
mailing list