8000 Fix #267: -gpu flag ignored when running multiple input scripts by JonathanMaes · Pull Request #373 · mumax/3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix #267: -gpu flag ignored when running multiple input scripts #373

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

Merged
merged 3 commits into from
Jun 24, 2025

Conversation

JonathanMaes
Copy link
Contributor

As reported in #267, running a command like mumax3 -gpu=0 script1.mx3 script2.mx3 on a system with multiple GPUs would run both scripts in parallel, each on a different GPU, despite the -gpu=0 flag.

This PR fixes this unintuitive behaviour of the -gpu flag. The aforementioned command will now run both scripts sequentially on GPU 0.

@JonathanMaes JonathanMaes requested a review from JLeliaert June 19, 2025 14:55
@JonathanMaes JonathanMaes merged commit 3af1a55 into 3.11.1 Jun 24, 2025
@JonathanMaes JonathanMaes deleted the bugfix/GPUflag branch June 24, 2025 14:21
@JonathanMaes JonathanMaes mentioned this pull request Jun 24, 2025
3 tasks
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

Successfully merging this pull request may close these issues.

1 participant
0