"vscode:/vscode.git/clone" did not exist on "45fef502fac471efa4bf25b3d4104943463912eb"
Commit 80b9c37f authored by one's avatar one
Browse files

Update rocHPCG scripts

parent fa1f9cb5
...@@ -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 -azP -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."
......
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 -azP -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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment