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

MKSURFDATAESMF build fails in cesm2_3_alpha17d and cesm2_3_alpha17e testing #2519

Closed
ekluzek opened this issue May 3, 2024 · 2 comments · Fixed by #2501
Closed

MKSURFDATAESMF build fails in cesm2_3_alpha17d and cesm2_3_alpha17e testing #2519

ekluzek opened this issue May 3, 2024 · 2 comments · Fixed by #2501
Assignees
Labels
priority: Immediate Highest priority, something that was unexpected type: bug something is working incorrectly

Comments

@ekluzek
Copy link
Contributor

ekluzek commented May 3, 2024

Brief summary of bug

@fischer-ncar ran into this problem in both cesm2_3_alpha17d and cesm2_3_alpha17e testing. Since, this worked for us in ctsm5.2.0 it must be the difference in externals.

General bug information

CTSM version you are using: ctsm5.2.0

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

Configurations affected: just mksurfdata_emsf

Details of bug

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

In both cesm2_3_beta17d and cesm2_3_beta17e

Important output or errors that show the problem

PEND MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel SHAREDLIB_BUILD RERUN
 ---------------------------------------------------
2024-05-02 15:27:44: Exception during build:
Command '/glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/tools/mksurfdata_esmf/gen_mksurfdata_build --blddir /glade/derecho/scratch/fischer/t/cesm2_3_alpha17e_i/MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel.GC.c2_3_a17e_int/tool_bld' returned non-zero exit status 1. ERROR RUNNING /glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/tools/mksurfdata_esmf/gen_mksurfdata_build DETAILS IN /glade/derecho/scratch/fischer/t/cesm2_3_alpha17e_i/MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel.GC.c2_3_a17e_int/TestStatus.log

Traceback (most recent call last):
  File "/glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/cime_config/SystemTests/mksurfdataesmf.py", line 91, in build_phase
subprocess.check_call(f"{build_script_path} --blddir {self._tool_bld}", shell=True)
  File "/glade/u/apps/derecho/23.09/opt/._view/dmewvyohndr7lajyom5grftguonqfbdr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/tools/mksurfdata_esmf/gen_mksurfdata_build --blddir /glade/derecho/scratch/fischer/t/cesm2_3_alpha17e_i/MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel.GC.c2_3_a17e_int/tool_bld' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/glade/u/home/fischer/code/cesm2_3_alpha17e/cime/CIME/SystemTests/system_tests_common.py", line 191, in build
self.build_phase(
  File "/glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/cime_config/SystemTests/mksurfdataesmf.py", line 94, in build_phase
sys.exit(
SystemExit: Command '/glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/tools/mksurfdata_esmf/gen_mksurfdata_build --blddir /glade/derecho/scratch/fischer/t/cesm2_3_alpha17e_i/MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel.GC.c2_3_a17e_int/tool_bld' returned non-zero exit status 1. ERROR RUNNING /glade/u/home/fischer/code/cesm2_3_alpha17e/components/clm/tools/mksurfdata_esmf/gen_mksurfdata_build DETAILS IN /glade/derecho/scratch/fischer/t/cesm2_3_alpha17e_i/MKSURFDATAESMF_P128x1.f10_f10_mg37.I1850Clm50BgcCrop.derecho_intel.GC.c2_3_a17e_int/TestStatus.log
@ekluzek ekluzek added type: bug something is working incorrectly priority: Immediate Highest priority, something that was unexpected labels May 3, 2024
@ekluzek ekluzek added this to the cesm2_3_beta17 milestone May 3, 2024
@ekluzek ekluzek self-assigned this May 3, 2024
@ekluzek
Copy link
Contributor Author

ekluzek commented May 3, 2024

Looks like the main problem is that the test assumes a CTSM checkout and needs to be updated to work in a CESM checkout.

@ekluzek
Copy link
Contributor Author

ekluzek commented May 8, 2024

The namelist generation also fails for similar reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: Immediate Highest priority, something that was unexpected type: bug something is working incorrectly
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant