rbbt-util 5.25.49 → 5.25.50
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 +3 -3
- 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: aadb9dd294b312fe70175aa1f186607ebb22deb0
|
4
|
+
data.tar.gz: 8bc279785325fdc7e36995bb74b297bd07253e00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3476bdd30cb8cf959c1e121636c85fc96cddbd78d0b15809538ddeb6349cf273fb638616a9bf598a7bf9e5e5a9b57cc84335866823ff97081b2774de03cb895
|
7
|
+
data.tar.gz: 5bdf92fc041ecd0dc0fc7897c39e4d49e2230a11365f78dffd42531d25afee9da64634db4219fa4b49d517b1f258faf243326286ca02ae2aa379c2a57c12dbd6
|
data/lib/rbbt/hpc.rb
CHANGED
@@ -168,16 +168,16 @@ EOF
|
|
168
168
|
group = File.basename(File.dirname(ENV['HOME']))
|
169
169
|
scratch_group_dir = File.join('/gpfs/scratch/', group)
|
170
170
|
projects_group_dir = File.join('/gpfs/projects/', group)
|
171
|
-
exec_cmd = %(singularity exec -e -C -H "$CONTAINER_DIR" -B /apps/ -B "$SINGULARITY_RUBY_INLINE":"$CONTAINER_DIR/.ruby_inline":rw -B ~/git:"$CONTAINER_DIR/git":ro -B #{scratch_group_dir}:"$CONTAINER_DIR/scratch":ro -B ~/.rbbt/software/opt/:"/opt/":ro -B ~/.rbbt:"$CONTAINER_DIR/home/":ro -B #{projects_group_dir}:"$CONTAINER_DIR/projects":ro "$SINGULARITY_IMG" env TMPDIR="$CONTAINER_DIR/.rbbt/tmp" env
|
171
|
+
exec_cmd = %(singularity exec -e -C -H "$CONTAINER_DIR" -B /apps/ -B "$SINGULARITY_RUBY_INLINE":"$CONTAINER_DIR/.ruby_inline":rw -B ~/git:"$CONTAINER_DIR/git":ro -B #{scratch_group_dir}:"$CONTAINER_DIR/scratch":ro -B ~/.rbbt/software/opt/:"/opt/":ro -B ~/.rbbt:"$CONTAINER_DIR/home/":ro -B #{projects_group_dir}:"$CONTAINER_DIR/projects":ro "$SINGULARITY_IMG" env TMPDIR="$CONTAINER_DIR/.rbbt/tmp" env _JAVA_OPTIONS="-Xms1g -Xmx${MAX_MEMORY}m" rbbt)
|
172
172
|
else
|
173
|
-
exec_cmd = %(singularity exec -e -B /apps/ -B "$SINGULARITY_RUBY_INLINE":"$HOME/.ruby_inline":rw "$SINGULARITY_IMG" env
|
173
|
+
exec_cmd = %(singularity exec -e -B /apps/ -B "$SINGULARITY_RUBY_INLINE":"$HOME/.ruby_inline":rw "$SINGULARITY_IMG" env _JAVA_OPTIONS="-Xms1g -Xmx${MAX_MEMORY}m" rbbt)
|
174
174
|
end
|
175
175
|
|
176
176
|
if development
|
177
177
|
exec_cmd += ' --dev=git'
|
178
178
|
end
|
179
179
|
else
|
180
|
-
exec_cmd = %(env
|
180
|
+
exec_cmd = %(env _JAVA_OPTIONS="-Xms1g -Xmx${MAX_MEMORY}m" ~/git/rbbt-util/bin/rbbt --dev=~/git/)
|
181
181
|
end
|
182
182
|
|
183
183
|
|