Skip to content

Commit

Permalink
revised launch settings
Browse files Browse the repository at this point in the history
  • Loading branch information
floriscalkoen committed Jul 31, 2024
1 parent 989f57f commit 949ef7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/coastpy/utils/dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,9 @@ def _create_slurm_client(self, *args: Any, **kwargs: Any):
# Define default values specific to SLURM
slurm_configs = {
"cores": 1, # Cores per worker
"memory": "12GB", # Memory per worker
"processes": 1, # Processes per worker
"n_workers": 5,
"memory": "12GB", # Memory per worker
"local_directory": "/scratch/frcalkoen/tmp",
"walltime": "4:00:00",
}
Expand All @@ -98,7 +99,7 @@ def _create_slurm_client(self, *args: Any, **kwargs: Any):
# Create the SLURM cluster
cluster = SLURMCluster(*args, **slurm_configs)

cluster.scale(jobs=5)
# cluster.scale(jobs=5)

# min_jobs = kwargs.pop(
# "minimum_jobs", dask.config.get("jobqueue.adaptive.minimum", 1)
Expand Down

0 comments on commit 949ef7e

Please sign in to comment.