Skip to content

Commit

Permalink
Merge branch 'develop' into feature/gdas_init.v16
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeGayno-NOAA committed May 3, 2021
2 parents ff60134 + 26f1c3d commit b960aa8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.3.0
21 changes: 8 additions & 13 deletions tests/chgres_cube/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,42 +29,37 @@ execute_process( COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_CURRENT_SOURCE_DIR}/config_spectral_sigio.nml ${CMAKE_CURRENT_BINARY_DIR}/config_spectral_sigio.nml)

add_executable(ftst_utils ftst_utils.F90)
add_test(NAME ftst_utils COMMAND ftst_utils)
target_link_libraries(ftst_utils
chgres_cube_lib)
add_test(NAME chgres_cube-ftst_utils COMMAND ftst_utils)
target_link_libraries(ftst_utils chgres_cube_lib)

add_executable(ftst_program_setup ftst_program_setup.F90)
target_link_libraries(ftst_program_setup
chgres_cube_lib)
target_link_libraries(ftst_program_setup chgres_cube_lib)

# Cause test to be run with MPI.
add_mpi_test(ftst_program_setup
add_mpi_test(chgres_cube-ftst_program_setup
EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/ftst_program_setup
NUMPROCS 4
TIMEOUT 60)

add_executable(ftst_search_util ftst_search_util.F90)
target_link_libraries(
ftst_search_util
chgres_cube_lib)
target_link_libraries(ftst_search_util chgres_cube_lib)

if(OpenMP_Fortran_FOUND)
target_link_libraries(ftst_search_util OpenMP::OpenMP_Fortran)
endif()

# Cause test to be run with MPI. The search routine was
# written to work on a single task. So set NUMPROCS to 1.
add_mpi_test(ftst_search_util
add_mpi_test(chgres_cube-ftst_search_util
EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/ftst_search_util
NUMPROCS 1
TIMEOUT 60)

add_executable(ftst_sfc_input_data ftst_sfc_input_data.F90)
target_link_libraries(ftst_sfc_input_data
chgres_cube_lib)
target_link_libraries(ftst_sfc_input_data chgres_cube_lib)

# Cause test to be run with MPI.
add_mpi_test(ftst_sfc_input_data
add_mpi_test(chgres_cube-ftst_sfc_input_data
EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/ftst_sfc_input_data
NUMPROCS 4
TIMEOUT 60)
2 changes: 1 addition & 1 deletion tests/fre-nctools/shared_lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
include_directories(${CMAKE_SOURCE_DIR}/sorc/fre-nctools.fd/shared_lib)

add_executable(tst_create_xgrid tst_create_xgrid.c)
add_test(NAME tst_create_xgrid COMMAND tst_create_xgrid)
add_test(NAME fre-nctools-tst_create_xgrid COMMAND tst_create_xgrid)
target_link_libraries(tst_create_xgrid NetCDF::NetCDF_C shared_lib m)


Expand Down

0 comments on commit b960aa8

Please sign in to comment.