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

cpld_control_wave test does not have waves turned on -> OCN; run fails if waves->OCN is on #913

Closed
DeniseWorthen opened this issue Nov 13, 2021 · 3 comments · Fixed by #911
Labels
bug Something isn't working

Comments

@DeniseWorthen
Copy link
Collaborator

DeniseWorthen commented Nov 13, 2021

Description

The cpld_control_wave test was added in PR #379 (6a4c307). At that time, it did not use the setting MOM6_USE_WAVES=True. The basic test remained unchanged at PR #765 (4e7a72e) when it was updated to the P7 configuration and renamed cpld_control_wave_p7.

Setting MOM6_USE_WAVES=True causes the cpld_control_wave_p7 test to fail with a seg fault.

To Reproduce:

Run the cpld_control_wave_p7 from the current develop branch. The run succeeds. Examining the PET logs for the Ocn (eg. PET160) shows that none of the partitioned stokes drift components are connected as imports to the ocean. The INPUT/MOM_input setting for USE_WAVES is set to False.

Copy the run directory into a test directory and change the variable USE_WAVES to True. Submit the job. The PET160 log shows that Ocn is expecting the stokes drift components as imports (they are connected). However, the run fails with the following:

199: forrtl: severe (174): SIGSEGV, segmentation fault occurred
199: Image              PC                Routine            Line        Source
199: fv3.exe            000000000512812C  Unknown               Unknown  Unknown
199: libpthread-2.17.s  00002AC257F50630  Unknown               Unknown  Unknown
199: fv3.exe            0000000001D54926  w3iogomd_mp_calc_        4017  w3iogomd.F90
199: libiomp5.so        00002AC256660A43  __kmp_invoke_micr     Unknown  Unknown
199: libiomp5.so        00002AC2566242C6  __kmp_fork_call       Unknown  Unknown
199: libiomp5.so        00002AC2565E3BB0  __kmpc_fork_call      Unknown  Unknown

Run directories are located /scratch1/NCEPDEV/stmp2/Denise.Worthen/FV3_RT/wave_test_bug/turn_waves_on

@DeniseWorthen DeniseWorthen added the bug Something isn't working label Nov 13, 2021
@JessicaMeixner-NOAA
Copy link
Collaborator

@DeniseWorthen I actually ran into this same problem last night when I tried to change that in the defaults. The solution is to add:
&OUTS USSP = 1, IUSSP = 3, STK_WN = 0.04, 0.110, 0.3305 /
to the ww3_grid.inp input files, which will require a new input directory which is currently staged here:
/scratch1/NCEPDEV/nems/emc.nemspara/RT/NEMSfv3gfs/input-data-20210930/WW3_input_data_20211113
I plan to include this in PR#911 just have a few more non-wave tests that are breaking due to the changed defaults to sort out before I merge all my changes back to that branch and that PR is ready.

@SMoorthi-emc
Copy link
Contributor

SMoorthi-emc commented Nov 14, 2021 via email

@DeniseWorthen
Copy link
Collaborator Author

The low resolution (1 deg) configuration uses a different grid file than the higher resolution (1/2deg) used with the 1/4 deg ocean resolution. The cpld_bmark_p7 runs fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants