stopProfiles=1. _d 0
if ( stopProfiles .EQ. 0.) then
_RL stopProfiles
_GLOBAL_SUM_RL( stopProfiles , myThid )
if ( stopProfiles.GE.1.) then
stopProfiles=0. _d 0