Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
bbf218d6
Commit
bbf218d6
authored
Nov 04, 2010
by
mattijs
Browse files
BUG: mpirunDebug : missing exec for gdb
parent
da7dbc53
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/mpirunDebug
View file @
bbf218d6
...
...
@@ -161,7 +161,7 @@ for ((proc=0; proc<$nProcs; proc++))
do
procCmdFile
=
"
$PWD
/processor
${
proc
}
.sh"
procLog
=
"processor
${
proc
}
.log"
geom
=
"-geometry 120x
20
+
$xpos
+
$ypos
"
geom
=
"-geometry 120x
15
+
$xpos
+
$ypos
"
case
"
$WM_MPLIB
"
in
*
OPENMPI
)
...
...
@@ -183,11 +183,11 @@ do
echo
"
${
node
}
xterm -font fixed -title 'processor'
$proc
$geom
-e
$procCmdFile
"
>>
$PWD
/mpirun.schema
;;
2
)
echo
"
$sourceFoam
; cd
$PWD
; gdb -command
$PWD
/gdbCommands >
&
$procLog
"
>>
$procCmdFile
echo
"
$sourceFoam
; cd
$PWD
; gdb -command
$PWD
/gdbCommands
$exec
>
$procLog
2>&1
"
>>
$procCmdFile
echo
"
${
node
}
$procCmdFile
"
>>
$PWD
/mpirun.schema
;;
3
)
echo
"
$sourceFoam
; cd
$PWD
;
$exec
$args
>
&
$procLog
"
>>
$procCmdFile
echo
"
$sourceFoam
; cd
$PWD
;
$exec
$args
>
$procLog
2>&1
"
>>
$procCmdFile
echo
"
${
node
}
$procCmdFile
"
>>
$PWD
/mpirun.schema
;;
4
)
...
...
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