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