Skip to content

Commit

Permalink
Fix linmos
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecThomson committed Dec 13, 2023
1 parent 928cbd1 commit 96dfa1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arrakis/linmos.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def main(
all_parfiles.extend(parfiles)

results = linmos.map(
quote(all_parfiles),
all_parfiles,
unmapped(field),
unmapped(str(image)),
unmapped(holofile),
Expand Down
3 changes: 1 addition & 2 deletions arrakis/process_spice.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,7 @@ def create_client(
cluster.adapt(minimum=minimum, maximum=maximum)
elif mode == "scale":
cluster.scale(maximum)
# cluster.scale(36)

# cluster = LocalCluster(n_workers=10, processes=True, threads_per_worker=1, local_directory="/dev/shm",dashboard_address=f":{args.port}")
client = Client(cluster)
port = client.scheduler_info()["services"]["dashboard"]

Expand Down Expand Up @@ -359,6 +357,7 @@ def main(args: configargparse.Namespace) -> None:
port_forward=args.port_forward,
minimum=1,
maximum=256,
mode="scale",
)

# Define flow
Expand Down

0 comments on commit 96dfa1b

Please sign in to comment.