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

Running wave_stat crashes with segmentation faults using the global-workflow build of gfs_utils #98

Open
sbanihash opened this issue Feb 10, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sbanihash
Copy link

sbanihash commented Feb 10, 2025

What is wrong?

To create wave ensemble stats for both gridded and point outputs, the wave_stat exec is called. Within the global workflow, build_gfs_utils.sh is used to create the wave_stat.x. Running wave_stat jobs that calls this executable keeps crashing with segmentation faults on both Hera and WCOSS2 (Have not tested on other machines)

Running scripts with the wave_stat that is built within the gefsv12 workflow (/lfs/h1/ops/prod/packages/gefs.v12.3.12/exec/wave_stat) does not crash and runs successfully on WCOSS2.

What should have happened?

Running a simple case for wave_stat should create mean, spread and probabilistic products (mean_out spread_out prob_out)

What machines are impacted?

All or N/A

Steps to reproduce

  1. Copy working directory with inputs from here: Dogwood: /lfs/h2/emc/couple/noscrub/saeideh.banihashemi/Dev_Work/gfs_utils/make_test
  2. Git clone https://github.com/NOAA-EMC/global-workflow.git
  3. git submodule update --init --recursive
  4. cd sorc
  5. build_gfs_utils.sh
  6. ./link_workflow.sh
  7. Go back to your work directory(copied from step one) and copy the wave_stat.x from global-workflow/exec directory to your work directory
  8. Edit the job.sh script paths and accounts then : qsub job.sh
  9. You will see the failure message in wave_stat.out
  10. Do the same thing but just copy wave_stat from the gefsv12 package in your work directory

cp /lfs/h1/ops/prod/packages/gefs.v12.3.12/exec/wave_stat wave_stat.x

  1. Run job.sh again and you would see that the wave_stat.out does not have any errors and grib2 outputs with correct values should be produced as:
    mean_out
    prob_out
    spread_out

To check my test for a failed(with g-w built version of wave_stat) and successful run(with ops version of wave_stat) please see here: (Dogwood)
Successful run: /lfs/h2/emc/couple/noscrub/saeideh.banihashemi/Dev_Work/gfs_utils/test_success/tmp_HTSGW/2019020404
Failed run: /lfs/h2/emc/couple/noscrub/saeideh.banihashemi/Dev_Work/gfs_utils/test_crash/tmp_HTSGW/2019020404

Additional information

All details have been provided above.

Do you have a proposed solution?

No response

@sbanihash sbanihash added the bug Something isn't working label Feb 10, 2025
@sbanihash
Copy link
Author

@DavidHuber-NOAA issue has been created. Steps to reproduce have been also provided. Thanks for your help.

@DavidHuber-NOAA DavidHuber-NOAA self-assigned this Feb 11, 2025
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

No branches or pull requests

2 participants