4848 with :
4949 submodules : recursive
5050 - name : Run all test cases with host emulators
51- run : python3 util/developers/run_all_testcases.py harness --show_logs --compiler gfortran-${{ matrix.version }} ${{ matrix.cmake_args }}
51+ run : python util/developers/run_all_testcases.py harness --show_logs --compiler gfortran-${{ matrix.version }} ${{ matrix.cmake_args }}
5252 - name : Run all test cases with pyfabm
53- run : python3 util/developers/run_all_testcases.py pyfabm --show_logs --compiler gfortran-${{ matrix.version }} ${{ matrix.cmake_args }}
53+ run : python util/developers/run_all_testcases.py pyfabm --show_logs --compiler gfortran-${{ matrix.version }} ${{ matrix.cmake_args }}
5454 ifort :
5555 # for available versions, see https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
5656 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
@@ -87,11 +87,11 @@ jobs:
8787 - name : Run all test cases with host emulators
8888 run : |
8989 source ${HOME}/intel/setvars.sh
90- python3 util/developers/run_all_testcases.py harness --show_logs --compiler ifort
90+ python util/developers/run_all_testcases.py harness --show_logs --compiler ifort
9191 - name : Run all test cases with pyfabm
9292 run : |
9393 source ${HOME}/intel/setvars.sh
94- python3 util/developers/run_all_testcases.py pyfabm --show_logs --compiler ifort
94+ python util/developers/run_all_testcases.py pyfabm --show_logs --compiler ifort
9595 env :
9696 FFLAGS : ${{ env.FFLAGS }} -fp-model precise -fp-model source
9797 ifx :
@@ -132,13 +132,13 @@ jobs:
132132 - name : Run all test cases with host emulators
133133 run : |
134134 source ${HOME}/intel/setvars.sh
135- python3 util/developers/run_all_testcases.py harness --show_logs --compiler ifx
135+ python util/developers/run_all_testcases.py harness --show_logs --compiler ifx
136136 env :
137137 FFLAGS : ${{ matrix.fflags }}
138138 - name : Run all test cases with pyfabm
139139 run : |
140140 source ${HOME}/intel/setvars.sh
141- python3 util/developers/run_all_testcases.py pyfabm --show_logs --compiler ifx
141+ python util/developers/run_all_testcases.py pyfabm --show_logs --compiler ifx
142142 env :
143143 FFLAGS : ${{ matrix.fflags }} -fp-model=precise
144144 nvfortran :
@@ -187,9 +187,9 @@ jobs:
187187 with :
188188 submodules : recursive
189189 - name : Run all test cases with host emulators
190- run : python3 util/developers/run_all_testcases.py harness --show_logs --compiler /home/runner/nvhpc/Linux_x86_64/${{ matrix.version }}/compilers/bin/pgfortran
190+ run : python util/developers/run_all_testcases.py harness --show_logs --compiler /home/runner/nvhpc/Linux_x86_64/${{ matrix.version }}/compilers/bin/pgfortran
191191 - name : Run all test cases with pyfabm
192- run : python3 util/developers/run_all_testcases.py pyfabm --show_logs --compiler /home/runner/nvhpc/Linux_x86_64/${{ matrix.version }}/compilers/bin/pgfortran
192+ run : python util/developers/run_all_testcases.py pyfabm --show_logs --compiler /home/runner/nvhpc/Linux_x86_64/${{ matrix.version }}/compilers/bin/pgfortran
193193 aocc :
194194 # for available versions, see https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/aocc/package.py
195195 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
@@ -205,6 +205,8 @@ jobs:
205205 # url_dir: https://download.amd.com/developer/eula/aocc/aocc-4-1
206206 - version : " 4.2.0" # released 2024-02-27 (LLVM 16.0.3)
207207 url_dir : https://download.amd.com/developer/eula/aocc/aocc-4-2
208+ # - version: "5.0.0" # released 2024-10-10 (LLVM 17.0.6)
209+ # url_dir: https://download.amd.com/developer/eula/aocc/aocc-5-0
208210 fail-fast : false
209211 runs-on : ubuntu-latest
210212 steps :
@@ -227,12 +229,16 @@ jobs:
227229 submodules : recursive
228230 - name : Run all test cases with host emulators
229231 run : |
232+ OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
230233 source /home/runner/setenv_AOCC.sh
231- python3 util/developers/run_all_testcases.py harness --show_logs --compiler flang
234+ export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$LD_LIBRARY_PATH
235+ python util/developers/run_all_testcases.py harness --show_logs --compiler flang
232236 - name : Run all test cases with pyfabm
233237 run : |
238+ OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
234239 source /home/runner/setenv_AOCC.sh
235- python3 util/developers/run_all_testcases.py pyfabm --show_logs --compiler flang ${{ matrix.pyfabm_cmake_args }}
240+ export LD_LIBRARY_PATH=$OLD_LD_LIBRARY_PATH:$LD_LIBRARY_PATH
241+ python util/developers/run_all_testcases.py pyfabm --show_logs --compiler flang ${{ matrix.pyfabm_cmake_args }}
236242 flang-new :
237243 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
238244 strategy :
0 commit comments