-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
for users on metworx and potentially other select environments that are still using grid engine - we need a basic grid submission template.
the scope can be targeted for metworx - where there is a uniform compute topology with only a single partition, so no need for the extra capabilities we provide in slurm.
https://github.com/metrumresearchgroup/bbi/blob/main/cmd/sge.go#L11 can be used as a reference:
const sgeTemplate string = `#!/bin/bash
#$ -N {{.JobName | shquote}}
#$ -V
#$ -j y
{{- if .Config.Parallel}}
#$ -pe orte {{.Config.Threads}}{{end}}
#$ -wd {{.WorkingDirectory | shquote}}
{{range .Command}}{{. | shquote}} {{end}}
`
and the command is qsub instead of sbatch
note the #$ prefix style. The -pe orte <threads> is the mechanism for which a "parallel environment" can be defined.
This should be able to be tested fine on a2-ai cloud clusters as slurm has qsub shims - though i'm not sure if they would behave completely correct with the -pe stuff.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels