Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DEV_ALLOC_SIZE for ecwam regression and add SCC-HOIST variant #351

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions .github/workflows/regression_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ jobs:
- name: Install ECWAM dependencies
run: |
sudo apt-get -o Acquire::Retries=3 install -y libopenmpi-dev
source loki-activate
pip install fypp
pip install pyyaml fypp
- name: Run CLOUDSC and ECWAM regression tests
env:
Expand Down
4 changes: 2 additions & 2 deletions loki/transformations/tests/test_ecwam.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def fixture_bundle_create(here, local_loki_bundle):

@pytest.mark.usefixtures('bundle_create')
@pytest.mark.skipif(not HAVE_FP, reason="FP needed for ECWAM parsing")
@pytest.mark.parametrize('mode', ['idem', 'idem-stack', 'scc', 'scc-stack'])
@pytest.mark.parametrize('mode', ['idem', 'idem-stack', 'scc', 'scc-stack', 'scc-hoist'])
def test_ecwam(here, mode, tmp_path):
build_dir = tmp_path/'build'
build_cmd = [
Expand All @@ -68,7 +68,7 @@ def test_ecwam(here, mode, tmp_path):
# Raise stack limit
resource.setrlimit(resource.RLIMIT_STACK, (resource.RLIM_INFINITY, resource.RLIM_INFINITY))
env = os.environ.copy()
env.update({'OMP_STACKSIZE': '2G', 'NVCOMPILER_ACC_CUDA_HEAPSIZE': '2G'})
env.update({'OMP_STACKSIZE': '2G', 'NVCOMPILER_ACC_CUDA_HEAPSIZE': '2G', 'DEV_ALLOC_SIZE': '2147483648'})

# create rundir
rundir = build_dir/'wamrun_48'
Expand Down
Loading