Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Bug fix in MPAS_stream_mgr_add_att_int that prevents adding integer attributes #1155

Conversation

climbfuji
Copy link
Contributor

@climbfuji climbfuji commented Nov 29, 2016

Subroutine MPAS_stream_mgr_add_att_int contains a bug when searching for a stream with given streamID. The do-while statement tests for .not. MPAS_stream_list_query(..) where it should test for the opposite (as it is the case for add_att_real and all others). Second fix is a typo in a debug message in mpas_stream_list.F.

…ttributes to streams, and typo in debug message
@climbfuji climbfuji changed the title Bug fix in MPAS_stream_mgr_add_att_int that prevents adding integer a… Bug fix in MPAS_stream_mgr_add_att_int that prevents adding integer attributes Nov 29, 2016
@climbfuji
Copy link
Contributor Author

@mgduda the standard init_atmosphere and atmosphere core don't add attributes to individual streams, i.e. the error doesn't show up. For SIONlib, we do add attributes for the SIONlib streams only, and in this case the bug is serious. I still cannot add labels, milestones etc. in Github.

@climbfuji
Copy link
Contributor Author

@mgduda just added a tiny fix to the number of padded zeros when generating the log.***.abort messages; this really tiny and not worth creating a separate branch/PR

@mgduda
Copy link
Contributor

mgduda commented Dec 5, 2016

@climbfuji Just to keep the pull requests tidy, would you be willing to move the log file changes to a separate PR?

@climbfuji climbfuji force-pushed the framework/MPAS_stream_mgr_add_att_int-release-5.0 branch from 0829afd to 4ee046e Compare December 6, 2016 10:37
@climbfuji
Copy link
Contributor Author

@mgduda done, removed it from this PR and created a separate one: #1162

@mgduda mgduda merged commit 4ee046e into MPAS-Dev:release-v5.0 Dec 6, 2016
@mgduda mgduda deleted the framework/MPAS_stream_mgr_add_att_int-release-5.0 branch December 6, 2016 22:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants