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

New ModelArrayRef #250

Merged
merged 98 commits into from
Oct 27, 2023
Merged

New ModelArrayRef #250

merged 98 commits into from
Oct 27, 2023

Conversation

timspainNERSC
Copy link
Collaborator

Will close #249

@timspainNERSC timspainNERSC marked this pull request as ready for review September 25, 2023 12:41
@timspainNERSC timspainNERSC changed the title WIP: New ModelArrayRef New ModelArrayRef Sep 25, 2023
@einola einola added the priority We need to do this ASAP label Oct 6, 2023
@TomMelt
Copy link
Contributor

TomMelt commented Oct 9, 2023

ICCS won't be able to meaningfully review this PR but the plan is to go ahead with the merge and rely on comprehensive integration tests (part of Milestone 2) to verify the correctness of this branch. After this branch is merged into develop we want the remaining features e.g., MPI and XIOS to be based off of the develop branch.

Going forward the aim is to keep features branches small and self-contained so that they can be merged back into develop in a timely fashion.

Copy link
Contributor

@TomMelt TomMelt left a comment

Choose a reason for hiding this comment

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

approved on basis of my previous comment. The code has not been reviewed but we will use the next milestone (adding integration tests) to verify the "correctness" of this branch.

@MarionBWeinzierl
Copy link
Contributor

MarionBWeinzierl commented Oct 11, 2023

Just to flag: When running run_simple_example, this branch gives a

double free or corruption (out) 
Aborted (core dumped) 

error. Similarly, after the rebase in #331, that branch gives the same error, while commit a5e4b77 is fine. Trying the develop branch with the same test script gives a Segmentation fault (core dumped)

@TomMelt
Copy link
Contributor

TomMelt commented Oct 16, 2023

@timspainNERSC when you are back, can we fix the simple example scripts e.g. run_simple_example.sh. They do not run on this branch.

@timspainNERSC
Copy link
Collaborator Author

timspainNERSC commented Oct 23, 2023

@timspainNERSC when you are back, can we fix the simple example scripts e.g. run_simple_example.sh. They do not run on this branch.

Interestingly, run_simple_example.sh does run on my computer, but only produces 1x30 output. Which it really shouldn't.

In what way do they not run? Segmentation fault? NetCDF error?

@TomMelt
Copy link
Contributor

TomMelt commented Oct 24, 2023

@timspainNERSC I recommend compiling with these flags -g -fsanitize=address -fno-omit-frame-pointer to see if there are any memory errors. This should help find them.

Also you can try running the code in gdb. when it crashes you can type command bt to get a backtrace. Happy to meet this week to discuss in more detail.

@MarionBWeinzierl
Copy link
Contributor

With #425 being merged, do I understand it correctly that now #383 needs to be merged, and then this PR will be merged and upcoming problems solved as they come up? Or are we waiting for another issue/PR?

This was referenced Oct 27, 2023
@timspainNERSC
Copy link
Collaborator Author

With #425 being merged, do I understand it correctly that now #383 needs to be merged, and then this PR will be merged and upcoming problems solved as they come up? Or are we waiting for another issue/PR?

I have just been through the priority PRs and marked their dependencies. As of today, this PRs #250 (this), #383 and #394 are able to be reviewed and merged. This is the most important as it impacts so much of the rest of the code.

@timspainNERSC timspainNERSC merged commit d8feea3 into develop Oct 27, 2023
3 checks passed
timspainNERSC added a commit that referenced this pull request Oct 31, 2023
Add a class to provide uniform ocean boundary data which can be set in
the code at compile time. Will close #256

~Draft until the MAR3 PR (#250) is merged.~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority We need to do this ASAP
Projects
Development

Successfully merging this pull request may close these issues.

Improving ModelArrayRef
5 participants