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 +4 -4
- data/lib/pbs_job.rb +1 -1
- data/lib/pbs_job/version.rb +1 -1
- data/templates/job.pbs.tt +5 -5
- 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: ec8049553f5cfcc64bf9226f40d43cef24cffd2b
|
4
|
+
data.tar.gz: 2f2c5612b69a94aef5e60391e462c70d25a23ade
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 860a2780057960ebe64cffcda9a0cac4ce17df93be523ed78619ea3cead4362e74f151c6b7e0e402dcc4ccd6f0b1c34168aa69e09af035e0b4c49d98e40ad46c
|
7
|
+
data.tar.gz: 32aad6a58e1752087b0486f880b2fde94a3dbd9238b19efccddbfd79662f284636a247fa0c488710893af6ca68d0dbd46050ef2b58d7cdbda8e6625c9ae57f24
|
data/lib/pbs_job.rb
CHANGED
@@ -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
|
data/lib/pbs_job/version.rb
CHANGED
data/templates/job.pbs.tt
CHANGED
@@ -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]}"
|
7
|
-
<%= if options[:mem] then "#PBS -l mem=#{options[:mem]}"
|
8
|
-
<%= if options[:nodes] && options[:ppn] then "#PBS -l nodes=#{options[:nodes]}:ppn=#{options[:ppn]}"
|
9
|
-
<%= if options[:pmem] then "#PBS -l pmem=#{options[:pmem]}"
|
10
|
-
<%= if options[:procs] then "#PBS -l procs=#{options[:procs]}"
|
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"
|