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
tsoc
hg-misc-tools
Commits
80b9c37f
Commit
80b9c37f
authored
Mar 07, 2026
by
one
Browse files
Update rocHPCG scripts
parent
fa1f9cb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
projects/rocHPCG/mpirun_rochpcg
projects/rocHPCG/mpirun_rochpcg
+1
-1
projects/rocHPCG/rochpcg-scripts-bw.patch
projects/rocHPCG/rochpcg-scripts-bw.patch
+2
-2
No files found.
projects/rocHPCG/mpirun_rochpcg
View file @
80b9c37f
...
@@ -164,7 +164,7 @@ else
...
@@ -164,7 +164,7 @@ else
if
[
${#
copyto_hosts
[@]
}
-gt
0
]
;
then
if
[
${#
copyto_hosts
[@]
}
-gt
0
]
;
then
echo
"Copying files to other nodes in parallel:
${
copyto_hosts
[@]
}
"
echo
"Copying files to other nodes in parallel:
${
copyto_hosts
[@]
}
"
for
node
in
"
${
copyto_hosts
[@]
}
"
;
do
for
node
in
"
${
copyto_hosts
[@]
}
"
;
do
rsync
-az
-e
"ssh -p
${
ssh_port
}
"
build
deps
${
rochpcg_runscript
}
"
${
node
}
:
/workspace/
"
&
rsync
-az
P
-e
"ssh -p
${
ssh_port
}
"
${
PWD
}
/build
${
PWD
}
/
deps
${
rochpcg_runscript
}
"
${
node
}
:
${
PWD
}
"
&
done
done
wait
wait
echo
"Files synchronized successfully."
echo
"Files synchronized successfully."
...
...
projects/rocHPCG/rochpcg-scripts-bw.patch
View file @
80b9c37f
diff --git a/mpirun_rochpcg b/mpirun_rochpcg
diff --git a/mpirun_rochpcg b/mpirun_rochpcg
new file mode 100755
new file mode 100755
index 0000000..
3dccc72
index 0000000..
9fe4c5d
--- /dev/null
--- /dev/null
+++ b/mpirun_rochpcg
+++ b/mpirun_rochpcg
@@ -0,0 +1,193 @@
@@ -0,0 +1,193 @@
...
@@ -170,7 +170,7 @@ index 0000000..3dccc72
...
@@ -170,7 +170,7 @@ index 0000000..3dccc72
+ if [ ${#copyto_hosts[@]} -gt 0 ]; then
+ if [ ${#copyto_hosts[@]} -gt 0 ]; then
+ echo "Copying files to other nodes in parallel: ${copyto_hosts[@]}"
+ echo "Copying files to other nodes in parallel: ${copyto_hosts[@]}"
+ for node in "${copyto_hosts[@]}"; do
+ for node in "${copyto_hosts[@]}"; do
+ rsync -az -e "ssh -p ${ssh_port}"
build
deps ${rochpcg_runscript} "${node}:
/workspace/
" &
+ rsync -az
P
-e "ssh -p ${ssh_port}"
${PWD}/build ${PWD}/
deps ${rochpcg_runscript} "${node}:
${PWD}
" &
+ done
+ done
+ wait
+ wait
+ echo "Files synchronized successfully."
+ echo "Files synchronized successfully."
...
...
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