Skip to content

Commit 7928c94

Browse files
committed
Version 25.05.20
1 parent f1a6805 commit 7928c94

File tree

5 files changed

+31
-17
lines changed

5 files changed

+31
-17
lines changed

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ authors:
3232
orcid: "https://orcid.org/0000-0002-0673-4860"
3333

3434
title: "PROTEUS"
35-
version: 25.03.28
35+
version: 25.05.20
3636
doi: 10.xx/xx.xx
37-
date-released: 2025-03-28
37+
date-released: 2025-05-20
3838
url: "https://github.com/FormingWorlds/PROTEUS"

input/planets/l9859d.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ author = "Harrison Nicholls, Tim Lichtenberg"
126126

127127

128128
[outgas]
129-
fO2_shift_IW = 0 # log10(ΔIW), atmosphere/interior boundary oxidation state
129+
fO2_shift_IW = -3 # log10(ΔIW), atmosphere/interior boundary oxidation state
130130
module = "calliope" # Which outgassing module to use
131131

132132
[delivery]
@@ -137,7 +137,7 @@ author = "Harrison Nicholls, Tim Lichtenberg"
137137
H_ppmw = 800.0 # Hydrogen inventory in ppmw relative to mantle mass
138138
CH_ratio = 1.0 # C/H mass ratio in mantle/atmosphere system
139139
NH_ratio = 0.018 # N/H mass ratio in mantle/atmosphere system
140-
SH_ratio = 4.0 # S/H mass ratio in mantle/atmosphere system
140+
SH_ratio = 8.0 # S/H mass ratio in mantle/atmosphere system
141141

142142
[observe]
143143
synthesis = "platon"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
66
[project]
77
name = "fwl-proteus"
8-
version = "25.03.28"
8+
version = "25.05.20"
99
description = "Coupled atmosphere-interior framework to simulate the temporal evolution of rocky planets"
1010
readme = "README.md"
1111
requires-python = ">=3.11"
@@ -126,7 +126,7 @@ indent-style = "space"
126126

127127
[tool.bumpversion]
128128
# https://callowayproject.github.io/bump-my-version/howtos/calver/
129-
current_version = "25.03.28"
129+
current_version = "25.05.20"
130130
parse = """(?x) # Verbose mode
131131
(?P<release> # The release part
132132
(?:[1-9][0-9])\\. # YY.

src/proteus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
from .proteus import Proteus
44

5-
__version__ = '25.03.28'
5+
__version__ = '25.05.20'
66

77
__all__ = ['Proteus']

tools/grid_proteus.py

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ def slurm_config(self, max_jobs:int, test_run:bool=False,
468468
"""
469469

470470
max_days = int(max_days) # ensure integer
471+
max_jobs = min(max_jobs, self.size) # do not request more jobs than we need
471472

472473
log.info("Generating PROTEUS slurm config for parameter grid '%s'" % self.name)
473474
log.info("Will run for up to %d days per job" % max_days)
@@ -530,13 +531,13 @@ def slurm_config(self, max_jobs:int, test_run:bool=False,
530531
print("Start GridPROTEUS")
531532

532533
# Output folder name, created inside `PROTEUS/output/`
533-
folder = "scratch/l98d_habrok3"
534+
folder = "scratch/l98d_habrok5"
534535

535536
# Use SLURM?
536537
use_slurm = True
537538

538539
# Execution limits
539-
max_jobs = 320 # maximum number of concurrent tasks
540+
max_jobs = 300 # maximum number of concurrent tasks
540541
max_days = 1 # maximum number of days to run
541542
max_mem = 3 # maximum memory per CPU in GB
542543

@@ -554,17 +555,19 @@ def slurm_config(self, max_jobs:int, test_run:bool=False,
554555
pg = Grid(folder, cfg_base, symlink_dir=symlink)
555556

556557
# Add dimensions to grid...
557-
pg.add_dimension("Redox state", "outgas.fO2_shift_IW")
558-
pg.set_dimension_arange("Redox state", -4.5, 0.0, 0.5)
558+
# pg.add_dimension("Redox state", "outgas.fO2_shift_IW")
559+
# pg.set_dimension_arange("Redox state", -4.5, 0.0, 0.5)
559560

560-
pg.add_dimension("Hydrogen", "delivery.elements.H_ppmw")
561-
pg.set_dimension_arange("Hydrogen", 16000, 1000, -3000)
561+
# pg.add_dimension("Hydrogen", "delivery.elements.H_ppmw")
562+
# pg.set_dimension_arange("Hydrogen", 16000, 1000, -3000)
563+
564+
# pg.add_dimension("Sulfur", "delivery.elements.SH_ratio")
565+
# pg.set_dimension_direct("Sulfur", [2, 4, 6, 8, 10])
566+
567+
# pg.add_dimension("Mass", "struct.mass_tot")
568+
# pg.set_dimension_direct("Mass", [1.85, 2.14, 2.39])
562569

563-
pg.add_dimension("Sulfur", "delivery.elements.SH_ratio")
564-
pg.set_dimension_direct("Sulfur", [2, 4, 6, 8, 10])
565570

566-
pg.add_dimension("Mass", "struct.mass_tot")
567-
pg.set_dimension_direct("Mass", [1.85, 2.14, 2.39])
568571

569572

570573
# pg.add_dimension("Eccentricity", "orbit.eccentricity")
@@ -579,6 +582,17 @@ def slurm_config(self, max_jobs:int, test_run:bool=False,
579582
# pg.add_dimension("Bands", "atmos_clim.agni.spectral_bands")
580583
# pg.set_dimension_direct("Bands", ["16", "48", "256"])
581584

585+
586+
pg.add_dimension("Hydrogen", "delivery.elements.H_ppmw")
587+
pg.set_dimension_arange("Hydrogen", 8000, 30000, 2000)
588+
589+
pg.add_dimension("Efficiency", "escape.zephyrus.efficiency")
590+
pg.set_dimension_arange("Efficiency", 0.0, 0.25, 0.025)
591+
592+
pg.add_dimension("Redox state", "outgas.fO2_shift_IW")
593+
pg.set_dimension_direct("Redox state", [-3,-2])
594+
595+
582596
# Print information
583597
pg.print_setup()
584598
pg.generate()

0 commit comments

Comments
 (0)