Commit 80b9c37f authored by one's avatar one
Browse files

Update rocHPCG scripts

parent fa1f9cb5
......@@ -164,7 +164,7 @@ else
if [ ${#copyto_hosts[@]} -gt 0 ]; then
echo "Copying files to other nodes in parallel: ${copyto_hosts[@]}"
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
wait
echo "Files synchronized successfully."
......
diff --git a/mpirun_rochpcg b/mpirun_rochpcg
new file mode 100755
index 0000000..3dccc72
index 0000000..9fe4c5d
--- /dev/null
+++ b/mpirun_rochpcg
@@ -0,0 +1,193 @@
......@@ -170,7 +170,7 @@ index 0000000..3dccc72
+ if [ ${#copyto_hosts[@]} -gt 0 ]; then
+ echo "Copying files to other nodes in parallel: ${copyto_hosts[@]}"
+ 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
+ wait
+ 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