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

Add a --force-checkout and --force-compile to fre make #221

Open
uramirez8707 opened this issue Oct 28, 2024 · 0 comments
Open

Add a --force-checkout and --force-compile to fre make #221

uramirez8707 opened this issue Oct 28, 2024 · 0 comments

Comments

@uramirez8707
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Add a --force-checkout and --force-compile to fre make

Currently there is no way to regenerate the checkout script without manually removing it.

If you attempt that, you will get:

fre make create-checkout -y am5.yaml -p ncrc5.intel23 -t prod-openmp
Combining yaml files: 
   model yaml: am5.yaml
   compile yaml: compile.yaml
   platforms yaml: platforms.yaml
Combined yaml located here: /combined-am5.yaml

COMBINED YAML VALID

Checkout script PREVIOUSLY created in /ncrc/home1/Uriel.Ramirez/fremake_canopy/test/am5f8d0r1_compile/src/checkout.sh 

Describe the solution you'd like
Add a --force-compile and --force-checkout option to fre make similarly to how it works in fre/bronx.

Describe alternatives you've considered
N/A

Additional context
N/A

singhd789 added a commit that referenced this issue Nov 6, 2024
singhd789 added a commit that referenced this issue Nov 26, 2024
singhd789 added a commit that referenced this issue Nov 27, 2024
singhd789 added a commit that referenced this issue Nov 27, 2024
singhd789 added a commit that referenced this issue Dec 4, 2024
singhd789 added a commit that referenced this issue Dec 4, 2024
singhd789 added a commit that referenced this issue Dec 4, 2024
- code was repeated if `--force-compile` was used
singhd789 added a commit that referenced this issue Dec 4, 2024
- code was repeated if `--force-checkout`, `--force-compile` or `--force-dockerfile` was used
singhd789 added a commit that referenced this issue Dec 4, 2024
singhd789 added a commit that referenced this issue Dec 4, 2024
- code would be duplicated if `--force-dockerfile` option is used
singhd789 added a commit that referenced this issue Dec 5, 2024
singhd789 added a commit that referenced this issue Dec 5, 2024
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