coderunner 0.15.11 → 0.15.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/coderunner.gemspec +2 -2
- data/lib/coderunner/class_methods.rb +1 -1
- data/lib/coderunner/system_modules/stampede.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2978c40385db27d78718304136bce84f6fd4816
|
|
4
|
+
data.tar.gz: 2bb7c2c495b6c73800944cbe4db67676af95241c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a643a60a5a228eb4365d20120e29901ec746345f7afe2317f1b0cbfe16aa97a7903ad87c1793509f6ac25394b924bb732ce87e1b2701b7ceced3cf94013d8d9b
|
|
7
|
+
data.tar.gz: 01f80f29a2c1a1f48178c9911fbdb696b082e2095fab1e8b151e503bb4a6959627ba921f52a5dec9761868f2a2cb5efc22040dc01b95b894a24631ab6b2e0c26
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.15.
|
|
1
|
+
0.15.12
|
data/coderunner.gemspec
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
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.15.
|
|
5
|
+
# stub: coderunner 0.15.12 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.15.
|
|
10
|
+
s.version = "0.15.12"
|
|
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"]
|
|
@@ -422,7 +422,7 @@ EOF
|
|
|
422
422
|
sleep refresh.to_i while %x[ps -e -o pid,ppid].split("\n").grep(Regexp.new("^\\s*#{wpid}\\s+#{ppid}")).size > 0
|
|
423
423
|
end
|
|
424
424
|
#p ["command", command]
|
|
425
|
-
exec(command + "
|
|
425
|
+
exec(command + "\n wait")
|
|
426
426
|
end
|
|
427
427
|
`cp #{tl}/queue_status.txt #{tl}/queue_status2.txt; ps > #{tl}/queue_status.txt`
|
|
428
428
|
mutex.synchronize{processes.push pid}
|
|
@@ -11,8 +11,8 @@ class CodeRunner
|
|
|
11
11
|
end
|
|
12
12
|
def run_command
|
|
13
13
|
# "qsub #{batch_script_file}"
|
|
14
|
-
if
|
|
15
|
-
return %[ibrun -n #{@nprocs} -o 0 #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}]
|
|
14
|
+
if use_launcher
|
|
15
|
+
return %[#{code_run_environment}\n ibrun -n #{@nprocs} -o 0 #{executable_location}/#{executable_name} #{parameter_string} > #{output_file} 2> #{error_file}]
|
|
16
16
|
else
|
|
17
17
|
"ibrun #{executable_location}/#{executable_name} #{parameter_string}"
|
|
18
18
|
end
|