Skip to content

Update cylcache #16

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Update cylcache #16

wants to merge 10 commits into from

Conversation

The9Cat
Copy link
Member

@The9Cat The9Cat commented May 25, 2025

Begin work for deprecation of cylcache

Turns out that we already had a script to make a basis using mpi4py. This PR does the following:

  • Renames to create cylinder cache. We could call this cylcache, optionally
  • Adds an option parser (argparse) which allows the user to get a YAML template and reads a YAML config
  • Cleans up the MPI interface for printing help info, etc.
  • Provides a simple example of running with mpirun in the help documentation

The routine and its options has been tested.

To Do

  • Is the name okay?
  • Do we need different options? I think that the YAML config should cover all the bases since all that's really happening is invoking the constructor.

@The9Cat
Copy link
Member Author

The9Cat commented Jun 4, 2025

Updated the create cylinder basis to work as an executable with optional YAML config file as input.

@The9Cat
Copy link
Member Author

The9Cat commented Jun 4, 2025

We could rename create cylinder basis to cylcache, if we think that would help...

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