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

run_neon --setup-only is ignored #2885

Closed
samsrabin opened this issue Nov 18, 2024 · 2 comments · Fixed by #2963
Closed

run_neon --setup-only is ignored #2885

samsrabin opened this issue Nov 18, 2024 · 2 comments · Fixed by #2963
Labels
bfb bit-for-bit bug something is working incorrectly

Comments

@samsrabin
Copy link
Collaborator

Brief summary of bug

run_neon --setup-only option is ignored.

General bug information

CTSM version you are using: ctsm5.3.012

Does this bug cause significantly incorrect results in the model's science? No

Configurations affected: All

Details of bug

The following patch fixes it:

diff --git a/python/ctsm/site_and_regional/neon_site.py b/python/ctsm/site_and_regional/neon_site.py
index 70414d9e5..ced4c4c64 100755
--- a/python/ctsm/site_and_regional/neon_site.py
+++ b/python/ctsm/site_and_regional/neon_site.py
@@ -47,7 +47,8 @@ class NeonSite(TowerSite):
             user_mods_dirs = [
                 os.path.join(self.cesmroot, "cime_config", "usermods_dirs", "NEON", self.name)
             ]
-        case_path = super().build_base_case(cesmroot, output_root, res, compset, user_mods_dirs)
+        case_path = super().build_base_case(cesmroot, output_root, res, compset, user_mods_dirs,
+                                            setup_only=setup_only)

         return case_path

Important details of your setup / configuration so we can reproduce the bug

Tested on Derecho.

# Running this continues through the build step, but --setup-only means it shouldn't
python tools/site_and_regional/run_neon --neon-sites ABBY --setup-only

Important output or errors that show the problem

---- building a base case -------
/glade/work/samrabin/ctsm_anping_lecture/ABBY
Removing the existing case at: /glade/work/samrabin/ctsm_anping_lecture/ABBY
---- creating a base case -------
---- base case created ------
---- base case setup ------
---- base case build ------
--- This may take a while and you may see WARNING messages ---
WARNING: No .input_data_list files found in dir 'Buildconf'
...
@samsrabin samsrabin added the bug something is working incorrectly label Nov 18, 2024
@ekluzek ekluzek added this to the ctsm6.0.0 (code freeze) milestone Dec 13, 2024
@ekluzek ekluzek added the bfb bit-for-bit label Dec 13, 2024
@ekluzek
Copy link
Collaborator

ekluzek commented Dec 13, 2024

Ran into this again working on ctsm5.3.015. And I see a similar problem with overwrite as well.

@samsrabin
Copy link
Collaborator Author

I see a similar problem with overwrite as well.

Yep, that's #2884.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bfb bit-for-bit bug something is working incorrectly
Projects
None yet
2 participants