if (no_sshv4cost(num_var).GT.0) then
_RL no_sshv4cost(NSSHV4COST)
& no_sshv4cost(num_var)
no_sshv4cost(num_var)= 0. _d 0
no_sshv4cost(num_var)=no_sshv4cost(num_var)
_GLOBAL_SUM_RL(no_sshv4cost(num_var), myThid )