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

Convert scripts to bash #36

Open
KateFriedman-NOAA opened this issue Sep 3, 2024 · 3 comments
Open

Convert scripts to bash #36

KateFriedman-NOAA opened this issue Sep 3, 2024 · 3 comments

Comments

@KateFriedman-NOAA
Copy link
Member

For better supportability on various platforms and consistency, scripts should be converted from ksh/sh to bash. Some are already bash but not all.

FYI, there was an issue with one of the ksh scripts in testing on Gaea. @DavidBurrows-NCO can provide a sample log with the silent failure that occurs. Tagging @ilianagenkova for her awareness.

@DavidBurrows-NCO
Copy link

Thanks @KateFriedman-NOAA... @ilianagenkova Kate suggested Hera would be a good platform to place the log on. I've put a gdasprep log at /scratch1/NCEPDEV/nems/David.Burrows/for_iliana. Permissions should be good for you to access. The specific failure is /gpfs/f5/ufs-ard/world-shared/global/glopara/data/git/prepobs/v1.0.2/install/ush/prepobs_makeprepbufr.sh[1620]: syntax error: unexpected operator/operand '=~'. Thanks

@ilianagenkova
Copy link
Collaborator

Thanks for opening this issue!

@KateFriedman-NOAA , do you think (off the top of your head) this is similar problem to:
[https://github.com/NOAA-EMC/global-workflow/issues/691]

@KateFriedman-NOAA
Copy link
Member Author

@ilianagenkova Yes and no. That global workflow issue notes that error codes are not being caught on the way out so any error in the prep job won't be caught. So yes, this is likely a silent failure because of that known issue but the error happening in this case is related to ksh.

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

No branches or pull requests

3 participants