-
Notifications
You must be signed in to change notification settings - Fork 11
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
Yaml parsing errors with esm4.yaml #173
Comments
This is being addressed in PR #168. Once that is merged in, we can try It should combine yamls necessary for compilation (model, compile, and platform yaml), parse, and create a checkout script |
Hi @singhd789, I see that PR #168 has been merged... should I give the fre make command you referenced above a try with the new code? |
Hi @GFDL-Eric, Currently the fre-cli auto-deployment in the fre/canopy module might not be working but you can still give the fre make command a go if you want! In order to get the more up-to-date fre-cli commands that were merged in, you can create your own conda environment.
It might take a bit to build but to check if the fre-cli commands work, you can do (esm 4.2 yaml examples: https://github.com/NOAA-GFDL/fre-cli/tree/main/fre/make/tests/ESM4_example) If you give it a try, let me know of any other issues you see, questions or any next steps you're thinking to give a try. |
Dana beat me to it. Yes, give it a try. The conda env remove --name fre-cli --yes conda create --name fre-cli fre-cli -c noaa-gfdl To convince yourself, see the log file that should have done it: /home/fms/log.update-fre-cli That "conda create" will use the latest conda package auto-deployed to the 'noaa-gfdl' channel, which this repo's CI builds and uploads each push to main. This has traditionally been more reliable than the crontab but may not work sometimes. https://anaconda.org/NOAA-GFDL/fre-cli You can always install it yourself with those commands or the ones Dana suggested. |
@GFDL-Eric Just FYI first, With the ESM 4.2 yamls Ryan created, there are just slight formatting updates that should be used/merged. There's a open mr now (#200) |
@ceblanton just to confirm that the auto-deployment is not available on Gaea, correct? I see fre-cli 0.1.6 there while I see fre-cli 2024.01 on analysis after doing |
You're right- the auto-deployment on gaea is definitely not presently working. The problem is that the scrontab job runs out of memory and I didn't yet try the probable solution yet, which is to request more cores. The gfdl autodeployer has been much more reliable since I simplified it to blow away the entire environment and recreate each time. Anything less (updating or uninstalling and reinstalling) fails sometimes due to conda conflicts. I'll give the gaea auto-deployment a fresh try now, thank you for the nudge. |
I'm now able to generate a compile script! I haven't tested actual compilation, however, as there are several "variables" in the MOM compile that need to be adjusted. Specifically, the MOM6_GIT_FIX_TAG and OCEAN_BGC_GIT_TAG aren't able to be passed to the |
Yes, a new issue makes sense to me as it's no longer a parsing problem is it? Plus, this issue is closed, though it's nice that github still notifies us. PS. the gaea autodeployment of fre-cli updates to fre/canopy should be fixed now that you've mastered your own installation :) |
Sounds good. Forgot to add, I was using the auto-deployment on gaea today for this. Thanks for fixing that! |
Describe the bug
I'm using the fre/canopy module on Gaea.
I'm attempting to create a checkout script with the following code:
fre make create-checkout -npc -y esm4.yaml -t "prod openmp" -p ncrc5.intel23
I get the following error:
if I comment out that directories section to eliminate the name issue, I get this error:
The files are from this directory:
https://github.com/NOAA-GFDL/fre-cli/blob/main/fre/make/tests/ESM4_example/
To Reproduce
Load the fre/canopy module on Gaea, navigate to that directory after git cloning, and run the aforementioned command.
Expected behavior
A checkout script is generated.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: