Skip to content
Open
Show file tree
Hide file tree
Changes from 205 commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
6f687ea
Add changes to MPAS-Model code necessary to run stochastic physics. …
gsketefian Sep 12, 2025
bb262cd
Add stochastic physics as a submodule.
gsketefian Sep 12, 2025
e5bde4d
Bug fix: Add missing lines for stochastic physics to Registry.xml.
gsketefian Sep 16, 2025
293e081
Change hash of stochastic_physics.
gsketefian Sep 16, 2025
abc034b
Merge branch 'gsl/develop' into gsl/MPAS_stoch_physics
gsketefian Nov 13, 2025
cee787e
Update hashes of GFL and MYNN-EDMF submodules. Not sure why this was…
gsketefian Nov 15, 2025
c93caca
A new version of SPPT merged into the latest gsl/MPAS_stoch_physics.
NingWang325 Nov 24, 2025
845ff87
Update hash of stochastic_physics submodule to point to the head of t…
gsketefian Dec 19, 2025
995a0cf
Update hash of stochastic_physics to the hash from Ning for 8-byte in…
gsketefian Feb 2, 2026
5cf356a
Change name of and file for output stream for chemistry (and dust and…
gsketefian Feb 4, 2026
d63788d
Modifications to Makefile to make sure that after make is invoked, (1…
gsketefian Feb 25, 2026
cea828b
Change the name of the output stream in registry.chemistry.xml (as we…
gsketefian Feb 25, 2026
9d0eb11
Merge branch 'gsl/develop' into gsl/MPAS_stoch_physics
gsketefian Feb 25, 2026
8428af8
Switch hash of stochastic_physics to branch in which the merge with s…
gsketefian Mar 11, 2026
a0700bf
Merge remote-tracking branch 'origin/gsl/MPAS_stoch_physics' into gsl…
gsketefian Mar 11, 2026
f8fea43
Fix hash of stochastic_physics.
gsketefian Mar 11, 2026
4060353
In the top-level Makefile, add a flag to CPPFLAGS that will let the s…
gsketefian Mar 14, 2026
9bdd0de
Update hash of stochastic_physics.
gsketefian Mar 14, 2026
57f2ccf
Update hash of stochastic_physics.
gsketefian Mar 14, 2026
6f5de0a
Remove definition of macro MPAS_STOCH from main MPAS Makefile. This …
gsketefian Mar 24, 2026
662e9c2
Update hash of stochastic_physics.
gsketefian Mar 24, 2026
b4c22a1
Remove commented-out lines in Makefile that refer to MPAS_STOCH (sinc…
gsketefian Mar 24, 2026
d2708cf
Update hash of stochastic_physics.
gsketefian Mar 24, 2026
ec08395
Update hash of stochastic_physics.
gsketefian Mar 27, 2026
ae7c0d7
Merge branch 'gsl/develop' into gsl/MPAS_stoch_physics_try_merge_stoc…
gsketefian Mar 27, 2026
a11e46f
Add lines to physics Makefile to also build the executable that build…
gsketefian Mar 29, 2026
d5a2107
Remove commented-out lines in Makefiles.
gsketefian Mar 30, 2026
365959c
Clean up comments.
gsketefian Mar 30, 2026
795dd8c
Get rid of comments in Makefile for brevity.
gsketefian Mar 30, 2026
722cac1
Update hash of stochastic_physics.
gsketefian Mar 30, 2026
aaf05d0
Modify Makefile so that TEMPO's ccn_activate.bin file gets copied to …
gsketefian Mar 30, 2026
b3a8e0c
Update hash of stochastic_physics.
gsketefian Mar 31, 2026
462953d
Comment out lines that try to build the run_build_tables executable t…
gsketefian Mar 31, 2026
e3dedb8
Add code to choose between Makefile.gfortran and Makefile.intel when …
gsketefian Apr 1, 2026
91bcfba
Bug fixes and improvements to Makefiles.
gsketefian Apr 2, 2026
7782ece
Update hash of stochastic_physics.
gsketefian Apr 2, 2026
0c2d253
Add lines to GitHub Actions workflow file that will link in the Intel…
gsketefian Apr 2, 2026
2934e47
Find location of MKL library on GitHub runner.
gsketefian Apr 2, 2026
97a98ec
Second attempt to find MKL library.
gsketefian Apr 2, 2026
fe3720c
Install MKL library in Github Actions.
gsketefian Apr 2, 2026
0f4d720
Fix MKL locations in Github Actions runner.
gsketefian Apr 2, 2026
1b05207
Bug fixes to Github Actions workflow file.
gsketefian Apr 2, 2026
18f58f3
More debugging of GitHub Actions workflow file.
gsketefian Apr 3, 2026
82c99cd
More debugging.
gsketefian Apr 3, 2026
9c61e2b
Revert changes to the GitHub Actions workflow for building with intel…
gsketefian Apr 13, 2026
0fa1e18
Update hash of stochastic_physics.
gsketefian Apr 13, 2026
3df060f
Change end-of-file to that of original version.
gsketefian Apr 13, 2026
f7bbe96
Revert changes to the physics Makefile (that enables the TEMPO table …
gsketefian Apr 13, 2026
7b16ef3
Update hash of stochastic_physics.
gsketefian Apr 13, 2026
0392599
Update hash of stochastic_physics.
gsketefian Apr 20, 2026
9ab0b28
Change settings to allow MKL library to be installed via the "github.…
gsketefian Apr 20, 2026
bc505ea
Fixes to make "use netcdf" in stochastic_physics source code to work.
gsketefian Apr 20, 2026
d0e3081
Bug fix in GitHub Actions workflow file.
gsketefian Apr 20, 2026
854d03a
Bug fix in name of workflow step.
gsketefian Apr 20, 2026
de13c51
Remove commented-out lines.
gsketefian Apr 20, 2026
4f70fc4
Modify Makefiles to generalize linear algebra libraries, which are di…
gsketefian Apr 20, 2026
418a721
Modify CI build for gnu (gfortran) so that it also installs the GNU l…
gsketefian Apr 20, 2026
feabe8a
Add path to NETCDF includes for GNU CI build.
gsketefian Apr 20, 2026
6928c67
Add NetCDF libraries, includes, and mod files to paths.
gsketefian Apr 20, 2026
cd5d572
Changes suggested by Guoqing to get the build to work with cmake on H…
gsketefian Apr 21, 2026
698c79e
Bug fixes to get cmake to work, as suggested by claude.
gsketefian Apr 21, 2026
cac3749
Change name of stochastic_physics source file from stochastic_physics…
gsketefian Apr 21, 2026
6dd333b
Update hash of stochastic_physics.
gsketefian Apr 21, 2026
a25dfe6
Update hash of stochastic_physics.
gsketefian Apr 22, 2026
58a711c
Add a step to the run_mpas_hrrr workflow to set up paths to NetCDF li…
gsketefian Apr 22, 2026
e0b453d
Make the sections for linking with NetCDF in the two tests similar.
gsketefian Apr 22, 2026
2a6bc97
Add step to install linear algebra libraries into run_mpas_hrrr.yml.
gsketefian Apr 22, 2026
d6e1f8f
Bug fix to remove sudo, which is not needed.
gsketefian Apr 22, 2026
f5da9c8
Add to the NetCDF installation that of the NetCDF-Fortran library.
gsketefian Apr 22, 2026
54b4d65
Add the LAPACK/BLAS and NetCDF installations as was done for run_mpas…
gsketefian Apr 22, 2026
5531c08
Fix indentation.
gsketefian Apr 24, 2026
8268420
Update hash of stochastic_physics.
gsketefian Apr 24, 2026
344f18d
Modifications to module files on derecho, gaeac6, orion, and ursa to …
gsketefian Apr 24, 2026
b6687fd
Temporarily turn off original set of CI tests while debugging the one…
gsketefian Apr 27, 2026
105d329
Add workflow file and namelist and stream files for stochastic physic…
gsketefian Apr 27, 2026
d5970aa
Turn on automatic running of stochastic physics CI test.
gsketefian Apr 27, 2026
e49a7f0
Fix up title and bugs in stochastic physics CI test workflow.
gsketefian Apr 27, 2026
9aa14e8
Fix workflow name in file; add debugging lines to run setup step; com…
gsketefian Apr 27, 2026
7ec0238
More debugging lines.
gsketefian Apr 27, 2026
d63ebe0
More bug fixes to workflow file.
gsketefian Apr 27, 2026
9368780
More workflow debugging.
gsketefian Apr 27, 2026
ef1dd30
CI workflow debugging.
gsketefian Apr 27, 2026
25305d5
More debugging CI test for stoch phys.
gsketefian Apr 27, 2026
75bd766
Debugging.
gsketefian Apr 27, 2026
f661b63
Debugging.
gsketefian Apr 27, 2026
726cadb
Modify namelist for stochastic physics test to activate SPPT.
gsketefian Apr 27, 2026
2ed6c4b
Re-activate build for the feature branch.
gsketefian Apr 27, 2026
b7c7c53
More debugging.
gsketefian Apr 28, 2026
8480bf1
More debugging.
gsketefian Apr 28, 2026
c10ae98
Debugging CI tests.
gsketefian Apr 28, 2026
aaa661d
Debugging and cleanup.
gsketefian Apr 28, 2026
136c951
Debugging.
gsketefian Apr 28, 2026
520fb03
Bug fix.
gsketefian Apr 28, 2026
ab72f9e
Debugging.
gsketefian Apr 28, 2026
809f353
Debugging.
gsketefian Apr 28, 2026
d58fb53
Debugging.
gsketefian Apr 28, 2026
75b64e3
Change namelist file for stochastic physics CI test.
gsketefian Apr 28, 2026
a71c15d
Debugging.
gsketefian Apr 28, 2026
d15a7dc
Change name of baseline directory in worklow tests from gsl/develop t…
gsketefian Apr 30, 2026
e6f2e35
Change workflow file for stochastic physics CI test(s) so that the lo…
gsketefian Apr 30, 2026
3c714b8
Clean up stochastic CI test workflow.
gsketefian May 1, 2026
e80b093
Make &physics namelist for stoch CI test more similar to the namelist…
gsketefian May 1, 2026
9b6ccbd
Debugging.
gsketefian May 1, 2026
a5a99c2
Try defining new variables in the workflow file.
gsketefian May 1, 2026
a1de8c8
Streamlining, debugging, and commenting.
gsketefian May 1, 2026
3a7f70f
Bug fix.
gsketefian May 1, 2026
88d4fc3
Debugging.
gsketefian May 1, 2026
ab31dc8
Bug fix and more debugging statements.
gsketefian May 1, 2026
feb1bf8
Cleanup and improvments to stochastic CI test workflow.
gsketefian May 1, 2026
c76cafb
Cleanup and improvements.
gsketefian May 1, 2026
4868593
More improvements.
gsketefian May 2, 2026
db1f672
Bug fix.
gsketefian May 2, 2026
99273c3
Bug fix.
gsketefian May 2, 2026
82f53fc
Cache miniconda and a bug fix.
gsketefian May 2, 2026
09cb179
Bug fixes and improvements.
gsketefian May 2, 2026
d92cf65
Bug fix to the bug fix.
gsketefian May 2, 2026
93cf56b
Cleanup and improvements.
gsketefian May 2, 2026
2fecafd
Improvements and cleanup.
gsketefian May 2, 2026
b29539a
Use the built-in variable GITHUB_WORKSPACE to set SRCDIR_FT.
gsketefian May 2, 2026
0b16b70
Remove extra tailing slash in definition of runner_ROOT.
gsketefian May 2, 2026
ec6d55a
Bug fix.
gsketefian May 2, 2026
1d1a751
Try cacheing the conda environment.
gsketefian May 2, 2026
ad9059c
Minor cleanup.
gsketefian May 2, 2026
6a8dd69
Change the time-scale for the first SPPT pattern to 600 sec (10 minut…
gsketefian May 2, 2026
b4404ea
Update deprecated settings.
gsketefian May 2, 2026
7f08724
Have the SPPT pattern change with every time step.
gsketefian May 2, 2026
c5fe27f
Explicitly set spptint to the same value as the time step.
gsketefian May 2, 2026
4080bae
Change timescale for SPPT pattern 1.
gsketefian May 2, 2026
7eb4f63
Go back to original values.
gsketefian May 2, 2026
e3f5fc8
Increase forecast length to 6 hours.
gsketefian May 2, 2026
d1e4f46
Bug fix.
gsketefian May 2, 2026
6b86b77
Bug fix - change output interval of diag stream.
gsketefian May 2, 2026
3cdae2d
Change time scale of first SPPT pattern.
gsketefian May 2, 2026
15bb71f
Change timestep to 60sec.
gsketefian May 2, 2026
144994e
Try different SPPT settings.
gsketefian May 2, 2026
2e3b6a4
Modifications to get make build to work on gaeac6.
gsketefian May 6, 2026
cbd7910
Clean up the streams.atmosphere file.
gsketefian May 14, 2026
b48b17d
Update namelist for stochastic physics run with the one that was test…
gsketefian May 14, 2026
531b5fb
Change integration time to only 1 hour but still maintain 6 output ti…
gsketefian May 14, 2026
e613d69
Rename directory to say "convection_permitting" instead of "hrrrv5" (…
gsketefian May 14, 2026
bb2ead2
Correct the name of the suite being used in the CI test for stochasti…
gsketefian May 14, 2026
36f8347
Remove fail-safes for the run tasks in the CI testing workflow for st…
gsketefian May 14, 2026
3efd1d7
Clean up comments in CI test workflow script.
gsketefian May 14, 2026
22616fe
Remove the chemistry namelist from the namelist file.
gsketefian May 14, 2026
c78dffe
Enable automatic running of all CI tests (i.e. run on branch push to …
gsketefian May 14, 2026
148ad22
Add stochastic pattern on both the MPAS mesh and the gaussian grid to…
gsketefian May 15, 2026
f4dc652
Move tendendcy names to perturb out of MPAS code and into MPAS stocha…
dustinswales May 15, 2026
6b1378d
Update stochastic physics hash
dustinswales May 15, 2026
bb51659
Turn off baseline build/run in CI scipt, for now
dustinswales May 15, 2026
33f520a
WIP
dustinswales May 15, 2026
65aa411
WIP
dustinswales May 15, 2026
5a86497
WIP
dustinswales May 15, 2026
f027947
WIP
dustinswales May 15, 2026
097b551
WIP
dustinswales May 15, 2026
5e55ff0
WIP
dustinswales May 15, 2026
a974991
Revert turning off CI tests
dustinswales May 15, 2026
d20b8ef
Address reviewer comments
dustinswales May 15, 2026
51a2504
Turn off running of most CI tests after push except for the stoch test.
gsketefian May 15, 2026
fffc50a
Make the "Run MPAS" tasks for both the baseline and feature branch al…
gsketefian May 15, 2026
1162b34
Add flag that allows only a subset of the run directories to be copie…
gsketefian May 20, 2026
580c7b2
Bug fix (hopefully) to the "Run MPAS -- baseline branch" failing.
gsketefian May 20, 2026
89553e8
Dustin's recommended modifications for dealing with tendency names.
gsketefian May 20, 2026
47def07
Update hash of stochastic_physics.
gsketefian May 20, 2026
b4e817d
Rearrange order of variables so the stream_list files are more simila…
gsketefian May 21, 2026
b840770
Bug fix to match actual argument to dummy argument.
gsketefian May 21, 2026
a538b2b
Update hash of stochastic_physics.
gsketefian May 21, 2026
c4960a0
Remove setting of microphysics scheme to TEMPO from namelist file for…
gsketefian May 21, 2026
5204bf2
Add hrrrv5 as a second suite to test with stochastic physics enabled.
gsketefian May 21, 2026
c8e0a1f
Enable CI testing on push.
gsketefian May 21, 2026
ed2aab1
Merge branch 'noaa/develop' into gsl/MPAS_stoch_physics_try_merge_sto…
gsketefian May 21, 2026
ecfa272
Update hashes of submodules.
gsketefian May 21, 2026
96cc4cb
Update hashes of submodules.
gsketefian May 21, 2026
88540a6
Bug fix.
gsketefian May 21, 2026
c1d4701
Temporarily turn off original set of CI tests.
gsketefian May 21, 2026
801970b
Add new directory containing setup files for testing stochastic physi…
gsketefian May 21, 2026
11d67dc
Now that the MP being used for convection_permitting suite is not bei…
gsketefian May 21, 2026
4586205
Hopefully a bug fix.
gsketefian May 21, 2026
2913f5f
Remove fail-safes for the "Run MPAS" tasks and hope for the best; rem…
gsketefian May 21, 2026
e1018f9
Modifications required to make MPAS-Model work with the latest change…
gsketefian May 23, 2026
0c30c07
Update hash of stochastic_physics.
gsketefian May 23, 2026
83f67f7
Make input files for phys_suite=hrrrv5 CI test as similar as possible…
gsketefian May 23, 2026
a0e7691
Make namelist files for the two suites (convection_permitting and hrr…
gsketefian May 24, 2026
e9cba01
Update hash of stochastic_physics.
gsketefian May 24, 2026
de41c8a
Update hash of stochastic_physics.
gsketefian May 25, 2026
33317b0
Always use mpi_f08 in the cmake build. This is required for compatib…
gsketefian May 25, 2026
ce29b86
Update hash of stochastic_physics.
gsketefian May 25, 2026
ee0e9e5
Enable original set of CI tests on a branch push.
gsketefian May 25, 2026
0262d90
Merge Dustin's PR#4 changes into gsketefian's later changes (some of …
gsketefian May 26, 2026
113e786
Merge branch 'dustinswales-feature/stochy_cleanup' into gsl/MPAS_stoc…
gsketefian May 26, 2026
8ac2611
Temporarily switch to an earlier hash of stochastich_physics to allow…
gsketefian May 26, 2026
68cbcb4
Merge pull request #4 from dustinswales/feature/stochy_cleanup
gsketefian May 26, 2026
e972b54
Update hash of stochastic_physics back to latest now that Dustin's PR…
gsketefian May 26, 2026
8c5e7e6
Update hash of stochastic_physics.
gsketefian May 26, 2026
950c0d1
Merge remote-tracking branch 'refs/remotes/dtc_fork/gsl/MPAS_stoch_ph…
gsketefian May 26, 2026
4c45465
Update name of fortran file name in parent CMakeLists.txt file of sto…
gsketefian May 26, 2026
bd441e1
Fix stochastic_physics submodule URL to use dtcenter repo.
gsketefian May 26, 2026
ec3399f
Remove commented-out line (#on: [workflow_dispatch]) used to turn off…
gsketefian Jun 1, 2026
6f44536
Fix bug/typo.
gsketefian Jun 1, 2026
1cdac0f
Update hash of stochastic_physics.
gsketefian Jun 2, 2026
701ad92
Enable the build-time macro CESMENABLED to access the "dgemm" matrix …
gsketefian Jun 2, 2026
44b219d
Update hash of stochastic_physics.
gsketefian Jun 2, 2026
ba6ce23
Set the CESMCOUPLED build-time macro in the main Makefile so that whe…
gsketefian Jun 2, 2026
cba7203
Remove from the main Makefile the recently-added build target "intel-…
gsketefian Jun 2, 2026
058d494
Edit comments for clarity.
gsketefian Jun 3, 2026
db5705a
Merge branch 'noaa/develop' into gsl/MPAS_stoch_physics_try_merge_sto…
gsketefian Jun 3, 2026
ba5daf2
Remove -I flag in a linker command since a -I is only needed when com…
gsketefian Jun 5, 2026
ab7b160
Changes to enable a make-based build with stochastic_physics on ursa.
gsketefian Jun 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/build_mpas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install NetCDF library
run: |
sudo apt-get update
sudo apt-get install libnetcdff-dev
sudo apt-get install libnetcdff-dev liblapack-dev libblas-dev

- name: Cache openmpi
id: cache-openmpi
Expand Down Expand Up @@ -138,6 +138,18 @@ jobs:
echo "LD_LIBRARY_PATH=${PNETCDF}/bin:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "PATH=${PNETCDF}/bin:$PATH" >> $GITHUB_ENV

- name: Setup NetCDF
run: |
NETCDF_DIR=/home/runner/NetCDF
mkdir -p ${NETCDF_DIR}/lib ${NETCDF_DIR}/include
for f in /usr/include/netcdf*.h /usr/include/netcdf*.inc /usr/include/netcdf*.mod; do
[ -e "$f" ] && ln -sf "$f" ${NETCDF_DIR}/include/ || true
done
for f in /usr/lib/x86_64-linux-gnu/libnetcdf*.so; do
[ -e "$f" ] && ln -sf "$f" ${NETCDF_DIR}/lib/ || true
done
echo "NETCDF=${NETCDF_DIR}" >> $GITHUB_ENV

# - name: Setup environment
# run: |
# echo "FC=mpif90" >> $GITHUB_ENV
Expand Down
33 changes: 29 additions & 4 deletions .github/workflows/build_mpas_intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
install-mpi: true
install-oneapi: false
mpi-wrapper-setup: classic
install-mkl: true

- name: Cache Intel
id: cache-INTEL
Expand All @@ -49,10 +50,17 @@ jobs:
path: /opt/intel/oneapi/mpi/2021.10.0
key: cache-AUTOTOOLS-${{matrix.fortran-compiler}}-key

- name: Install NetCDF library
- name: Install NetCDF-C library
run: |
sudo apt-get update
sudo apt-get install libnetcdff-dev
sudo apt-get install libnetcdf-dev

- name: Cache NetCDF-Fortran
id: cache-netcdf-fortran
uses: actions/cache@v4
with:
path: /home/runner/NetCDF
key: cache-NetCDF-Fortran-${{matrix.fortran-compiler}}-key

- name: Cache GNU autotools
id: cache-AUTOTOOLS
Expand Down Expand Up @@ -102,7 +110,7 @@ jobs:
key: cache-PnetCDF-${{matrix.fortran-compiler}}-key

- name: Install PnetCDF
if: steps.cache-PnetCDF.outputs.cache-hit != 'true'
if: steps.cache-pnetcdf.outputs.cache-hit != 'true'
run: |
set -x
echo "LD_LIBRARY_PATH=${AUTOTOOLS}/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
Expand All @@ -129,6 +137,23 @@ jobs:
echo "LD_LIBRARY_PATH=${AUTOTOOLS}/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "PATH=${PNETCDF}/bin:$PATH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=${PNETCDF}/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "NETCDF=/home/runner/NetCDF" >> $GITHUB_ENV

- name: Build NetCDF-Fortran
if: steps.cache-netcdf-fortran.outputs.cache-hit != 'true'
run: |
NETCDF_F_VERSION=4.6.1
wget -q https://github.com/Unidata/netcdf-fortran/archive/refs/tags/v${NETCDF_F_VERSION}.tar.gz
tar -xf v${NETCDF_F_VERSION}.tar.gz
cd netcdf-fortran-${NETCDF_F_VERSION}
autoreconf -i
FC=mpiifort CC=mpiicc \
CPPFLAGS="-I$(nc-config --includedir)" \
LDFLAGS="-L$(nc-config --libdir)" \
./configure --prefix=/home/runner/NetCDF
make -j 8 install
NCLIBDIR=$(nc-config --libdir)
ln -sf ${NCLIBDIR}/libnetcdf.so /home/runner/NetCDF/lib/libnetcdf.so

- name: Build MPAS Standalone (make)
if: matrix.build-system == 'make'
Expand All @@ -144,4 +169,4 @@ jobs:
mkdir build
cd build
cmake -DMPAS_DOUBLE_PRECISION=OFF -DMPAS_CORES="init_atmosphere;atmosphere" ..
make -j8
make -j8
17 changes: 17 additions & 0 deletions .github/workflows/run_mpas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,23 @@ jobs:
echo "FC=mpiifx" >> $GITHUB_ENV
echo "MPICC=/opt/intel/oneapi/mpi/latest/bin/mpiicx" >> $GITHUB_ENV

- name: Install LAPACK/BLAS
run: |
apt-get update -y
apt-get install -y liblapack-dev libblas-dev libnetcdff-dev

- name: Setup NetCDF
run: |
NETCDF_DIR=/home/runner/NetCDF
mkdir -p ${NETCDF_DIR}/lib ${NETCDF_DIR}/include
for f in /usr/include/netcdf*.h /usr/include/netcdf*.inc /usr/include/netcdf*.mod; do
[ -e "$f" ] && ln -sf "$f" ${NETCDF_DIR}/include/ || true
done
for f in /usr/lib/x86_64-linux-gnu/libnetcdf*.so; do
[ -e "$f" ] && ln -sf "$f" ${NETCDF_DIR}/lib/ || true
done
echo "NETCDF=${NETCDF_DIR}" >> $GITHUB_ENV

- name: Setup PnetCDF
run: |
echo "PNETCDF=/opt/pnetcdf" >> $GITHUB_ENV
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/run_mpas_hrrr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,23 @@ jobs:
echo "CXX=mpicxx" >> $GITHUB_ENV
echo "FC=mpif90" >> $GITHUB_ENV

- name: Install LAPACK/BLAS
run: |
apt-get update -y
apt-get install -y liblapack-dev libblas-dev libnetcdff-dev

- name: Setup NetCDF
run: |
NETCDF_DIR=/home/runner/NetCDF
mkdir -p ${NETCDF_DIR}/lib ${NETCDF_DIR}/include
for f in /usr/include/netcdf*.h /usr/include/netcdf*.inc /usr/include/netcdf*.mod; do
[ -e "$f" ] && ln -sf "$f" ${NETCDF_DIR}/include/ || true
done
for f in /usr/lib/x86_64-linux-gnu/libnetcdf*.so; do
[ -e "$f" ] && ln -sf "$f" ${NETCDF_DIR}/lib/ || true
done
echo "NETCDF=${NETCDF_DIR}" >> $GITHUB_ENV

- name: Setup PnetCDF
run: |
echo "PNETCDF=/opt/pnetcdf" >> $GITHUB_ENV
Expand Down
Loading
Loading