id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 2521,potentially test undefined values in stpctl and other places...,smasson,smasson," ==== Context At least when '''nn_hls > 1''' and in some configurations (at least SAS), stpctl is stoping the model for non-existing errors... so good... :-( ==== Analysis in stpctl mpp_min/max and mpp_min/max_loc are done over the whole domain instead of using only the inner domain. In consequence, they sometimes pick-up values (randomly) from non-initialized parts of the halos. ==== Fix Make sure that we use only the inner domain when using mpp_min/max and mpp_min/max_loc in stpctl. [[BR]] Check also the other routines using these functions... [[BR]] cherry on the cake: modify mpp_min/max_loc so: - it works even without key_mpp_mpi - by default, it sents back global domain indices without halos so the information matches input/outputs files and does not depend on nn_hls value. ",Bug,closed,low,,MULTIPLE,trunk,minor,fixed,,