coderunner 0.16.8 → 0.16.9
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 +3 -3
- data/lib/coderunner/class_methods.rb +16 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 965c131b40f6fa56035dcbb096f2ab2f1854b0f3
|
4
|
+
data.tar.gz: 3b5cab30f2b1834f3d64a8ff3b1d2fec25c6ea38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce7eaf12bbf889e0dfef57b82a7bb3b7bc5a5d2107c9e3aeaeaf2928e66ce08956d6db97722be21954a3a178760e6b1132ed95f6113754a8b1ce02ee8d59b8c
|
7
|
+
data.tar.gz: 8e004d802095c14e67d3dd6217dd93cb89a7e4042e2bbac4b48872bd24aac95d44b06c53f24c56b3ffadf3d9765187e12403ac65bb27086cd7b9db57733f345b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.16.
|
1
|
+
0.16.9
|
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.16.
|
5
|
+
# stub: coderunner 0.16.9 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.16.
|
10
|
+
s.version = "0.16.9"
|
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-05-
|
15
|
+
s.date = "2015-05-27"
|
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"]
|
@@ -390,11 +390,25 @@ EOF
|
|
390
390
|
FileUtils.makedirs tl
|
391
391
|
|
392
392
|
unless ENV['CODE_RUNNER_LAUNCHER'] =~ /serial/
|
393
|
-
Thread.new{loop{`cp #{tl}/queue_status.txt #{tl}/queue_status2.txt; ps > #{tl}/queue_status.txt`; sleep 1}}
|
394
|
-
|
395
393
|
mutex = Mutex.new
|
396
394
|
processes= []
|
397
395
|
|
396
|
+
Thread.new do
|
397
|
+
loop do
|
398
|
+
`cp #{tl}/queue_status.txt #{tl}/queue_status2.txt`
|
399
|
+
`ps > #{tl}/queue_status.txt`
|
400
|
+
mutex.synchronize do
|
401
|
+
File.open("#{tl}/queue_status.txt", 'a') do |f|
|
402
|
+
# This ensures that the right pids will be listed,
|
403
|
+
# regardless of the way that ps behaves
|
404
|
+
f.puts processes
|
405
|
+
end
|
406
|
+
end
|
407
|
+
sleep 1
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
|
398
412
|
Thread.new do
|
399
413
|
loop do
|
400
414
|
Dir.entries(tl).each do |file|
|
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.16.
|
4
|
+
version: 0.16.9
|
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-05-
|
11
|
+
date: 2015-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphkit
|