Skip to content
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

GitHub Issue NOAA-EMC/GSI#408. Update default executable names #409

Conversation

WalterKolczynski-NOAA
Copy link
Contributor

The executable names for some executables have changed, but the default names in global scripts had not. These are now updated to the new names.

Fixes #408

@WalterKolczynski-NOAA
Copy link
Contributor Author

Note: I haven't been able to test this because of the current issues with cycling in global workflow, but these are very straightforward updates.

Copy link
Contributor

@MichaelLueken MichaelLueken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WalterKolczynski-NOAA: These changes were made to release/gfsda.v16.3.0 at b19916b. The plan is to get these changes into the develop branch through the gfsda.v16.3.0 release branch.

If these changes are required now, then please note that the correct executable for scripts/exglobal_diag.sh is ncdiag_cat_serial.x and not nc_diag_cat.x.

The GSI requires a single commit, so after changing the executable name, please use:

  1. git add scripts/exglobal_diag.sh
  2. git commit --amend
  3. Save and close the commit message window
  4. git push origin feature/update_exec_names --force

If you have any questions, please let me know.

@@ -47,7 +47,7 @@ export NLN=${NLN:-"/bin/ln -sf"}
export CHGRP_CMD=${CHGRP_CMD:-"chgrp ${group_name:-rstprod}"}
export NEMSIOGET=${NEMSIOGET:-${NWPROD}/exec/nemsio_get}
export NCLEN=${NCLEN:-$HOMEgfs/ush/getncdimlen}
export CATEXEC=${CATEXEC:-$HOMEgfs/exec/ncdiag_cat.x}
export CATEXEC=${CATEXEC:-$HOMEgfs/exec/nc_diag_cat.x}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not the correct name for ncdiag_cat.x. The serial ncdiag_cat.x should be ncdiag_cat_serial.x.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, when I build I also get a nc_diag_cat.x, so I thought that was the correct one. I will fix.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing this. The GSI creates a parallel and serial executable for ncdiag_cat. Before the update, ncdiag_cat.x was for the serial executable, while ncdiag_cat_mpi.x was the parallel version. With the update, the parallel version became nc_diag_cat.x and the serial is ncdiag_cat_serial.x.

The executable names for some executables have changed, but the default
names in global scripts had not. These are now updated to the new names.

Fixes #408
@WalterKolczynski-NOAA WalterKolczynski-NOAA force-pushed the feature/update_exec_names branch from e45cf3c to 59a843e Compare June 13, 2022 12:22
@WalterKolczynski-NOAA
Copy link
Contributor Author

It's not urgent, in the sense that cycling doesn't currently work right now anyway because of #348, but this change was just to make develop self-consistent. The executable names have already changed, but the scripts have not.

@MichaelLueken
Copy link
Contributor

Since there are no changes to the source code, I will now give final approval to these changes and merge them to the authoritative develop branch.

@MichaelLueken MichaelLueken changed the title Update default executable names GitHub Issue NOAA-EMC/GSI#408. Update default executable names Jun 13, 2022
@MichaelLueken MichaelLueken merged commit ad84f17 into NOAA-EMC:develop Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect default executables
2 participants