<div dir="ltr"><div dir="ltr">On Mon, Nov 22, 2021 at 1:31 PM Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</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">Ah yes..<br>
<br>
PATH=C:\cygwin64\usr\local\bin;C:\cygwin64\bin;C:\cygwin64\bin;C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2020.2.254\windows\mpi\intel64\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64_win\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\compiler;C:\Program Files\Microsoft MPI\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\cygwin64\lib\lapack<br></blockquote><div><br></div><div>The user would be responsible for escaping the semicolon if used in the shell unfortunately.</div><div><br></div><div> Thanks,</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">
Satish<br>
<br>
<br>
On Mon, 22 Nov 2021, Matthew Knepley wrote:<br>
<br>
> On Mon, Nov 22, 2021 at 11:57 AM Barry Smith <<a href="mailto:bsmith@petsc.dev" target="_blank">bsmith@petsc.dev</a>> wrote:<br>
> <br>
> ><br>
> > What does Windows use for a path separator?<br>
> ><br>
> <br>
> semicolon<br>
> <br>
> Maybe we could use either one as a separator, since semicolon is also used<br>
> by the UNIX shell.<br>
> <br>
> Matt<br>
> <br>
> <br>
> > On Nov 22, 2021, at 11:19 AM, Satish Balay via petsc-users <<br>
> > <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br>
> ><br>
> > Well our build tools use cygwin - but the library is built with MS/Intel<br>
> > compilers - they use paths in windows notation.<br>
> ><br>
> > I'm not sure if there is a way to get windows PATHs without ':'<br>
> ><br>
> > Satish<br>
> ><br>
> > On Mon, 22 Nov 2021, Matthew Knepley wrote:<br>
> ><br>
> > 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>
> > 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>
> ><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>
> > Unfortunately, regarding absolute paths, I had also tried to use cygwin<br>
> > paths (`/cygdrive/c/...`) but that does not work either.<br>
> ><br>
> ><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>
> > 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>
> > 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>
> ><br>
> > I thought we used Cygwin paths, but maybe one of the Windows people knows<br>
> > better.<br>
> ><br>
> ><br>
> > 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>
> ><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>
> > 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>
> ><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/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br>
> > <<a href="http://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">http://www.cse.buffalo.edu/~knepley/</a>><br>
> ><br>
> ><br>
> ><br>
> <br>
> <br>
</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>