Created
May 23, 2018 22:50
-
-
Save buchanae/c476220d14d8a116b71ad0db309f7dc9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compute: gridengine | |
GridEngine: | |
Template: | | |
#!/bin/bash | |
#$ -N {{.TaskId}} | |
#$ -o {{.WorkDir}}/funnel-stdout | |
#$ -e {{.WorkDir}}/funnel-stderr | |
{{if ne .Cpus 0 -}} | |
{{printf "#$ -pe mpi %d" .Cpus}} | |
{{- end}} | |
{{if ne .RamGb 0.0 -}} | |
{{printf "#$ -l h_vmem=%.0fG" .RamGb}} | |
{{- end}} | |
{{if ne .DiskGb 0.0 -}} | |
{{printf "#$ -l h_fsize=%.0fG" .DiskGb}} | |
{{- end}} | |
{{.Executable}} worker run --config {{.Config}} --task-id {{.TaskId}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment