Skip to content

Commit f93f8ba

Browse files
authored
Merge branch 'develop' into feature/geocloud
2 parents efc6d23 + 05b30f9 commit f93f8ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+808
-33
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
--entrypoint=/usr/local/src/${REPO}/${PR}/build-and-test \
7676
--workdir=/usr/local/src/${REPO}/${PR} \
7777
--volume ${PWD}/${PR}:/usr/local/src/${REPO}/${PR} \
78-
'jcsda/docker-gnu-openmpi-dev:latest'
78+
'jcsda/docker-gnu-openmpi-dev:skylab-v8'
7979
8080
build2:
8181
if: |

deps/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ ${CMAKE_Fortran_DEBUG_FLAGS}"
2323
)
2424
elseif ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel")
2525
set(OPS_DEFAULT_Fortran_FLAGS "\
26-
-warn all \
27-
-warn errors \
28-
-warn notruncated_source \
29-
-warn nointerfaces \
26+
-warn alignments,declarations,errors,general,ignore_loc,nointerfaces,notruncated_source,shape,stderrors,uncalled,unused,usage \
3027
-implicitnone \
3128
-traceback \
3229
-integer-size 64 \

deps/ops/CMakeLists.txt

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ set(OPS_SOURCE_FILES
2020
code/OpsMod_AirQuality/OpsMod_AirQuality.f90
2121
code/OpsMod_Argument/OpsMod_Argument.f90
2222
code/OpsMod_CXInfo/OpsMod_CXInfo.f90
23-
code/OpsMod_Control/OpsMod_Control.f90
2423
code/OpsMod_DateTime/OpsMod_DateTime.f90
2524
code/OpsMod_GatherSpread/OpsMod_GatherSpread.F90
2625
code/OpsMod_HorizontalInterp/OpsMod_HorizontalInterp.f90
@@ -88,24 +87,11 @@ set(OPS_SOURCE_FILES
8887
stubs/OpsMod_Varobs/OpsMod_Varobs.f90
8988
stubs/Ops_SatRad_Info/OpsMod_SatRad_RTmodel.f90
9089
stubs/Ops_SatRad_SetUp/OpsMod_SatRad_SetUp.f90
90+
stubs/OpsMod_Control/OpsMod_Control.f90
9191
)
9292

93-
# Intel inserts lines in the source during pre-processing that contain the source file path, if the pathname
94-
# is long enough it can take the source line to more than 132 characters and trigger a compile warning.
95-
# If -warn errors is on this creates an invalid compile failure, so suppress this warning for these files to allow
96-
# compilation to proceed.
97-
if ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel")
98-
set_source_files_properties(public/GenMod_Platform/GenMod_Platform.F90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
99-
set_source_files_properties(public/GenMod_Core/GenMod_Core.F90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
100-
set_source_files_properties(public/GenMod_Control/GenMod_Setup.F90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
101-
set_source_files_properties(public/Ops_Constants/GenMod_MiscUMScienceConstants.f90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
102-
set_source_files_properties(code/GenMod_ModelIO/GenMod_ModelIO.F90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
103-
set_source_files_properties(code/OpsMod_GatherSpread/OpsMod_GatherSpread.F90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
104-
set_source_files_properties(code/OpsProg_Utils/OpsProg_PrintCXFile.F90 PROPERTIES COMPILE_FLAGS "-warn noerrors")
105-
endif()
106-
10793
# Collect the list of source directories (which will be added to the include path).
108-
foreach (file ${OPS_SOURCE_FILES})
94+
foreach(file ${OPS_SOURCE_FILES})
10995
get_filename_component(dir "${file}" DIRECTORY)
11096
list(APPEND OPS_SOURCE_DIRS "${dir}")
11197
endforeach()
@@ -142,10 +128,8 @@ target_compile_definitions(ops PRIVATE
142128
_LARGEFILE_SOURCE
143129
)
144130

145-
if ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel")
146-
target_compile_definitions(ops PRIVATE
147-
IFORT_ALLOCATABLE_CHARACTER_BUG
148-
)
131+
if("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel")
132+
target_compile_definitions(ops PRIVATE IFORT_ALLOCATABLE_CHARACTER_BUG)
149133
endif()
150134

151135
target_link_libraries(ops
@@ -192,10 +176,8 @@ target_compile_definitions(ops_serial PRIVATE
192176
_LARGEFILE_SOURCE
193177
)
194178

195-
if ("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel")
196-
target_compile_definitions(ops_serial PRIVATE
197-
IFORT_ALLOCATABLE_CHARACTER_BUG
198-
)
179+
if("${CMAKE_Fortran_COMPILER_ID}" MATCHES "Intel")
180+
target_compile_definitions(ops_serial PRIVATE IFORT_ALLOCATABLE_CHARACTER_BUG)
199181
endif()
200182

201183
target_link_libraries(ops_serial

deps/ops/stubs/OpsMod_CXGenerate/Ops_GetDefaultCxFields.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ SELECT CASE (ObsGroup)
120120
StashItem_SeaIce,StashItem_orog,StashItem_qcl, &
121121
StashItem_p,StashItem_p_Surface,StashCode_u10, &
122122
StashCode_v10,StashCode_t2,StashCode_rh2,StashCode_pmsl/)
123+
CASE (ObsGroupFCIASR, ObsGroupFCIClr)
124+
CxFields(1:15) = (/StashItem_theta,StashItem_q,StashItem_qcf,StashItem_SST, &
125+
StashItem_SeaIce,StashItem_orog,StashItem_qcl, &
126+
StashItem_p,StashItem_p_Surface,StashCode_u10, &
127+
StashCode_v10,StashCode_t2,StashCode_rh2,StashCode_pmsl, &
128+
StashItem_Cloud_Bulk/)
123129
CASE (ObsGroupMWRI)
124130
CxFields(1:14) = (/StashItem_theta,StashItem_q,StashItem_qcf,StashItem_SST, &
125131
StashItem_SeaIce,StashItem_orog,StashItem_qcl, &

deps/ops/code/OpsMod_Control/OpsFn_ModelRuntoModelId.inc renamed to deps/ops/stubs/OpsMod_Control/OpsFn_ModelRuntoModelId.inc

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

deps/ops/code/OpsMod_Control/Ops_ReadObsGroupSwitches.inc renamed to deps/ops/stubs/OpsMod_Control/Ops_ReadObsGroupSwitches.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ Using(ObsGroupAIRS) = ops_env_is_true ("OPS_AIRS")
6767
Using(ObsGroupIASI) = ops_env_is_true ("OPS_IASI")
6868
Using(ObsGroupSEVIRIClr) = ops_env_is_true ("OPS_SEVIRICLR")
6969
Using(ObsGroupSEVIRIASR) = ops_env_is_true ("OPS_SEVIRIASR")
70+
Using(ObsGroupFCIClr) = ops_env_is_true ("OPS_FCICLR")
71+
Using(ObsGroupFCIASR) = ops_env_is_true ("OPS_FCIASR")
7072
Using(ObsGroupMVIRIClr) = ops_env_is_true ("OPS_MVIRICLR")
7173
Using(ObsGroupGOESImClr) = ops_env_is_true ("OPS_GOESIMCLR")
7274
Using(ObsGroupCOMSMIClr) = ops_env_is_true ("OPS_COMSMICLR")
@@ -102,6 +104,7 @@ Using(ObsGroupHIRAS) = ops_env_is_true ("OPS_HIRAS")
102104
Using(ObsGroupOceanWinds) = ops_env_is_true ("OPS_OCEANWINDS")
103105
Using(ObsGroupGIIRSLW) = ops_env_is_true ("OPS_GIIRSLW")
104106
Using(ObsGroupGIIRSMW) = ops_env_is_true ("OPS_GIIRSMW")
107+
Using(ObsGroupMTGIRS) = ops_env_is_true ("OPS_MTGIRS")
105108

106109
ALLOCATE (obs_group_list(COUNT (using)))
107110
obs_group_list = IMDI

0 commit comments

Comments
 (0)