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

AQM exregional_aqm_lbcs.sh specifies '-n ${NUMTS}' before gefs2lbc_para executable #649

Closed
padhrigmccarthy opened this issue Mar 7, 2023 · 0 comments · Fixed by #650
Closed
Labels
bug Something isn't working

Comments

@padhrigmccarthy
Copy link
Contributor

When running online-cmaq with RUN_TASK_AQM_LBCS and DO_AQM_GEFS_LBCS both set to true, the exregional_aqm_lbcs.sh attempts to execute gefs2lbc_para but places the '-n ${NUMTS}' argument before the executable name. This results, on cheyenne, in a failure of mpirun, because '-n x' is not a valid arg for mpirun.

Expected behavior

The aqm_lbcs task should run successfully with RUN_TASK_AQM_LBCS and DO_AQM_GEFS_LBCS both set to true, if the appropriate input data is provided

Current behavior

The aqm_lbcs task fails, with this message in the log file:

  • exec_fn=gefs2lbc_para
  • exec_fp=/glade/work/paddy/online-cmaq/ufs-srweather-app/exec/gefs2lbc_para
  • '[' '!' -f /glade/work/paddy/online-cmaq/ufs-srweather-app/exec/gefs2lbc_para ']'
  • PREP_STEP
  • :
  • eval mpirun -np '$nprocs' -n 2 /glade/work/paddy/online-cmaq/ufs-srweather-app/exec/gefs2lbc_para
    ++ mpirun -np 24 -n 2 /glade/work/paddy/online-cmaq/ufs-srweather-app/exec/gefs2lbc_para
    MPT ERROR: invalid executable name: -n
    (HPE MPT 2.25 08/14/21 03:06:24)
  • print_err_msg_exit 'Call to executable (exec_fp) to generate chemical and GEFS LBCs
    file for RRFS-CMAQ failed:
    exec_fp = "/glade/work/paddy/online-cmaq/ufs-srweather-app/exec/gefs2lbc_para"'

Machines affected

The current [develop] branch is proven to fail on cheyenne

Detailed Description of Fix (optional)

Move the '-n ${NUMTS}' argument after the executable name. This fixed the problem for me on cheyenne.

@padhrigmccarthy padhrigmccarthy added the bug Something isn't working label Mar 7, 2023
@MichaelLueken MichaelLueken linked a pull request Mar 8, 2023 that will close this issue
3 tasks
MichaelLueken pushed a commit that referenced this issue Mar 10, 2023
This fixes a problem due to a typo that places the '-n ${NUMTS}' argument before the gefs2lbc_para executable instead of after on Cheyenne for the AQM_LBCS task. The typo causes mpirun to fail on Cheyenne because it's an invalid mpirun argument.

---------

Co-authored-by: Paddy Mccarthy <[email protected]>
Co-authored-by: Paddy Mccarthy <[email protected]>
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.

1 participant