From b8eb77affce7b4c1a70876f7026b732c8f959a4a Mon Sep 17 00:00:00 2001 From: Jeremy Nicklas <jnicklas@osc.edu> Date: Wed, 30 Aug 2017 11:11:02 -0400 Subject: [PATCH] add more examples --- submit.yml.erb | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/submit.yml.erb b/submit.yml.erb index 8f9641d..20a308c 100644 --- a/submit.yml.erb +++ b/submit.yml.erb @@ -1,10 +1,39 @@ # Job submission configuration file # -# @note Used to override job script batch parameters -# @see http://www.rubydoc.info/gems/ood_core/OodCore/Job/Script --- -# PBS/Torque specific, override the node resource by specifying the ppn +# +# Configure the content of the job script for the batch job here +# @see http://www.rubydoc.info/gems/ood_core/OodCore/BatchConnect/Template +# +batch_connect: + # We use the basic web server template for generating the job script + # + # @note Do not change this unless you know what you are doing! + template: "basic" + + # You can override the command used to query the hostname of the compute node + # here + # + # @note It is **highly** recommended this be set in the global cluster + # configuration file so that all apps can take advantage of it by default + # + #set_host: "host=$(hostname -A | awk '{print $2}')" + +# +# Configure the job script submission parameters for the batch job here +# @see http://www.rubydoc.info/gems/ood_core/OodCore/Job/Script +# + +# Example for Slurm +# +# @example Specify nodes with specific features for all jobs +#script: +# native: [ "-N", "<%= bc_num_slots.blank? ? 1 : bc_num_slots.to_i %>", "-C", "c12" ] + +# Examples for PBS/Torque +# +# @example Specify the PPN for all jobs #script: # native: # resources: -- GitLab