<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
I see these warnings only with Cray compilers. Maybe it is a false positive.
<div class=""><br class="">
</div>
<div class="">Hong</div>
<div class=""><br class="">
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jun 5, 2017, at 11:39 AM, Matthew Knepley <<a href="mailto:knepley@gmail.com" class="">knepley@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="gmail_extra">
<div class="gmail_quote">On Mon, Jun 5, 2017 at 11:29 AM, Zhang, Hong <span dir="ltr" class="">
<<a href="mailto:hongzhang@anl.gov" target="_blank" class="">hongzhang@anl.gov</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The first one looks like a bug.<br class="">
<br class="">
CC-128 craycc: WARNING File = /global/u2/h/hongzh/Project/<wbr class="">petsc/src/dm/impls/plex/<wbr class="">plextree.c, Line = 3149<br class="">
The indicated loop is not reachable from preceding code.<br class="">
SETERRQ(PETSC_COMM_SELF,PETSC_<wbr class="">ERR_SUP,"Unsupported discretization object");CHKERRQ(ierr);<br class="">
</blockquote>
<div class=""><br class="">
</div>
<div class="">Please describe why it looks like a bug:</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""> if (classId == PETSCFE_CLASSID) {</div>
<div class=""> ierr = PetscFEGetDualSpace((PetscFE)disc,&dsp);CHKERRQ(ierr);</div>
<div class=""> }</div>
<div class=""> else if (classId == PETSCFV_CLASSID) {</div>
<div class=""> ierr = PetscFVGetDualSpace((PetscFV)disc,&dsp);CHKERRQ(ierr);</div>
<div class=""> }</div>
<div class=""> else {</div>
<div class=""> SETERRQ(PETSC_COMM_SELF,PETSC_ERR_SUP,"Unsupported discretization object");CHKERRQ(ierr);</div>
<div class=""> }</div>
</div>
<div class=""><br class="">
</div>
<div class=""> Thanks,</div>
<div class=""><br class="">
</div>
<div class=""> Matt</div>
<div class=""> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
ftn-1279 crayftn: WARNING TSADAPTEQUALS, File = ../../../global/u2/h/hongzh/<wbr class="">Project/petsc/src/ts/f90-mod/<wbr class="">petsctsmod.F, Line = 66, Column = 32<br class="">
Procedure "TSADAPTEQUALS" is defined at line 32 (/global/u2/h/hongzh/Project/<wbr class="">petsc/src/ts/f90-mod/<wbr class="">petsctsmod.F). The type of this argument does not agree with dummy argument "A".<br class="">
<br class="">
ftn-1279 crayftn: WARNING TSADAPTEQUALS, File = ../../../global/u2/h/hongzh/<wbr class="">Project/petsc/src/ts/f90-mod/<wbr class="">petsctsmod.F, Line = 66, Column = 34<br class="">
Procedure "TSADAPTEQUALS" is defined at line 32 (/global/u2/h/hongzh/Project/<wbr class="">petsc/src/ts/f90-mod/<wbr class="">petsctsmod.F). The type of this argument does not agree with dummy argument "B".<br class="">
<br class="">
Hong (Mr.)</blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature">
<div dir="ltr" class="">
<div class="">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br class="">
-- Norbert Wiener</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://www.caam.rice.edu/~mk51/" target="_blank" class="">http://www.caam.rice.edu/~mk51/</a><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>