-
Notifications
You must be signed in to change notification settings - Fork 25
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
prototype indent for hamocc using emacs #302
Conversation
Dear @mvertens , let us know, once you consider the PR as fully ready (since you added further commits, I am not sure about the status). |
I did my first pass to have indented files and all files be modules yesterday. RMS dissic13lvl 3.9152E-12 NORMALIZED 1.6434E-10 I then compared master to the baselines - and the same tests failed. So somewhere along the line these three variables changed answers. I'm not sure if this is expected or not. But it would be good to document this. |
Also - having the subroutine be upper case is making the routines look a bit odd - since use statements don't have upper case in them for the subroutines - so this leads to a bit of inconsistency. Same with the modules. Can I suggest that we back out this requirement? |
Also - I did push back my branch to the blom noresmhub repo - feature/emacs_indent_hamocc. |
@jmaerz - my baselines were from Oct. 20. |
Wrt capitalization of subroutine and modules: that can be postponed and achieved later (changed easily). |
@jmaerz - you are not being picky. My master contains the latest master. My changes are bfb with the master. But the master is not bit-for-bit with the baseline from oct. 20. It looks like those answer changes are expected. |
@jmaerz - thanks. I don't think we have a problem. |
hamocc/meson.build
Outdated
'mo_accfields.F90', | ||
'mo_aufr_bgc.F90', | ||
'mo_aufw_bgc.F90', | ||
'mo_mo_ini_fields.F90', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mvertens , why mo_mo_ini_fields
? - one mo_
is enough :-) - might be the cause for the failing tests on github.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the typo. I'm not using meson build - but the NorESM CIME build. I'll fix this in my upcoming push.
Thanks for catching this.
Dear @mvertens , from my side no concerns thus far. Only observations: code indentation for follow up lines and for follow up comments have changed, which need at some point be reverted (e.g. best visible in |
@jmaerz @JorgSchwinger @TomasTorsvik - I have just pushed back the second phase of refactorization. This includes:
I have verified that the changes are bit-for-bit for the test ERS_Ld3.T62_tn14.NOINYOC.betzy_intel.blom-hamocc1 compared to the latest master Do you want me to add any other features like - I'm happy to do that - but it will have to be tomorrow. |
Hi @mvertens |
Hi @mvertens , I just realized that in |
I am closing this PR in favor of a new one that has a cleaner implementation of the changes. |
prototype indent using emacs command 'f90-indent-subprogram'