Skip to content

Commit

Permalink
GitHub Issue NOAA-EMC/GSI#419. correct minor code and link bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Jun 23, 2022
1 parent 53d3ef3 commit 94fb09e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ program getsigensmeanp_smooth
filenameout = trim(adjustl(datapath)) // trim(adjustl(filenameout))
! if a 5th arg present, it's a filename to write out ensemble spread
! (only used for ncio)
if (iargc() > 5) then
if (iargc() > 4) then
call getarg(5,filenameoutsprd)
write_spread_ncio = .true.
if (mype == 0) print *,'computing ensemble spread'
Expand Down
2 changes: 1 addition & 1 deletion util/netcdf_io/calc_analysis.fd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ target_link_libraries(calc_analysis.x PRIVATE MPI::MPI_Fortran)
target_link_libraries(calc_analysis.x PRIVATE bacio::bacio_4)
target_link_libraries(calc_analysis.x PRIVATE nemsio::nemsio)
target_link_libraries(calc_analysis.x PRIVATE ncio::ncio)
target_link_libraries(calc_analysis.x PRIVATE w3emc::w3emc_d)
target_link_libraries(calc_analysis.x PRIVATE w3emc::w3emc_4)

# Install executable targets
install(TARGETS calc_analysis.x RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit 94fb09e

Please sign in to comment.