Skip to content

Commit

Permalink
240407.005352.HKT correct test_nvfortran/armflang.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Apr 6, 2024
1 parent e9c6fd8 commit 1bbe3bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test_armflang_pi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ jobs:

- name: 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:
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
$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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test_nvfortran_pi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,9 @@ jobs:

- name: 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:
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
$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
Expand Down

0 comments on commit 1bbe3bf

Please sign in to comment.