Skip to content

Commit

Permalink
Ref #227
Browse files Browse the repository at this point in the history
Fix build warnings.
  • Loading branch information
EdwardSafford-NOAA committed Oct 26, 2021
1 parent 68d83fe commit b677fe0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions util/Ozone_Monitor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
endif()

cmake_policy(SET CMP0009 NEW)
cmake_policy(SET CMP0074 NEW)
find_package(OpenMP)
message("found openmp with flag ${OPENMP_Fortran_FLAGS}")

Expand Down
2 changes: 1 addition & 1 deletion util/Ozone_Monitor/OznMon_install.pl
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
print "\n";
print "Making all executables\n";

# `./build_OznMon_cmake.sh`;
`./build_OznMon_cmake.sh`;


exit 0;
Expand Down
2 changes: 1 addition & 1 deletion util/Ozone_Monitor/build_OznMon_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [[ ${target} = "hera" || ${target} = "wcoss" \
#-------------------------------------
# load modules
#-------------------------------------
if [ $target = wcoss_d -o $target = wcoss2]; then
if [ $target = wcoss_d -o $target = wcoss2 ]; then
module purge
module use -a $dir_modules
module load modulefile.ProdGSI.$target
Expand Down

0 comments on commit b677fe0

Please sign in to comment.