rbbt-util 5.26.101 → 5.26.102
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/hpc.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc83df21b5efd5b08da643a23f7864c0782ec1a60bcc761576a3fc5f700ba47d
|
4
|
+
data.tar.gz: ec99ffd4debf0bcfc4973771fb0648eaf01989642a2c3d5473c593e97b502727
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9daad61f5835e65f8b48cd4de72eeb6faf729c201244ea8aa92e441f6805348d6398e9948b555c8b42cf883e430dc9b70ad6dcba028d9bc8e3d69439f99f05c
|
7
|
+
data.tar.gz: 2222d37d9ab2027ae2072d06056a87f8ad618a0ce77b979dfa750cd1cde0e7da2d3ebf7fb8907e9a3974aa6f58d3f30d4b2905df396f71065e078492546a0e8d
|
data/lib/rbbt/hpc.rb
CHANGED
@@ -33,8 +33,11 @@ module Marenostrum
|
|
33
33
|
inputs_dir = options.delete :inputs_dir
|
34
34
|
config_keys = options.delete :config_keys
|
35
35
|
|
36
|
+
user = ENV['USER'] || `whoami`.strip
|
37
|
+
group = File.basename(File.dirname(ENV['HOME']))
|
38
|
+
|
36
39
|
if contain_and_sync
|
37
|
-
contain = "/scratch/tmp/rbbt-#{
|
40
|
+
contain = "/scratch/tmp/rbbt-#{user}" if contain.nil?
|
38
41
|
sync = "~/.rbbt/var/jobs" if sync.nil?
|
39
42
|
wipe_container = "post" if wipe_container.nil?
|
40
43
|
end
|
@@ -141,8 +144,6 @@ mkdir -p "$SINGULARITY_RUBY_INLINE"
|
|
141
144
|
EOF
|
142
145
|
|
143
146
|
if contain
|
144
|
-
user = ENV['USER'] || `whoami`.strip
|
145
|
-
group = File.basename(File.dirname(ENV['HOME']))
|
146
147
|
scratch_group_dir = File.join('/gpfs/scratch/', group)
|
147
148
|
projects_group_dir = File.join('/gpfs/projects/', group)
|
148
149
|
|