-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GSI "NCO"-mode build option for operational installs #743
Comments
@KateFriedman-NOAA As @RussTreadon-NOAA noted, the GSI's CMake build system will be refactored with NOAA-EMC/GSI's PR #327. As part of this refactor, all includes, libraries, and executables will be installed within a new install directory. Having said that, the new I am concerned that, when NCO agreed to allow projects to move forward with CMake, that they weren't given enough information about how CMake goes about generating Makefiles. CMake creates very specialized Makefiles, not general Makefiles that can be used to build both release and debug executables. The version of the Makefile created is dictated by the entry used in |
@MichaelLueken-NOAA @aerorahul This issue will become moot because of PRs #839 and #840 , correct? Thanks! |
@KateFriedman-NOAA Yes, following the inclusion of PRs #839 and #840, this issue will become moot, since the sticking point of the |
@MichaelLueken-NOAA Awesome, thanks for confirming! |
It sounds like this issue should be closed as moot? |
…rent (NOAA-EMC#743) * Modifications to replace numerous p2p transfers in fill_nested_grid_cpl by a single MPI_Bcast * Add reason for including ESMF in fv_control_init. Add code to cleanup structures associated with Bcast_comm * Get rid of unneeded mpp_sync_self * Use mpp_broadcast instead of MPI_Bcast at the request of NOAA-GFDL * Get rid of mpp pelist scoping calls in fill_nested_grid_cpl(). This depends on NOAA-GFDL/FMS#1246 to be functional. More efficient 'if' test in fill_nested_grid_cpl() * Bcast_comm and sending_proc variables not needed anymore * New member of the fv_atmos_type type called BcastMember allows more efficient determination of ranks involved in the mpp_broadcast call in fill_nested_grid_cpl routine * Port to FMS-2023.02
Description
The GSI has a "NCO" mode installation option that prunes unneeded files during an operational installation. It is currently commented out in
build_gsi.sh
and is easily missed during installation:An operations/nco-mode option can be made to allow NCO SPAs to install the GSI with this prune option in a seamless fashion, instead of having to open
build_gsi.sh
, comment out the current build line, and uncomment the prune build line.A suggested (and tentatively tested) way to do this is:
build_all.sh
to have a-o
argument flag, similar tocheckout.sh
:This would also allow other component builds to utilize an operations/nco-mode-like argument if needed down the road.
build_gsi.sh
to usebuild_mode
and ifbuild_mode
is "NCO" (EMC=default) the "NCO" flag would be used during the GSI build:Acceptance Criteria (Definition of Done)
A developer or NCO SPA can run
build_all.sh
with an operations/nco-mode flag (e.g.-o
) and invoke the GSI pruning build without having to editbuild_gsi.sh
.Dependencies
This option can be added but not used in operational installations until the GSI is updated to adjust their build scripts pruning. As is, the GSI prune deletes the
build
folder which contains thelib/libfv3gfs_ncio.a
library file used by theenkf_chgres_recenter_nc
code during its build. The following build error occurs in theenkf_chgres_recenter_nc
build when the GSI prune occurs before it during installation:Pinging @MichaelLueken-NOAA @RussTreadon-NOAA for their knowledge of this issue. Can target this update for GFSv16.3 or later.
The text was updated successfully, but these errors were encountered: