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

Feature request: inclusion of a hook in muscle_manager to call a user supplied script before starting the run #296

Open
DavidPCoster opened this issue May 4, 2024 · 0 comments

Comments

@DavidPCoster
Copy link
Contributor

It would be useful to have such a hook to, for instance

  • save the command line supplied to muscle_manager
  • perform some book keeping (saving some files in a sub-directory of the run directory)

It would be necessary to agree what information was supplied to the user supplied script, and how this was done.

My suggestion if for muscle_manager to store information in environment variables. My suggestions would be

MUSCLE_MANAGER_COMMAND_LINE
MUSCLE_MANAGER_RUN_DIRECTORY

I also suggest that it would be best if the hook occurred after configuration.ymmsl was written, and before the programs to be launched are started.

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

1 participant