diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt index c7242e4585..bacbf2bd71 100644 --- a/.github/actions/spelling/allow.txt +++ b/.github/actions/spelling/allow.txt @@ -2180,3 +2180,4 @@ hpa CERI HIMMELP nuse +nxbdi diff --git a/.github/workflows/cmake_pi.yml b/.github/workflows/cmake_pi.yml index ebc0fee594..fd7c59d355 100644 --- a/.github/workflows/cmake_pi.yml +++ b/.github/workflows/cmake_pi.yml @@ -76,13 +76,21 @@ jobs: # As of 20240316, CMake test fails on cobyla with the Classic flang, AOCC flang, and # nvfortran. See https://github.com/libprima/prima/issues/165 - ctest --output-on-failure -V -E "stress|cobyla" + if [[ $FC == 'gfortran' ]] ; then + ctest --output-on-failure -V -E "stress" + else + ctest --output-on-failure -V -E "stress|cobyla" + fi - name: Stress test if: ${{ github.event_name == 'schedule' || github.event.inputs.stress-test == 'true' }} shell: bash run: | - ctest --output-on-failure -V -R stress -E cobyla + if [[ $FC == 'gfortran' ]] ; then + ctest --output-on-failure -V -R stress + else + ctest --output-on-failure -V -R stress -E cobyla + fi # The following job check whether the tests were successful or cancelled due to timeout. diff --git a/.github/workflows/test_armflang_pi.yml b/.github/workflows/test_armflang_pi.yml index e1a6917434..65e222e205 100644 --- a/.github/workflows/test_armflang_pi.yml +++ b/.github/workflows/test_armflang_pi.yml @@ -51,6 +51,14 @@ jobs: - name: Miscellaneous setup run: bash .github/scripts/misc_setup + - Revise bobyqa/trustregion.f90 to see why `xbdi(trueloc(xopt >= su .and. gopt <= 0)) = 1` leads to a SIGFPE + shell: bash + if: ${{ matrix.solver == 'bobyqa' }} + run: + cd fortran/bobyqa || exit 42 + $SEDI "s|xbdi(trueloc(xopt >= su .and. gopt <= 0)) = 1|write(*,*) 'su = ', su, 'xopt = ', xopt, 'gopt = ', gopt\nxbdi(trueloc(xopt >= su .and. gopt <= 0)) = 1|" trustregion.f90 + cat trustregion.f90 + - name: Conduct the test run: | cd "$ROOT_DIR"/fortran/${{ matrix.solver }} && bash ./flint -r && bash ./mlint -r diff --git a/.github/workflows/test_nvfortran_pi.yml b/.github/workflows/test_nvfortran_pi.yml index acd87787c6..e526b3961c 100644 --- a/.github/workflows/test_nvfortran_pi.yml +++ b/.github/workflows/test_nvfortran_pi.yml @@ -43,13 +43,21 @@ jobs: uses: actions/checkout@v4 if: github.event.inputs.git-ref != '' with: - ref: ${{ github.event.inputs.git-ref }} + ref: ${{ github.event.inputs.git-ref }} ssh-key: ${{ secrets.SSH_PRIVATE_KEY_ACT }} # This forces checkout to use SSH, not HTTPS submodules: recursive - name: Miscellaneous setup run: bash .github/scripts/misc_setup + - Revise bobyqa/trustregion.f90 to see why `xbdi(trueloc(xopt >= su .and. gopt <= 0)) = 1` leads to a SIGFPE + shell: bash + if: ${{ matrix.solver == 'bobyqa' }} + run: + cd fortran/bobyqa || exit 42 + $SEDI "s|xbdi(trueloc(xopt >= su .and. gopt <= 0)) = 1|write(*,*) 'su = ', su, 'xopt = ', xopt, 'gopt = ', gopt\nxbdi(trueloc(xopt >= su .and. gopt <= 0)) = 1|" trustregion.f90 + cat trustregion.f90 + - name: Conduct the test run: | # Without the following lines, flint does not invoke vtest. No idea why.