From 1d7feea431c33c12de418b916610d0002ae52c03 Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 19:24:23 +0000 Subject: [PATCH 01/10] Debugging. Trigger failure. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 66f2c93f4..5670e9016 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -11,7 +11,7 @@ jobs: matrix: fortran-compiler: [gfortran-10, gfortran-11, gfortran-12] build-type: [Release, Debug] - py-version: [3.7.13, 3.9.12] + py-version: [3.7.99, 3.9.12] # Environmental variables env: From 72b8e7b83d6b0b9d96d32d00e792a1cd0148db5e Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 19:28:32 +0000 Subject: [PATCH 02/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 5670e9016..66f2c93f4 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -11,7 +11,7 @@ jobs: matrix: fortran-compiler: [gfortran-10, gfortran-11, gfortran-12] build-type: [Release, Debug] - py-version: [3.7.99, 3.9.12] + py-version: [3.7.13, 3.9.12] # Environmental variables env: From df1066f778a19081e1fef6c5191d42ee93c6aa0d Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 19:42:20 +0000 Subject: [PATCH 03/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 66f2c93f4..c85976739 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -9,9 +9,12 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - fortran-compiler: [gfortran-10, gfortran-11, gfortran-12] - build-type: [Release, Debug] - py-version: [3.7.13, 3.9.12] +# fortran-compiler: [gfortran-10, gfortran-11, gfortran-12] + fortran-compiler: [gfortran-12] +# build-type: [Release, Debug] + build-type: [Debug] +# py-version: [3.7.13, 3.9.12] + py-version: [3.7.13] # Environmental variables env: @@ -139,7 +142,6 @@ jobs: - name: Install NetCDF C library run: | - sudo apt-get update sudo apt-get install libnetcdf-dev - name: Cache NetCDF Fortran library From 83a4866b37da523da05e4c895ce1d5e971c1a923 Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 19:53:30 +0000 Subject: [PATCH 04/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 2 +- .github/workflows/ci_run_scm_DEPHY.yml | 2 +- .github/workflows/ci_run_scm_rts.yml | 2 +- .github/workflows/ci_run_scm_ufs_replay.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index c85976739..e0071ec65 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -19,7 +19,7 @@ jobs: # Environmental variables env: NFHOME: /home/runner/netcdf-fortran - NFVERSION: v4.5.3 + NFVERSION: v4.4.4 bacio_ROOT: /home/runner/bacio sp_ROOT: /home/runner/NCEPLIBS-sp w3emc_ROOT: /home/runner/myw3emc diff --git a/.github/workflows/ci_run_scm_DEPHY.yml b/.github/workflows/ci_run_scm_DEPHY.yml index 0f0463c77..3e598c975 100644 --- a/.github/workflows/ci_run_scm_DEPHY.yml +++ b/.github/workflows/ci_run_scm_DEPHY.yml @@ -1,6 +1,6 @@ name: CI test to run the SCM with DEPHY v1 data -on: [pull_request,workflow_dispatch] +on: [workflow_dispatch] jobs: run-scm-DEPHY: diff --git a/.github/workflows/ci_run_scm_rts.yml b/.github/workflows/ci_run_scm_rts.yml index 436dc9379..c322a95cb 100644 --- a/.github/workflows/ci_run_scm_rts.yml +++ b/.github/workflows/ci_run_scm_rts.yml @@ -1,6 +1,6 @@ name: CI test to build and run SCM regression tests -on: [pull_request, workflow_dispatch] +on: [workflow_dispatch] jobs: run_scm_rts: diff --git a/.github/workflows/ci_run_scm_ufs_replay.yml b/.github/workflows/ci_run_scm_ufs_replay.yml index 0bd6a161d..7145043cc 100644 --- a/.github/workflows/ci_run_scm_ufs_replay.yml +++ b/.github/workflows/ci_run_scm_ufs_replay.yml @@ -1,6 +1,6 @@ name: CI test to create SCM UFS-replay cases from UWM regression tests -on: [pull_request,workflow_dispatch] +on: [workflow_dispatch] jobs: run_scm_ufs_replay: From 269f263dce8dffb0b7d97921659b2ac54dadb68e Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 19:59:58 +0000 Subject: [PATCH 05/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index e0071ec65..1b6155dbc 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -18,6 +18,7 @@ jobs: # Environmental variables env: + FCFLAGS: -fPIC NFHOME: /home/runner/netcdf-fortran NFVERSION: v4.4.4 bacio_ROOT: /home/runner/bacio @@ -156,7 +157,7 @@ jobs: run: | git clone --branch ${NFVERSION} https://github.com/Unidata/netcdf-fortran.git cd netcdf-fortran - ./configure + ./configure --prefix=${NFHOME} make -j sudo make install export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NFHOME}/lib From b2d2877f0175d26a15c445d963769cd1c9b6bf42 Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 20:04:47 +0000 Subject: [PATCH 06/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 1b6155dbc..516a64869 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -20,7 +20,7 @@ jobs: env: FCFLAGS: -fPIC NFHOME: /home/runner/netcdf-fortran - NFVERSION: v4.4.4 + NFVERSION: v4.5.3 bacio_ROOT: /home/runner/bacio sp_ROOT: /home/runner/NCEPLIBS-sp w3emc_ROOT: /home/runner/myw3emc From 9ff087f43e60d070d7512068955e67f6cb1e24cf Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 20:14:06 +0000 Subject: [PATCH 07/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 516a64869..984b82486 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -18,7 +18,9 @@ jobs: # Environmental variables env: - FCFLAGS: -fPIC + F90: ${{ matrix.fortran-compiler }} + FC: ${{ matrix.fortran-compiler }} + F90FLAGS: "-O3 -ffree-line-length-none -fcheck=bounds -finit-real=nan" NFHOME: /home/runner/netcdf-fortran NFVERSION: v4.5.3 bacio_ROOT: /home/runner/bacio @@ -154,13 +156,14 @@ jobs: - name: Install NetCDF Fortran library if: steps.cache-netcdf-fortran.outputs.cache-hit != 'true' + env: + FCFLAGS: -fPIC run: | git clone --branch ${NFVERSION} https://github.com/Unidata/netcdf-fortran.git cd netcdf-fortran ./configure --prefix=${NFHOME} make -j sudo make install - export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NFHOME}/lib ####################################################################################### # Build SCM. From 6390a4fe96ffbd40f8ca6484bbee9e3bc9384142 Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 20:22:55 +0000 Subject: [PATCH 08/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 984b82486..9bcc949a5 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -164,6 +164,7 @@ jobs: ./configure --prefix=${NFHOME} make -j sudo make install + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NFHOME}/lib ####################################################################################### # Build SCM. From 8cb6c810128591c1990590e9d91611b2a1b1c552 Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 20:24:11 +0000 Subject: [PATCH 09/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 9bcc949a5..2f598b0ee 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -164,7 +164,7 @@ jobs: ./configure --prefix=${NFHOME} make -j sudo make install - export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NFHOME}/lib + export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${NFHOME}/lib ####################################################################################### # Build SCM. From 1fa38664ff22ce102c2262400bbb175af15e81bd Mon Sep 17 00:00:00 2001 From: Dustin Swales Date: Thu, 2 Nov 2023 20:31:36 +0000 Subject: [PATCH 10/10] Debugging. --- .github/workflows/ci_build_scm_ubuntu_22.04.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04.yml b/.github/workflows/ci_build_scm_ubuntu_22.04.yml index 2f598b0ee..177acf2f8 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04.yml @@ -64,6 +64,10 @@ jobs: ####################################################################################### # Install FORTRAN dependencies ####################################################################################### + - name: Install gfortran compiler + if: contains(matrix.fortran-compiler, 'gfortran') + run: sudo apt-get install ${{ matrix.fortran-compiler }} + - name: Environment for ifort compiler if: contains(matrix.fortran-compiler, 'ifort') run: |