Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated checks error on windows-latest (julia 1.8 and 1.9) #55

Open
Joroks opened this issue Jul 1, 2024 · 2 comments
Open

Automated checks error on windows-latest (julia 1.8 and 1.9) #55

Joroks opened this issue Jul 1, 2024 · 2 comments

Comments

@Joroks
Copy link
Collaborator

Joroks commented Jul 1, 2024

I was able to fix test execution for julia 1.11 by removing unused test-dependencies. However I wasn't able to reproduce the errors for windows-latest (julia 1.8 and 1.9) and I don't know what's causing them.

@vchuravy
Copy link
Member

vchuravy commented Jul 1, 2024

So Windows memory management is wild and they essentially run a weak form of Valgrind all the time. So there is likely a use after free somewhere. Either in the wrapper or in Lammps itself.

@Joroks
Copy link
Collaborator Author

Joroks commented Jul 1, 2024

Ok I was now able to reproduce the error. It seems to be caused by the environment variable "OMP_NUM_THREADS" not being set. If I either don't set that variable or set it to "1", issuing a run command will cause the error. If I set it to "2" or higher, it doesn't error.

I can also only get it to error when running the pgk"test". It doesn't happen when I include the runtests.jl file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants