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

run_cmake_test crashes when finding prnc input files #838

Closed
mickaelaccensi opened this issue Oct 25, 2022 · 0 comments · Fixed by #1049
Closed

run_cmake_test crashes when finding prnc input files #838

mickaelaccensi opened this issue Oct 25, 2022 · 0 comments · Fixed by #1049
Assignees
Labels
bug Something isn't working

Comments

@mickaelaccensi
Copy link
Collaborator

Describe the bug
run_cmake_test crash and looking for input files for ww3_prnc if the configuration is expected to have input file with the suffix of the gridset

To Reproduce
run_test -f -N -S -T -s MPI -s NO_PDLIB -w work_ma -m grdset_a -f -p mpiexec.hydra -n 28 ../model ww3_tp2.21

Expected behavior
in run_cmake_test, we need to improve in that way :


        if [ $nml_input ] && [ ! -z "`ls ${path_i}/${prog}${gu}*.nml 2>/dev/null`" ]
        then
          inputs_tmp="`ls ${path_i}/${prog}${gu}*.nml 2>/dev/null`"
         else
          inputs_tmp="`ls ${path_i}/${prog}${gu}*.inp 2>/dev/null`"
        fi
@mickaelaccensi mickaelaccensi added the bug Something isn't working label Oct 25, 2022
@mickaelaccensi mickaelaccensi self-assigned this Oct 25, 2022
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