coderunner 0.17.6 → 0.17.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/coderunner.gemspec +5 -4
- data/lib/coderunner/class_methods.rb +2 -2
- data/lib/coderunner/system_modules/cori.rb +25 -0
- data/lib/coderunner/system_modules/slurm.rb +8 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10c322689bf3a57734ed9d6a079f23debfdab926
|
4
|
+
data.tar.gz: 97334cbd6e0cce779956db7051528a7ff2ff1cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a4b22a00d0fae3aff40fb1dc928cd41e67956c9b710000e723ffb4fdf9f9dd2f22f1500a2085accbb5f3fe862164a567d2c14ba7529c65f50221d75eb61721
|
7
|
+
data.tar.gz: 36d00b69efa798f31ff76531c9b1d21702b8bf200e24638dbe5a90525c692b511c4768fe80cc9bfda0bb8ddfcf08b926d98c9a7027307b6d18eb699ac039732a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.17.
|
1
|
+
0.17.7
|
data/coderunner.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: coderunner 0.17.
|
5
|
+
# stub: coderunner 0.17.7 ruby lib
|
6
6
|
# stub: ext/extconf.rb
|
7
7
|
|
8
8
|
Gem::Specification.new do |s|
|
9
9
|
s.name = "coderunner"
|
10
|
-
s.version = "0.17.
|
10
|
+
s.version = "0.17.7"
|
11
11
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
13
|
s.require_paths = ["lib"]
|
14
14
|
s.authors = ["Edmund Highcock"]
|
15
|
-
s.date = "2015-
|
15
|
+
s.date = "2015-12-22"
|
16
16
|
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."
|
17
17
|
s.email = "edmundhighcock@sourceforge.net"
|
18
18
|
s.executables = ["coderunner", "coderunnerrepo"]
|
@@ -56,6 +56,7 @@ Gem::Specification.new do |s|
|
|
56
56
|
"lib/coderunner/run.rb",
|
57
57
|
"lib/coderunner/system_modules/archer.rb",
|
58
58
|
"lib/coderunner/system_modules/blue_joule.rb",
|
59
|
+
"lib/coderunner/system_modules/cori.rb",
|
59
60
|
"lib/coderunner/system_modules/dirac.rb",
|
60
61
|
"lib/coderunner/system_modules/edison.rb",
|
61
62
|
"lib/coderunner/system_modules/franklin.rb",
|
@@ -99,7 +100,7 @@ Gem::Specification.new do |s|
|
|
99
100
|
s.licenses = ["GPLv3"]
|
100
101
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
|
101
102
|
s.rubyforge_project = "coderunner"
|
102
|
-
s.rubygems_version = "2.
|
103
|
+
s.rubygems_version = "2.4.8"
|
103
104
|
s.summary = "A framework for the automated running and analysis of simulations."
|
104
105
|
|
105
106
|
if s.respond_to? :specification_version then
|
@@ -0,0 +1,25 @@
|
|
1
|
+
class CodeRunner
|
2
|
+
require SCRIPT_FOLDER + '/system_modules/slurm.rb'
|
3
|
+
module Stampede
|
4
|
+
include Slurm
|
5
|
+
#def batch_script
|
6
|
+
#raise "Please specify project" unless @project
|
7
|
+
#super
|
8
|
+
#end
|
9
|
+
def max_ppn
|
10
|
+
32
|
11
|
+
end
|
12
|
+
def run_command
|
13
|
+
# "qsub #{batch_script_file}"
|
14
|
+
if use_launcher
|
15
|
+
return %[#{code_run_environment}\n srun -n #{@nprocs} #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}]
|
16
|
+
else
|
17
|
+
"srun -n #{nodex*ppn} #{executable_location}/#{executable_name} #{parameter_string}"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
def batch_script
|
21
|
+
raise "Please specify the queue to submit to using the -Q (or Q:) flag" unless @queue
|
22
|
+
super
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coderunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edmund Highcock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphkit
|
@@ -228,6 +228,7 @@ files:
|
|
228
228
|
- lib/coderunner/run.rb
|
229
229
|
- lib/coderunner/system_modules/archer.rb
|
230
230
|
- lib/coderunner/system_modules/blue_joule.rb
|
231
|
+
- lib/coderunner/system_modules/cori.rb
|
231
232
|
- lib/coderunner/system_modules/dirac.rb
|
232
233
|
- lib/coderunner/system_modules/edison.rb
|
233
234
|
- lib/coderunner/system_modules/franklin.rb
|
@@ -286,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
286
287
|
version: '0'
|
287
288
|
requirements: []
|
288
289
|
rubyforge_project: coderunner
|
289
|
-
rubygems_version: 2.
|
290
|
+
rubygems_version: 2.4.8
|
290
291
|
signing_key:
|
291
292
|
specification_version: 4
|
292
293
|
summary: A framework for the automated running and analysis of simulations.
|