coderunner 0.15.11 → 0.15.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7eae74e13da43cbdc34d182a9d3b780005b90984
4
- data.tar.gz: 4934af8baada72248a7d240247bb679dd6699841
3
+ metadata.gz: d2978c40385db27d78718304136bce84f6fd4816
4
+ data.tar.gz: 2bb7c2c495b6c73800944cbe4db67676af95241c
5
5
  SHA512:
6
- metadata.gz: 3c300c860f72dad4b5e76de69819a8198813699a2bc9ad7aec3cf4b75c017de94f5d15c4ad172b37957c1b84455d8cbbca3ca538ac53c17bb075d4416e270ded
7
- data.tar.gz: 00c8481231ca54e4958421fc7c058bcaa06cde068c2c37006fc7a5de873f6fcf9d09627b19f8331e2f2e2670b487f0e4b28aaf7a97517df239bf9ae6b0da3db7
6
+ metadata.gz: a643a60a5a228eb4365d20120e29901ec746345f7afe2317f1b0cbfe16aa97a7903ad87c1793509f6ac25394b924bb732ce87e1b2701b7ceced3cf94013d8d9b
7
+ data.tar.gz: 01f80f29a2c1a1f48178c9911fbdb696b082e2095fab1e8b151e503bb4a6959627ba921f52a5dec9761868f2a2cb5efc22040dc01b95b894a24631ab6b2e0c26
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.15.11
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.11 ruby lib
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.11"
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 + "; wait")
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 (ENV['CODE_RUNNER_LAUNCHER'].size > 0 rescue false)
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
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.15.11
4
+ version: 0.15.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock