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

Fix line277 check icond.f90 #504

Closed
wants to merge 3 commits into from
Closed

Conversation

iamhappytoo
Copy link
Contributor

Make sure all the relevant boxes are checked (and only check the box if you actually completed the step):

  • closes #xxx (identify the issue associated with this PR)
  • tests passed
  • new tests added
  • science test figures
  • checked that the new code conforms to the SUMMA coding conventions
  • ReleaseNotes entry

arbennett and others added 3 commits May 28, 2021 16:42
Bugfixes and minor improvements
Fix: Changed part "(a,1x,i0)" to "(a,1x,i0,a,f5.3,a,f5.3)" in check_icond.f90 line 277 to print out error correctly.
Before the fix, summa initial condition check (check_icond.f90) error print format does not comply with the transferred input, failed to print out the error message, with the warning: "Fortran runtime error: Expected INTEGER for item 4 in formatted transfer, got REAL"
After the fix, summa can successfully print out the error message.
@iamhappytoo iamhappytoo mentioned this pull request Mar 2, 2022
6 tasks
@wknoben wknoben changed the base branch from master to develop March 14, 2022 18:59
@wknoben
Copy link
Collaborator

wknoben commented Mar 14, 2022

Hi Zhaoxin, thanks for the update. Can I ask you for one more small change?

We prefer to merge new changes into the development branch and keep the master branch for stable releases only. When I tried to change the target branch of this PR it seems we have small merge conflict going on, and also an extra commit that we do not need in this PR.

Fixing this would require:

  1. Making sure your local copy has the correct remote set: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork Typically you would call this remote upstream and have it point to https://github.com/CH-Earth/summa
  2. Update your local copy of the develop branch to match the version that is available here: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork You'll probably want the text under the header Syncing a fork from the command line and replace their use of the main branch with our develop.
  3. Make sure your changes are still present and either update this PR or make a new one (I'm a bit unsure about what will work here)

@iamhappytoo
Copy link
Contributor Author

iamhappytoo commented Mar 15, 2022 via email

@wknoben
Copy link
Collaborator

wknoben commented Mar 15, 2022

No problem,thanks for the new PR. I'll close this one and we'll take it from there

@wknoben wknoben closed this Mar 15, 2022
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.

3 participants