Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
intel-hpdd
darshan-dxlt
Commits
de8444d1
Commit
de8444d1
authored
Mar 13, 2015
by
Philip Carns
Browse files
misc fixes
parent
e23f7ffe
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-test/regression/bg-profile-conf/runjob.sh
View file @
de8444d1
#!/bin/bash
# submit job and get job id
jobid
=
`
qsub
--mode
c16
--proccount
$DARSHAN_DEFAULT_NPROCS
-A
SSSPPg
-t
10
-n
1
--output
$DARSHAN_TMP
/
$$
-tmp
.out
--error
$DARSHAN_TMP
/
$$
-tmp
.err
--debuglog
$DARSHAN_TMP
/
$$
-tmp
.debuglog
"
$@
"
`
jobid
=
`
qsub
--env
DARSHAN_LOGFILE
=
$DARSHAN_LOGFILE
--mode
c16
--proccount
$DARSHAN_DEFAULT_NPROCS
-A
SSSPPg
-t
10
-n
1
--output
$DARSHAN_TMP
/
$$
-tmp
.out
--error
$DARSHAN_TMP
/
$$
-tmp
.err
--debuglog
$DARSHAN_TMP
/
$$
-tmp
.debuglog
"
$@
"
`
if
[
$?
-ne
0
]
;
then
echo
"Error: failed to qsub
$@
"
exit
1
...
...
@@ -18,7 +18,7 @@ while [ -n "$output" -a "$rc" -eq 0 ]; do
done
# look for return code
grep
"exit code of 0"
$DARSHAN_TMP
/
$$
-tmp
.debuglog
grep
"exit code of 0"
$DARSHAN_TMP
/
$$
-tmp
.debuglog
>
& /dev/null
if
[
$?
-ne
0
]
;
then
exit
1
else
...
...
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