coderunner 0.11.12 → 0.11.13

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.12
1
+ 0.11.13
data/coderunner.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coderunner"
8
- s.version = "0.11.12"
8
+ s.version = "0.11.13"
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"]
12
- s.date = "2012-11-23"
12
+ s.date = "2012-11-29"
13
13
  s.description = "CodeRunner is a framework for the automated running and analysis of simulations. It automatically generates any necessary input files, organises the output data and analyses it. Because it is a modular system, it can easily be customised to work with any system and any simulation code. One of its greatest strengths is that it is independent of any one simulation code; thus it can easily plot and compare the data from different codes."
14
14
  s.email = "edmundhighcock@sourceforge.net"
15
15
  s.executables = ["coderunner"]
@@ -10,7 +10,7 @@ class CodeRunner
10
10
  12
11
11
  end
12
12
  def mpi_prog
13
- "mpirun"
13
+ "mpirun -np #{nprocstot}"
14
14
  end
15
15
  def execute
16
16
  if ((prefix = ENV['CODE_RUNNER_LAUNCHER']).size > 0 rescue false)
@@ -22,7 +22,7 @@ EOF
22
22
  end
23
23
 
24
24
  def mpi_prog
25
- "aprun"
25
+ "aprun -n #{nprocstot} -N #{ppn}"
26
26
  end
27
27
 
28
28
  def run_command
@@ -32,7 +32,7 @@ EOF
32
32
  else
33
33
  nodes, ppn = @nprocs.split(/x/)
34
34
  nprocstot = nodes.to_i * ppn.to_i
35
- "#{mpi_prog} -n #{nprocstot} -N #{ppn} #{executable_location}/#{executable_name} #{parameter_string}"
35
+ "#{mpi_prog} #{executable_location}/#{executable_name} #{parameter_string}"
36
36
  end
37
37
  end
38
38
 
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.12
4
+ version: 0.11.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-23 00:00:00.000000000 Z
12
+ date: 2012-11-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: graphkit