Skip to content

Commit

Permalink
separates cluster.json into separate files for prince and rusty
Browse files Browse the repository at this point in the history
  • Loading branch information
billbrod committed Sep 30, 2020
1 parent abf6f19 commit f1fb6a0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -576,9 +576,9 @@ rule create_metamers:
resources:
gpu = lambda wildcards: int(wildcards.gpu),
mem = get_mem_estimate,
partition = lambda wildcards: {0: 'gen'}.get(int(wildcards.gpu), 'gpu')
params:
cache_dir = lambda wildcards: op.join(config['DATA_DIR'], 'windows_cache'),
partition = lambda wildcards: {0: 'gen'}.get(int(wildcards.gpu), 'gpu')
run:
import foveated_metamers as met
import contextlib
Expand Down
File renamed without changes.
30 changes: 30 additions & 0 deletions rusty.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"__default__":
{
"nodes": 1,
"tasks_per_node": 1,
"mem": "48GB",
"time": "140:00:00",
"job_name": "{rule}.{wildcards}",
"cpus_per_task": 1,
"output": "{log}-%j",
"error": "{log}-%j",
"partition": "gen"
},
"create_metamers":
{
"gres": "gpu:v100-32gb:{resources.gpu}",
"mem": "{resources.mem}GB",
"partition": "{params.partition}"
},
"continue_metamers":
{
"gres": "gpu:v100-32gb:{resources.gpu}",
"mem": "{resources.mem}GB",
"partition": "{params.partition}"
},
"cache_windows":
{
"mem": "{resources.mem}GB"
}
}

0 comments on commit f1fb6a0

Please sign in to comment.