coderunner 0.11.13 → 0.11.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.11.13
1
+ 0.11.14
data/coderunner.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coderunner"
8
- s.version = "0.11.13"
8
+ s.version = "0.11.14"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edmund Highcock"]
@@ -25,6 +25,11 @@ EOF
25
25
  "aprun -n #{nprocstot} -N #{ppn}"
26
26
  end
27
27
 
28
+ def nprocstot
29
+
30
+ nodes, ppn = @nprocs.split(/x/)
31
+ nprocstot = nodes.to_i * ppn.to_i
32
+ end
28
33
  def run_command
29
34
  # "qsub #{batch_script_file}"
30
35
  if (ENV['CODE_RUNNER_LAUNCHER'].size > 0 rescue false)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coderunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.13
4
+ version: 0.11.14
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: