Skip to content

add terse support to --missing-modules#4407

Merged
boegel merged 3 commits intoeasybuilders:developfrom
Flamefire:terse-missing-modules
Apr 3, 2024
Merged

add terse support to --missing-modules#4407
boegel merged 3 commits intoeasybuilders:developfrom
Flamefire:terse-missing-modules

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Dec 19, 2023

It is useful to have the missing modules in a format that can be processed in a script, i.e. one EC name per line.
So allow --terse in combination with --missing-modules.

@boegel I needed to adjust the early-exit to not exit for this case. Can you think of any situation where this might be an issue?

Example use case I wanted to have: eb $(eb PyTorch-2.1.0-foss-2022a.eb -M --terse | grep -v PyTorch) -r to install all missing dependencies.

It is useful to have the missing modules in a format that can be
processed in a script, i.e. one EC name per line.
So allow `--terse` in combination with `--missing-modules`.
@Flamefire
Copy link
Copy Markdown
Contributor Author

Any news here? I just used this as eb $(eb --from-pr 19722,19723 -M --terse | grep -v TAMkin | grep -v molmod) -r which I find very useful

@boegel
Copy link
Copy Markdown
Member

boegel commented Apr 3, 2024

@Flamefire I took a quick look at this, and while I'm certainly all for improving the output of --missing-modules when combined with --terse, there are more (seemingly unrelated) changes in here that make reluctant to merge this.

Comment thread easybuild/main.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants