_RL no_usercost(NUSERCOST)
if (no_usercost(num_var).GT.0) then
& no_usercost(num_var)
no_usercost(num_var)= 0. _d 0
no_usercost(num_var)=no_usercost(num_var)
_GLOBAL_SUM_RL(no_usercost(num_var), myThid )