2929 matrix :
3030 os : [ubuntu-latest, ubuntu-24.04-arm]
3131 solver : [newuoa, cobyla, lincoa, bobyqa, uobyqa]
32- fflags : [-O1, -O2, -O3, -g, -fast]
33- testdim : [small, big]
34-
35- exclude : # nvfortran 26.3 encounters errors with the randomization in `rand.f90` and `noise.f90`.
36- - solver : newuoa
37- fflags : -O2
38- - solver : bobyqa
39- fflags : -O1
32+ # fflags: [-O1, -O2, -O3, -g, -fast]
33+ # testdim: [small, big]
4034
4135 steps :
4236
@@ -87,12 +81,21 @@ jobs:
8781 with :
8882 timelimit : 320m
8983 command : |
90- export FFLAGS=${{ matrix.fflags }}
91- export TESTDIM=${{ matrix.testdim }}
92- IK=i$(( 2**(1 + $(date +%-d) % 3) ))
93- echo "IK=${IK}"
94- echo "IK=${IK}" >> "$GITHUB_ENV"
95- cd "$ROOT_DIR"/fortran/tests && make vtest_${IK}.${{ matrix.solver }}
84+ ########################################################################################
85+ # Zaikun 20260406: Starting from today, for nvfortran we will only run the examples,
86+ # not the extensive tests. nvfortran was quite useful as a reference for debugging the
87+ # early versions of PRIMA, but in the past years our work concerning nvfortran has been
88+ # mostly debugging the compiler itself (especially concerning empty arrays). In addition,
89+ # nvfortran will likely be replaced with a LLVM-based compiler in the future. See
90+ # https://forums.developer.nvidia.com/t/bug-of-nvfortran-25-7-with-empty-arrays/342404/2
91+ # https://forums.developer.nvidia.com/t/bug-of-nvfortran-24-3-0-fort1-terminated-by-signal-11/289026/6
92+ # export FFLAGS=${{ matrix.fflags }}
93+ # export TESTDIM=${{ matrix.testdim }}
94+ # IK=i$(( 2**(1 + $(date +%-d) % 3) ))
95+ # echo "IK=${IK}"
96+ # echo "IK=${IK}" >> "$GITHUB_ENV"
97+ # cd "$ROOT_DIR"/fortran/tests && make vtest_${IK}.${{ matrix.solver }}
98+ ########################################################################################
9699 cd "$ROOT_DIR"/fortran/examples/${{ matrix.solver }}
97100 export EXAMPLE_NUM=1 && make clean && make vtest
98101 export EXAMPLE_NUM=2 && make clean && make vtest
@@ -101,7 +104,8 @@ jobs:
101104 uses : actions/upload-artifact@v7
102105 if : always() # Always run even if the workflow is canceled manually or due to overtime.
103106 with :
104- name : ${{ matrix.os }}-${{ matrix.solver }}-${{ env.IK }}-${{ matrix.fflags }}-${{ matrix.testdim }}
107+ # name: ${{ matrix.os }}-${{ matrix.solver }}-${{ env.IK }}-${{ matrix.fflags }}-${{ matrix.testdim }}
108+ name : ${{ matrix.os }}-${{ matrix.solver }}
105109 path : ${{ env.TEST_DIR }}/prima/fortran/tests/test.${{ matrix.solver }}/log/*.log
106110
107111 - name : Remove the test data
0 commit comments