Skip to content

Commit

Permalink
Update dycore to remove compiler warnings (NOAA-EMC#813)
Browse files Browse the repository at this point in the history
* Update atmos_cubed_sphere and add compile definition BYPASS_BREED_SLP_INLINE to dycore

* Pass correct mpi communicator type to post_alctvars routine in inline post
  • Loading branch information
DusanJovic-NOAA authored Apr 17, 2024
1 parent 37e7d48 commit 979bcab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option(ENABLE_DOCS "Enable generation of doxygen-based documentation." OFF)
# Determine whether or not to generate documentation.
if(ENABLE_DOCS)
find_package(Doxygen REQUIRED)
add_subdirectory(docs)
add_subdirectory(docs)
endif()

# Enable CI build & unit testing:
Expand Down Expand Up @@ -38,6 +38,7 @@ if(MOVING_NEST)
set(MOVING_NEST ON)
endif()
add_subdirectory(atmos_cubed_sphere)
target_compile_definitions(fv3 PRIVATE BYPASS_BREED_SLP_INLINE)

###############################################################################
### fv3atm
Expand Down
2 changes: 1 addition & 1 deletion io/post_fv3.F90
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ subroutine post_run_fv3(wrt_int_state,grid_id,mype,mpicomp,lead_write, &
wrt_int_state%out_grid_info(grid_id)%jm, &
wrt_int_state%out_grid_info(grid_id)%lm, &
mype,wrttasks_per_group,lead_write, &
mpicomp,jts,jte,jstagrp,jendgrp,its,ite,istagrp,iendgrp)
mpicomp%mpi_val,jts,jte,jstagrp,jendgrp,its,ite,istagrp,iendgrp)
!
!-----------------------------------------------------------------------
!*** read namelist for pv,th,po
Expand Down

0 comments on commit 979bcab

Please sign in to comment.