Skip to content

Commit

Permalink
put bind in front of partition
Browse files Browse the repository at this point in the history
  • Loading branch information
yuema137 committed Apr 19, 2024
1 parent 64bcbe2 commit 82a36ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utilix/batchq.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ class JobSubmission(BaseModel):
False, description="Exclude the loosely coupled nodes"
)
log: str = Field("job.log", description="Where to store the log file of the job")
bind: List[str] = Field(
default_factory=lambda: DEFAULT_BIND,
description="Paths to add to the container. Immutable when specifying dali as partition",
)
partition: Literal[
"dali", "lgrandi", "xenon1t", "broadwl", "kicp", "caslake", "build"
] = Field("xenon1t", description="Partition to submit the job to")
Expand All @@ -137,10 +141,6 @@ class JobSubmission(BaseModel):
container: str = Field(
"xenonnt-development.simg", description="Name of the container to activate"
)
bind: List[str] = Field(
default_factory=lambda: DEFAULT_BIND,
description="Paths to add to the container. Immutable when specifying dali as partition",
)
cpus_per_task: int = Field(1, description="CPUs requested for job")
hours: Optional[float] = Field(None, description="Max hours of a job")
node: Optional[str] = Field(
Expand Down

0 comments on commit 82a36ce

Please sign in to comment.