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

[don't merge] output 3d aerosol optics -- segfault #6080

Closed
wants to merge 3 commits into from

Conversation

mahf708
Copy link
Contributor

@mahf708 mahf708 commented Nov 22, 2023

A version of this code was used to output the fields of interest in v1. In v3, it segfaults. The segfaults happens in the reordering. I will follow up with the fix, but opening this PR to investigate with Ben.

Comment on lines +1341 to +1347
do icol = 1,size(aer_tau_bnd_sw,1)
do ilay = 1,size(aer_tau_bnd_sw,2)
aer_tau_bnd_sw(icol,ilay,:) = reordered(aer_tau_bnd_sw(icol,ilay,:), rrtmg_to_rrtmgp_swbands)
aer_ssa_bnd_sw(icol,ilay,:) = reordered(aer_ssa_bnd_sw(icol,ilay,:), rrtmg_to_rrtmgp_swbands)
aer_asm_bnd_sw(icol,ilay,:) = reordered(aer_asm_bnd_sw(icol,ilay,:), rrtmg_to_rrtmgp_swbands)
end do
end do
Copy link
Contributor Author

Choose a reason for hiding this comment

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

segfault is here, fixed by 56a7412 in the other PR

@rljacob
Copy link
Member

rljacob commented Nov 22, 2023

Please do this kind of thing on your fork.

@mahf708 mahf708 closed this Nov 22, 2023
@mahf708
Copy link
Contributor Author

mahf708 commented Nov 22, 2023

xref mahf708#2

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.

2 participants