<div dir="ltr"><div dir="ltr">On Mon, Nov 22, 2021 at 11:57 AM Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><br></div>  What does Windows use for a path separator?</div></blockquote><div><br></div><div>semicolon</div><div><br></div><div>Maybe we could use either one as a separator, since semicolon is also used by the UNIX shell.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><blockquote type="cite"><div>On Nov 22, 2021, at 11:19 AM, Satish Balay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:</div><br><div><span style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Well our build tools use cygwin - but the library is built with MS/Intel compilers - they use paths in windows notation.</span><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">I'm not sure if there is a way to get windows PATHs without ':'<span> </span></span><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">Satish</span><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><span style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">On Mon, 22 Nov 2021, Matthew Knepley wrote:</span><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><blockquote type="cite" style="font-family:Helvetica;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">On Mon, Nov 22, 2021 at 10:36 AM Milan Pelletier <<br><a href="mailto:milan.pelletier@protonmail.com" target="_blank">milan.pelletier@protonmail.com</a>> wrote:<br><br><blockquote type="cite">Matt,<br>Thanks for the answer. I could fix my issue regarding unbalanced events -<br>and so SNES ex5 does work well too.<br>By the way, such imbalance does not trigger errors when log_view is using<br>plain ascii output, but it does fail when ascii_xml is used instead.<br><br></blockquote><br>Yes, we have a "failsafe" for the regular logging, but the XML is<br>specifically hierarchical and we do not know how to close it. We could take<br>another look at that.<br><br><br><blockquote type="cite">Unfortunately, regarding absolute paths, I had also tried to use cygwin<br>paths (`/cygdrive/c/...`) but that does not work either.<br><br></blockquote><br>Hmm, that should work I think. Satish, do we have a machine to login and<br>test something like this?<br><br> Thanks,<br><br>    Matt<br><br><br><blockquote type="cite">Best,<br>Milan<br><br>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br>Le lundi 22 novembre 2021 à 2:39 PM, Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>><br>a écrit :<br><br>On Mon, Nov 22, 2021 at 5:38 AM Milan Pelletier via petsc-users <<br><a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br><br><blockquote type="cite">Dear PETSc team,<br><br>The way some options are passed to PETSc can be an issue on Windows, in<br>particular regarding the "log_view" option.<br>Since the colon ':' character is used as a separator, I do not see how<br>absolute paths should be provided on Windows (since the drive name includes<br>a colon). Is there a trick / workaround to overcome this?<br><br></blockquote><br>I thought we used Cygwin paths, but maybe one of the Windows people knows<br>better.<br><br><br><blockquote type="cite">Besides, when I try to use the ascii_xml format, it crashes in file<br>xmllogevent.c, on line 751:<br> illegalEvent = 1+nestedEvents[nNestedEvents-1].nstEvent;<br>(since nestedEvents is NULL).<br><br></blockquote><br>This likely means that you have unbalanced events. I can run this on<br>examples. For instance does SNES ex5 work for you?<br><br> Thanks,<br><br>    Matt<br><br><br><blockquote type="cite">I'm using PETSc version 3.16.1 (using `git checkout tags/v3.16.1`).<br><br>Thanks for your help,<br>Best regards,<br>Milan Pelletier<br><br><br></blockquote><br>--<br>What most experimenters take for granted before they begin their<br>experiments is infinitely more interesting than any results to which their<br>experiments lead.<br>-- Norbert Wiener<br><br><a href="https://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br><<a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">http://www.cse.buffalo.edu/~knepley/</a>></blockquote></blockquote></div></blockquote></div><br></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>