Skip to content

Commit

Permalink
Update driver routine to be Fortran 90.
Browse files Browse the repository at this point in the history
  • Loading branch information
George Gayno committed Sep 18, 2024
1 parent a0eb44c commit 9b698ea
Show file tree
Hide file tree
Showing 2 changed files with 270 additions and 283 deletions.
4 changes: 2 additions & 2 deletions sorc/orog_mask_tools.fd/orog.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set(lib_src io_utils.F90 orog_utils.F90)
set(exe_src mtnlm7_oclsm.F)
set(exe_src mtnlm7_oclsm.F90)

if(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -warn unused -r8 -convert big_endian -assume byterecl")
Expand All @@ -13,7 +13,7 @@ endif()
set(exe_name orog)

add_library(orog_lib STATIC ${lib_src})
add_executable(${exe_name} mtnlm7_oclsm.F)
add_executable(${exe_name} mtnlm7_oclsm.F90)

set(mod_dir "${CMAKE_CURRENT_BINARY_DIR}/mod")
set_target_properties(orog_lib PROPERTIES Fortran_MODULE_DIRECTORY ${mod_dir})
Expand Down
Loading

0 comments on commit 9b698ea

Please sign in to comment.