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

Questions regarding to run_cmake_test #1341

Closed
Jialunx opened this issue Jan 6, 2025 · 2 comments
Closed

Questions regarding to run_cmake_test #1341

Jialunx opened this issue Jan 6, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Jialunx
Copy link

Jialunx commented Jan 6, 2025

Hello WW3 team,

I am currently running WW3 to obatin the WRT source term given a custom input spectrum on a single grid point case.

I have created a bash code to run through “run_cmake_test” and am running the case by case (each spectrum corresponding to a single WRT term). However, I have noticed that the grid process in run_cmake_test” takes ~12 seconds for each run, which is significantly longer than running other modules.

When I run it over thousands of times, “ww3_grid.out” (similar settings to ww3_ts1) can take the majority of the time to run, despite the settings remaining the same. I am wondering if there is any way to utilize the same ww3_grid.out without rerunning it or if there is any alternative methods to reduce the computation time.

I have attached my running record for your references:
WW3 running record.pdf

Thank you very much for your help.
Eric

@Jialunx Jialunx added the bug Something isn't working label Jan 6, 2025
@Jialunx Jialunx changed the title questions regard run_cmake_test Questions regarding to run_cmake_test Jan 6, 2025
@JessicaMeixner-NOAA
Copy link
Collaborator

Hi @Jialunx

You can only run specific programs when using run_cmake_test using the -q program and say only run ww3_shel for example. You'll need to make sure your mod_def is in your test directory though.

Another option would be to just run other scripts and not use run_cmake_test.

@Jialunx
Copy link
Author

Jialunx commented Jan 6, 2025

Hi @Jialunx

You can only run specific programs when using run_cmake_test using the -q program and say only run ww3_shel for example. You'll need to make sure your mod_def is in your test directory though.

Another option would be to just run other scripts and not use run_cmake_test.

Thank you very much for your help!

@Jialunx Jialunx closed this as completed Jan 6, 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