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

WCOSS2.env uses invalid options for APRUN_OCNANALECEN #3158

Closed
RussTreadon-NOAA opened this issue Dec 11, 2024 · 2 comments · Fixed by #3212
Closed

WCOSS2.env uses invalid options for APRUN_OCNANALECEN #3158

RussTreadon-NOAA opened this issue Dec 11, 2024 · 2 comments · Fixed by #3212
Assignees
Labels
bug Something isn't working

Comments

@RussTreadon-NOAA
Copy link
Contributor

What is wrong?

env/WCOSS2.env sets

 export APRUN_OCNANALECEN="${APRUN_default} --cpus-per-task=${NTHREADS_OCNANALECEN}"

for job ocnanalecen. -cpus-per-task is for SLURM, not PBS.

As a result, gdas_ocnanalecen fails on WCOSS2 with

^[[38;5;39m2024-12-11 18:31:05,435 - DEBUG    - marine_recenter: Executing mpiexec -l -n 16 --cpus-per-task=1 /lfs/h2/emc/da/noscrub/russ.treadon/git/global-workfl\
ow/pr3120/exec/gdas_soca_gridgen.x /lfs/h2/emc/da/noscrub/russ.treadon/git/global-workflow/pr3120/sorc/gdas.cd/parm/soca/gridgen/gridgen.yaml^[[0m
mpiexec: unrecognized option '--cpus-per-task=1'

What should have happened?

The ocnanalecen job should run on WCOSS2.

What machines are impacted?

WCOSS2

What global-workflow hash are you using?

5243826 (DavidNew-NOAA:feature/gw-ci)

Steps to reproduce

  1. install g-w PR Turn C96C48_ufs_hybatmDA and C48mx500_3DVarAOWCDA into a regression test #3120 on Dogwood
  2. set up and run C48mx500_hybAOWCDA CI
  3. 20210325 00Z gdas_ocnanalecen job will die with the above error

Additional information

No response

Do you have a proposed solution?

Make the following change to env/WCOSS2.env

 elif [[ "${step}" = "ocnanalecen" ]]; then
 
     export NTHREADS_OCNANALECEN=${NTHREADSmax}
-    export APRUN_OCNANALECEN="${APRUN_default} --cpus-per-task=${NTHREADS_OCNANALECEN}"
+    export APRUN_OCNANALECEN="${APRUN_default}"
 
 elif [[ "${step}" = "marineanlletkf" ]]; then

With this change the 20210325 00Z gdas_ocnanalecen successfully runs to completion on Dogwood.

@RussTreadon-NOAA RussTreadon-NOAA added bug Something isn't working triage Issues that are triage labels Dec 11, 2024
@RussTreadon-NOAA
Copy link
Contributor Author

Attention @guillaumevernieres

@RussTreadon-NOAA
Copy link
Contributor Author

Work for this issue will be done in RussTreadon-NOAA:bugfix/aprun_ocnanalecen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants