You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to state up front that I have a solution to this issue, included in the post.
I am posting in the hopes of understanding "why" this might be happening, when it wasn't before, with an older version of MPICH (4.0.2).
The setup:
MacOS Ventura; Apple Silicon (M1 Pro, and M2 Max). MPICH 4.1.1 (conda-forge).
I am using Macintosh's sandbox-exec tool to block outgoing connections (our continuous integration machines are locked down as much as possible).
[Edit]: To add to the strangeness, Linux and Intel based Macintosh machines are fine. This only seems to occur on Apple Silicon machines. Not the case. Intel Macs exhibit same issue. Linux is not applicative.
Note: a.out actually runs to completion. Solves problems correctly. But the above error is appended when finished.
I am sorry I do not have sample source which reproduces the issue. Every MPI example I've compiled runs fine. So this is not strictly an MPICH issue. I am at a loss as to why I might suddenly run into this, when the only observed change is moving from MPICH version 4.0.2 to 4.1.1.
Apologies again for lack of sample source code to reproduce the issue. However, the project in question is Open Source if someone wants/needs to dig further.
Solution
And if anyone else runs into this, my solution is to include a new Sandbox allow rule, as follows:
To my untrained network eyes, I am allowing what the system believes to be an outbound connection, originating on not the loopback device, back into localhost, on any port. When there are already rules set up to allow localhost to localhost communications.
Also, setting MPIEXEC_PORT_RANGE and MPICH_PORT_RANGE did not affect the Sandbox log. That is to say, if I set the following port ranges; 3000:4000, I would still see the Sandbox log complain about *:50000-60000 ports being attempted (and blocked).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to state up front that I have a solution to this issue, included in the post.
I am posting in the hopes of understanding "why" this might be happening, when it wasn't before, with an older version of MPICH (4.0.2).
The setup:
MacOS Ventura; Apple Silicon (M1 Pro, and M2 Max). MPICH 4.1.1 (conda-forge).
I am using Macintosh's
sandbox-exec
tool to block outgoing connections (our continuous integration machines are locked down as much as possible).[Edit]:
To add to the strangeness, Linux and Intel based Macintosh machines are fine. This only seems to occur on Apple Silicon machines.Not the case. Intel Macs exhibit same issue. Linux is not applicative.Example output:
Where
machinefile
's contents is:And the Sandbox log if it helps:
Note:
a.out
actually runs to completion. Solves problems correctly. But the above error is appended when finished.I am sorry I do not have sample source which reproduces the issue. Every MPI example I've compiled runs fine. So this is not strictly an MPICH issue. I am at a loss as to why I might suddenly run into this, when the only observed change is moving from MPICH version 4.0.2 to 4.1.1.
Apologies again for lack of sample source code to reproduce the issue. However, the project in question is Open Source if someone wants/needs to dig further.
Solution
And if anyone else runs into this, my solution is to include a new Sandbox allow rule, as follows:
To my untrained network eyes, I am allowing what the system believes to be an outbound connection, originating on not the loopback device, back into localhost, on any port. When there are already rules set up to allow localhost to localhost communications.
Also, setting
MPIEXEC_PORT_RANGE
andMPICH_PORT_RANGE
did not affect the Sandbox log. That is to say, if I set the following port ranges;3000:4000
, I would still see the Sandbox log complain about*:50000-60000
ports being attempted (and blocked).Cheers! 🍻
Beta Was this translation helpful? Give feedback.
All reactions