From 9c2bfad696b565f2a268e88ddd747e5ab2bf833c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D2=89=CE=B1k=CE=B1=20x=E2=A0=A0=E2=A0=B5?= <32862241+4k4xs4pH1r3@users.noreply.github.com> Date: Fri, 23 Feb 2024 20:25:05 +0300 Subject: [PATCH] . --- SuperCluster/macos.md | 2 +- SuperCluster/supercluster.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SuperCluster/macos.md b/SuperCluster/macos.md index 7a79be5b..577e57ed 100644 --- a/SuperCluster/macos.md +++ b/SuperCluster/macos.md @@ -11,7 +11,7 @@ Open a terminal and run the following commands: brew update # Install OpenMPI -brew install open-mpi +brew install open-mpi && sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist && sudo launchctl list | grep ssh ``` ### Step 3: Verify the installation diff --git a/SuperCluster/supercluster.md b/SuperCluster/supercluster.md index 63bd6792..4bd60c57 100644 --- a/SuperCluster/supercluster.md +++ b/SuperCluster/supercluster.md @@ -91,6 +91,9 @@ comm.Barrier() mpirun --hostfile hostfile -np 4 -d python ./pi_value.py ``` ``` + mpirun --hostfile hostfile -d --mca btl tcp,self -x DISPLAY=localhost:0 python ./pi_value.py + ``` + ``` mpirun --use-hwthread-cpus -d python ./pi_value.py ```