-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from AlecThomson/prefect_all
Migrate the whole shebang to Prefect
- Loading branch information
Showing
23 changed files
with
896 additions
and
1,183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
# Set up for Magnus | ||
cores: 24 | ||
processes: 12 | ||
name: 'spice-worker' | ||
memory: "60GB" | ||
project: 'ja3' | ||
queue: 'workq' | ||
n_workers: 1000 | ||
walltime: '6:00:00' | ||
job_extra: ['-M magnus'] | ||
# interface for the workers | ||
interface: "ipogif0" | ||
log_directory: 'spice_logs' | ||
env_extra: [ | ||
'export OMP_NUM_THREADS=1', | ||
'source /home/$(whoami)/.bashrc', | ||
'conda activate spice' | ||
] | ||
python: 'srun -n 1 -c 24 python' | ||
extra: [ | ||
"--lifetime", "11h", | ||
"--lifetime-stagger", "5m", | ||
] | ||
death_timeout: 300 | ||
local_directory: '/dev/shm' | ||
# Set up for local mahine | ||
cluster_class: "distributed.LocalCluster" | ||
cluster_kwargs: | ||
cores: 1 | ||
processes: 1 | ||
name: 'spice-worker' | ||
memory: "8GB" | ||
adapt_kwargs: | ||
minimum: 1 | ||
maximum: 8 | ||
wait_count: 20 | ||
target_duration: "300s" | ||
interval: "30s" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
# Set up for Petrichor | ||
cores: 8 | ||
processes: 8 | ||
name: 'spice-worker' | ||
memory: "64GiB" | ||
account: 'OD-217087' | ||
#queue: 'workq' | ||
walltime: '0-8:00:00' | ||
job_extra_directives: ['--qos express'] | ||
# interface for the workers | ||
interface: "ib0" | ||
log_directory: 'spice_logs' | ||
job_script_prologue: [ | ||
'module load singularity', | ||
] | ||
# job_script_prologue: [ | ||
# 'export OMP_NUM_THREADS=1', | ||
# 'source /home/$(whoami)/.bashrc', | ||
# 'conda activate spice' | ||
# ] | ||
# python: 'srun -n 1 -c 64 python' | ||
#worker_extra_args: [ | ||
# "--lifetime", "23h", | ||
# "--lifetime-stagger", "5m", | ||
#] | ||
death_timeout: 1000 | ||
local_directory: $LOCALDIR | ||
silence_logs: 'info' | ||
cluster_class: "dask_jobqueue.SLURMCluster" | ||
cluster_kwargs: | ||
cores: 8 | ||
processes: 8 | ||
name: 'spice-worker' | ||
memory: "64GiB" | ||
account: 'OD-217087' | ||
#queue: 'workq' | ||
walltime: '0-01:00:00' | ||
job_extra_directives: ['--qos express'] | ||
# interface for the workers | ||
interface: "ib0" | ||
log_directory: 'spice_logs' | ||
job_script_prologue: [ | ||
'module load singularity', | ||
'unset SINGULARITY_BINDPATH' | ||
] | ||
local_directory: $LOCALDIR | ||
silence_logs: 'info' | ||
adapt_kwargs: | ||
minimum: 1 | ||
maximum: 36 | ||
wait_count: 20 | ||
target_duration: "300s" | ||
interval: "30s" |
Oops, something went wrong.