Skip to content

Parallelize rhs - #2562

Merged
visr merged 9 commits into
mainfrom
thread
Sep 8, 2025
Merged

Parallelize rhs#2562
visr merged 9 commits into
mainfrom
thread

Conversation

@verheem

@verheem verheem commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@verheem
verheem requested a review from visr September 8, 2025 11:24
@verheem
verheem marked this pull request as ready for review September 8, 2025 11:28
@visr visr mentioned this pull request Sep 8, 2025
4 tasks
@visr

visr commented Sep 8, 2025

Copy link
Copy Markdown
Member

Perhaps as a way of documentation we should copy-paste the new ribasim --help output in https://ribasim.org/install.html#sec-install-core, to replace the current error: the following required arguments were not provided:, which is not very pretty.

Since we don't really have a better place to document the CLI at the moment.

Great to have this feature!

@visr
visr merged commit 8063c06 into main Sep 8, 2025
11 of 12 checks passed
@visr
visr deleted the thread branch September 8, 2025 15:40
visr added a commit that referenced this pull request Sep 9, 2025
This is optimistically targeting a release date of tomorrow, and already
includes these assuming the will be in the release.

- [ ] #2564
- [ ] #2562
- [ ] #2544
- [ ] #2542
visr added a commit that referenced this pull request Sep 9, 2025
I should've triggered the CLI tests manually on #2562.

It failed with
```
thread 'main' panicked at src/main.rs:50:55:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

The problem was that when neither `--threads` nor `JULIA_NUM_THREADS`
was set, it tried to unwrap `cli.threads` which was none.

This avoids that case and adds some tests.
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.

3 participants