Skip to content

Conversation

@fvitt
Copy link
Collaborator

@fvitt fvitt commented Sep 18, 2020

This removes this use of phys_grid interfaces in chemistry code that will become obsolete in the near future. The phys_grid interfaces that will go away are:
scatter_field_to_chunk
get_lat_all_p
get_lon_all_p
get_lat_p
get_lon_p

These phys_grid routines will be removed in an effort to allow CAM to scale better to high-resolution grids

This PR also removes chemistry code that is no longer used.

closes #219

@fvitt fvitt added the BFB bit for bit tag label Sep 18, 2020
@fvitt fvitt added this to the CESM2.3 milestone Sep 18, 2020
@fvitt fvitt self-assigned this Sep 18, 2020
Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

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

Generally looks fine to me, but I do have some (hopefully minor) requests and questions.

Copy link
Collaborator

@gold2718 gold2718 left a comment

Choose a reason for hiding this comment

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

Wow, lots of cleanup.
Looks okay o me.

@fvitt fvitt requested a review from nusbaume September 23, 2020 15:15
Copy link
Collaborator

@nusbaume nusbaume left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of my requests! Everything looks good to me now.


!-------------------------------------------------------------------------------------
! ... assign CO tags to CO
! put this kludge in for now ...
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this still a kludge? What will it take to make it correct? Does this need an issue opened for it or should the comment be modified?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Is this still a kludge? What will it take to make it correct? Does this need an issue opened for it or should the comment be modified?

Yes this is still a kludge. There will be a larger effort to refactor how dry deposition implemented in the not too distant future. Hopefully we will remove these kludges then. I propose we leave the comment as it is for this merge.

@cacraigucar cacraigucar changed the title Chemistry code changes for 'weak scaling' issues cam6_3_002: Chemistry code changes for 'weak scaling' issues Oct 6, 2020
fvitt added 14 commits October 6, 2020 20:08
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
        modified:   src/chemistry/mozart/mo_synoz.F90
        modified:   src/chemistry/mozart/mo_waccm_hrates.F90
        modified:   src/chemistry/utils/tracer_data.F90
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        modified:   bld/build-namelist
        modified:   bld/namelist_files/namelist_defaults_cam.xml
        modified:   bld/namelist_files/namelist_definition.xml
        modified:   bld/namelist_files/use_cases/sd_waccm_sulfur.xml
        modified:   src/chemistry/mozart/chemistry.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/dynamics/fv/metdata.F90
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        deleted:    src/chemistry/mozart/chlorine_loading_data.F90
        deleted:    src/chemistry/mozart/lin_strat_chem.F90
        deleted:    src/chemistry/mozart/linoz_data.F90
        deleted:    src/chemistry/mozart/llnl_O1D_to_2OH_adj.F90
        deleted:    src/chemistry/mozart/mo_synoz.F90
        modified:   bld/namelist_files/namelist_defaults_cam.xml
        modified:   bld/namelist_files/namelist_definition.xml
        modified:   src/chemistry/mozart/chemistry.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_fstrat.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        modified:   src/chemistry/mozart/mo_setext.F90
        modified:   src/chemistry/mozart/mo_waccm_hrates.F90
        modified:   src/chemistry/utils/tracer_data.F90
        modified:   src/chemistry/utils/tracer_data.F90
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   .gitignore
… loop

        modified:   bld/namelist_files/namelist_definition.xml
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/chemistry/utils/tracer_data.F90
        modified:   src/chemistry/mozart/mo_chemini.F90
        modified:   src/chemistry/mozart/mo_drydep.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        modified:   bld/build-namelist
        modified:   bld/namelist_files/namelist_defaults_cam.xml
        modified:   bld/namelist_files/namelist_definition.xml
        modified:   bld/namelist_files/use_cases/2000_cam4_trop_chem.xml
        modified:   src/chemistry/mozart/chemistry.F90
        modified:   src/chemistry/mozart/mo_fstrat.F90
        modified:   src/chemistry/mozart/mo_gas_phase_chemdr.F90
        modified:   src/chemistry/mozart/mo_lightning.F90
@fvitt fvitt merged commit 0b0478e into ESCOMP:cam_development Oct 7, 2020
@fvitt fvitt deleted the chem_inputs branch May 19, 2021 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BFB bit for bit tag

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants