pbs_job 3.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44b3be3d8d65276941c69cd47ec2144ebbfdf4e7
4
- data.tar.gz: fe35495b3e7eb86009f2e2217b4df0a71e7d6f18
3
+ metadata.gz: ec8049553f5cfcc64bf9226f40d43cef24cffd2b
4
+ data.tar.gz: 2f2c5612b69a94aef5e60391e462c70d25a23ade
5
5
  SHA512:
6
- metadata.gz: a80adeb8b3128957a1a2f2f704dfe52c7cb25826138d04ecbe39fc2a7a9b82074ef2bfd8d55920f80ef7b6223ff78a6f01af557025e24dff8e95b382516049b4
7
- data.tar.gz: 02c55e927762e0506a4f9246f2482e0b5c90d8b40805c04a996acc64f4b0a221248a6d96bd023d2dbd99dbdebca7171604eda0de3538b3b9ec3171fda58bc4c7
6
+ metadata.gz: 860a2780057960ebe64cffcda9a0cac4ce17df93be523ed78619ea3cead4362e74f151c6b7e0e402dcc4ccd6f0b1c34168aa69e09af035e0b4c49d98e40ad46c
7
+ data.tar.gz: 32aad6a58e1752087b0486f880b2fde94a3dbd9238b19efccddbfd79662f284636a247fa0c488710893af6ca68d0dbd46050ef2b58d7cdbda8e6625c9ae57f24
@@ -152,7 +152,7 @@ module PbsJob
152
152
  end
153
153
 
154
154
  def abs_stream_prefix
155
- @abs_stream_prefix ||= File.join abs_job_root, STREAMS_DIR_NAME, full_name
155
+ @abs_stream_prefix ||= File.join abs_job_root, STREAMS_DIR_NAME, File.basename(full_name)
156
156
  end
157
157
 
158
158
  def record_task_execution_code
@@ -1,3 +1,3 @@
1
1
  module PbsJob
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
3
3
  end
@@ -3,11 +3,11 @@
3
3
  #PBS -m abe -M <%= email_address %>
4
4
  #PBS -o <%= abs_stream_prefix %>.o
5
5
  #PBS -e <%= abs_stream_prefix %>.e
6
- <%= if options[:walltime] then "#PBS -l walltime=#{options[:walltime]}" else "" end %>
7
- <%= if options[:mem] then "#PBS -l mem=#{options[:mem]}" else "" end %>
8
- <%= if options[:nodes] && options[:ppn] then "#PBS -l nodes=#{options[:nodes]}:ppn=#{options[:ppn]}" else "" end %>
9
- <%= if options[:pmem] then "#PBS -l pmem=#{options[:pmem]}" else "" end %>
10
- <%= if options[:procs] then "#PBS -l procs=#{options[:procs]}" else "" end %>
6
+ <%= if options[:walltime] then "#PBS -l walltime=#{options[:walltime]}" end %>
7
+ <%= if options[:mem] then "#PBS -l mem=#{options[:mem]}" end %>
8
+ <%= if options[:nodes] && options[:ppn] then "#PBS -l nodes=#{options[:nodes]}:ppn=#{options[:ppn]}" end %>
9
+ <%= if options[:pmem] then "#PBS -l pmem=#{options[:pmem]}" end %>
10
+ <%= if options[:procs] then "#PBS -l procs=#{options[:procs]}" end %>
11
11
 
12
12
  cd <%= options[:task_working_dir] %>
13
13
  "<%= abs_job_root %>/task" &> "<%= abs_stream_prefix %>.err.out"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pbs_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Morrill