Skip to content

Commit

Permalink
Merge branch 'origin/jayeshkrishna/homme/port_to_scorpio_1.6.2' into …
Browse files Browse the repository at this point in the history
…next (PR #6429)

Fixes standalone HOMME build issues with SCORPIO 1.6.3

[BFB]
  • Loading branch information
rljacob committed May 30, 2024
2 parents 68f2e5b + b06c4a3 commit cd89388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/homme/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,14 @@ if (HOMME_BUILD_SCORPIO)
SET(GENF90_PATH ${CMAKE_CURRENT_SOURCE_DIR}/utils/utils/externals/scorpio/src/genf90)
SET(PIO_ENABLE_TOOLS OFF CACHE BOOL "Disabling Scorpio tool build")
ADD_SUBDIRECTORY(utils/externals/scorpio)
SET(PIO_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/utils/externals/scorpio/src/flib")
else ()
# The default I/O library used in "Scorpio classic"
ADD_SUBDIRECTORY(utils/externals/scorpio_classic)
SET(GENF90_PATH ${CMAKE_CURRENT_SOURCE_DIR}/utils/cime/CIME/non_py/externals/genf90)
SET(PIO_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/utils/externals/scorpio/pio")
endif ()
INCLUDE_DIRECTORIES(${PIO_INCLUDE_DIRS})
endif ()


Expand Down
2 changes: 1 addition & 1 deletion components/homme/src/prim_movie_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ integer function nextoutputstep(tl)
end function nextoutputstep

subroutine prim_movie_output(elem, tl, hvcoord, par)
use piolib_mod, only : Pio_SetDebugLevel !_EXTERNAL
use pio, only : Pio_SetDebugLevel !_EXTERNAL
use pio, only : pio_syncfile !_EXTERNAL
use perf_mod, only : t_startf, t_stopf !_EXTERNAL
use viscosity_mod, only : compute_zeta_C0
Expand Down

0 comments on commit cd89388

Please sign in to comment.