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

Fixing RegTest for Terrain #1291

Merged
merged 6 commits into from
Oct 15, 2024
Merged

Fixing RegTest for Terrain #1291

merged 6 commits into from
Oct 15, 2024

Conversation

hgopalan
Copy link
Contributor

Summary

Broke the previous PR trying to rebase. Clean RegTest

Pull request type

Please check the type of change introduced:

  • [ X] Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Checklist

The following is included:

  • new unit-test(s)
  • new regression test(s)
  • documentation for new capability

This PR was tested by running:

  • the unit tests
    • on GPU
    • on CPU
  • the regression tests
    • on GPU
    • on CPU

Issue Number: #1289

@hgopalan hgopalan linked an issue Oct 15, 2024 that may be closed by this pull request
@hgopalan hgopalan requested a review from marchdf October 15, 2024 00:24
@marchdf marchdf changed the title Fixing RegTest for Terrain - Previous PR broke Fixing RegTest for Terrain Oct 15, 2024
@marchdf
Copy link
Contributor

marchdf commented Oct 15, 2024

Here's what I am seeing:

  • Looks like the terrain_box issue is fixed, except I am seeing:
Unused ParmParse Variables:
  [TOP]::DragForcing.verificationMode(nvals = 1)  :: [1]

Could you remove that line from test/test_files/terrain_box/terrain_box.inp ?

  • nrel_terrain looks like it is using a restart:
Initializing I/O manager
Restarting from checkpoint ../nrel_precursor/chk02000
terminate called after throwing an instance of 'std::runtime_error'
  what():  Couldn't open file: ../nrel_precursor/chk02000/Header
SIGABRT
See Backtrace.0 file for details

Can you remove the restart line from that input file?

Thanks!!

Copy link
Contributor

@marchdf marchdf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor edits requested, see my comment.

@hgopalan
Copy link
Contributor Author

The regtests ran in less than a minute on 10 procs locally.

@marchdf
Copy link
Contributor

marchdf commented Oct 15, 2024

Not quite there:

Restarting from checkpoint ../nrel_precursor/chk00010

WARNING: The following fields were missing in the restart file for one or more levels. Please check your restart file and inputs.
Missing checkpoint fields:
  - terrain_height
  - terrainz0

Grid summary:
  Level 0   30 grids  798720 cells  100 % of domain
            smallest grid: 16 x 28 x 32  biggest grid: 32 x 32 x 32

Shear Stress model: local
Heat Flux model: local
terminate called after throwing an instance of 'std::runtime_error'
  what():  Assertion `(m_in_times[0] <= time) && (time < m_in_times.back())' failed, file "/mnt/vdb/home/mhenryde/exawind/exawind-manager/environments/amr-wind-cpu-test/amr-wind/amr-wind/wind_energy/ABLBoundaryPlane.cpp", line 763
SIGABRT
terminate called after throwing an instance of 'std::runtime_error'
  what():  Assertion `(m_in_times[0] <= time) && (time < m_in_times.back())' failed, file "/mnt/vdb/home/mhenryde/exawind/exawind-manager/environments/amr-wind-cpu-test/amr-wind/amr-wind/wind_energy/ABLBoundaryPlane.cpp", line 763
SIGABRT
terminate called after throwing an instance of 'std::runtime_error'
  what():  Assertion `(m_in_times[0] <= time) && (time < m_in_times.back())' failed, file "/mnt/vdb/home/mhenryde/exawind/exawind-manager/environments/amr-wind-cpu-test/amr-wind/amr-wind/wind_energy/ABLBoundaryPlane.cpp", line 763
SIGABRT
terminate called after throwing an instance of 'std::runtime_error'
  what():  Assertion `(m_in_times[0] <= time) && (time < m_in_times.back())' failed, file "/mnt/vdb/home/mhenryde/exawind/exawind-manager/environments/amr-wind-cpu-test/amr-wind/amr-wind/wind_energy/ABLBoundaryPlane.cpp", line 763
SIGABRT
See Backtrace.1 file for details
See Backtrace.2 file for details
See Backtrace.3 file for details
See Backtrace.0 file for details

@marchdf
Copy link
Contributor

marchdf commented Oct 15, 2024

Everything runs to completion now.

@marchdf marchdf enabled auto-merge (squash) October 15, 2024 18:48
@marchdf marchdf merged commit d793046 into Exawind:main Oct 15, 2024
15 checks passed
@hgopalan hgopalan deleted the terrain-regtest branch December 29, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failing terrain_box and nrel_terrain reg tests
2 participants