jlchan / StartUpDG.jl

Initializes and sets up reference elements and physical meshes for DG.
MIT License
28 stars 9 forks source link

Gmsh tests failing on Windows 10 #51

Closed cgt3 closed 1 year ago

cgt3 commented 1 year ago

Gmsh testset encounters the error:

Got exception outside of a @test
 IOError: unlink("stderr.txt"): resource busy or locked (EBUSY)

when run on a Windows 10 Enterprise. This error was encountered by another group here.

jlchan commented 1 year ago

@masonamccallum I think this is due to the output of your tests being piped to stderr.txt. Would you mind seeing if that can be removed? You should be able to save the outfit stream and manipulate it directly and Julia.

masonamccallum commented 1 year ago

I have submitted a pull request to resolve the issue. Is it easy to add windows to the CI to prevent this sort of thing? If so we could add it before the pull request is accepted. Otherwise I will spin up a docker instance this evening to make sure windows is happy now.

jlchan commented 1 year ago

Thank you for the PR! I think it's easy to add another platform - let me look into that later today (giving a seminar now)

jlchan commented 1 year ago

I updated ci.yml; let me see if this works for your PR

jlchan commented 1 year ago

After a few tries on the CI, looks like it works and runs windows x64 now! Thanks again @masonamccallum for the quick fix, and @cgt3 for catching this.