Skip to content

Commit

Permalink
slightly increase RAM per CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-fred committed Oct 14, 2023
1 parent d6f1f8d commit eff6a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/exposure/wind_fields.smk
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ rule estimate_wind_fields:
threads: threads_for_country
resources:
# 2GB RAM per CPU
mem_mb = lambda wildcards: threads_for_country(wildcards) * 2_000
mem_mb = lambda wildcards: threads_for_country(wildcards) * 2_048
output:
# enable or disable plotting in the config file
plot_dir=directory("{OUTPUT_DIR}/power/by_country/{COUNTRY_ISO_A3}/storms/{STORM_SET}/{SAMPLE}/plots/"),
Expand Down

0 comments on commit eff6a2b

Please sign in to comment.