Skip to content

Commit

Permalink
Merge branch 'master' into struct_access_interstate_edge_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
phschaad authored May 30, 2024
2 parents 8bd0f16 + 7214739 commit 2ac07b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pyFV3-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ master, ci-fix ]
pull_request:
branches: [ master, ci-fix ]
merge_group:
branches: [ master, ci-fix ]

defaults:
run:
Expand Down Expand Up @@ -35,8 +37,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install library dependencies
run: |
sudo apt-get install libopenmpi-dev libboost-all-dev gcc-13
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 13
sudo apt-get update
sudo apt-get install -y libopenmpi-dev libboost-all-dev
gcc --version
# Because Github doesn't allow us to do a git checkout in code
# we use a trick to checkout DaCe first (not using the external submodule)
Expand Down
2 changes: 2 additions & 0 deletions dace/sdfg/sdfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -1520,6 +1520,8 @@ def save(self, filename: str, use_pickle=False, hash=None, exception=None, compr
:param compress: If True, uses gzip to compress the file upon saving.
:return: The hash of the SDFG, or None if failed/not requested.
"""
filename = os.path.expanduser(filename)

if compress:
fileopen = lambda file, mode: gzip.open(file, mode + 't')
else:
Expand Down

0 comments on commit 2ac07b0

Please sign in to comment.