Skip to content

Commit

Permalink
Check bind before partition
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Jun 4, 2024
1 parent 061b783 commit 8e66378
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utilix/batchq.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ 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")
partition: Literal[
"dali", "lgrandi", "xenon1t", "broadwl", "kicp", "caslake", "build"
] = Field("xenon1t", description="Partition to submit the job to")
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")
qos: str = Field("xenon1t", description="QOS to submit the job to")
account: str = Field("pi-lgrandi", description="Account to submit the job to")
jobname: str = Field("somejob", description="How to name this job")
Expand Down

0 comments on commit 8e66378

Please sign in to comment.