Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
pipelet
Pipelet
Commits
7b09e33e
Commit
7b09e33e
authored
Jan 17, 2011
by
lejeune
Browse files
correct bug #1250 + pbs job file bug
parent
75dddf8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
pipelet/launchers.py
pipelet/launchers.py
+2
-3
pipelet/static/tag.js
pipelet/static/tag.js
+2
-2
No files found.
pipelet/launchers.py
View file @
7b09e33e
...
...
@@ -217,8 +217,7 @@ def launch_ssh(pipe, host_list, address=None, authkey='secret',log_level=logging
w
.
wait
()
def
launch_pbs
(
pipe
,
n
,
address
=
None
,
authkey
=
'secret'
,
job_name
=
"job_"
,
log_level
=
logging
.
CRITICAL
,
cpu_time
=
"2:00:00"
,
server
=
False
,
job_header
=
"""
#/bin/bash
echo $PYTHONPATH
#!/bin/bash
"""
):
""" Launch a bunch of distant workers through a PBS batch system.
...
...
@@ -245,7 +244,7 @@ echo $PYTHONPATH
f
.
write
(
"python -m pipelet.launchers -H %s -p %s -s %s -l %s"
%
(
address
[
0
],
address
[
1
],
authkey
,
jobfile
.
replace
(
'job'
,
'worker'
)))
f
.
close
()
subprocess
.
Popen
([
'qsub'
,
'-o'
,
job
file
,
'-e'
,
errfile
,
jobfile
]).
communicate
()[
0
]
subprocess
.
Popen
([
'qsub'
,
'-o'
,
log
file
,
'-e'
,
errfile
,
jobfile
]).
communicate
()[
0
]
if
server
:
print
'launching the scheduler'
...
...
pipelet/static/tag.js
View file @
7b09e33e
...
...
@@ -57,7 +57,7 @@ function edit_tag (str_lst_tag){
function
uncheck
(
object
){
lst
=
document
.
getElementsByName
(
object
);
for
(
var
i
=
0
;
i
<
lst
.
length
;
i
++
){
lst
[
i
].
checked
=
0
;
lst
[
i
].
checked
=
false
;
}
}
...
...
@@ -65,7 +65,7 @@ function uncheck (object){
function
check_all
(){
lst
=
document
.
getElementsByName
(
'
checkbox_p
'
);
for
(
var
i
=
0
;
i
<
lst
.
length
;
i
++
){
lst
[
i
].
checked
=
1
;
lst
[
i
].
checked
=
true
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment