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

Use local config for htex MPI test, instead of setup/teardown fixutre #3398

Merged
merged 2 commits into from Apr 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 2 additions & 8 deletions parsl/tests/test_mpi_apps/test_resource_spec.py
Expand Up @@ -25,17 +25,11 @@
EXECUTOR_LABEL = "MPI_TEST"


def local_setup():
def local_config():
config = fresh_config()
config.executors[0].label = EXECUTOR_LABEL
config.executors[0].max_workers_per_node = 1
parsl.load(config)


def local_teardown():
logging.warning("Exiting")
parsl.dfk().cleanup()
parsl.clear()
return config


@python_app
Expand Down