Dear Floriane, On 03/05/17 15:44, Floriane Gidel [RPG] wrote:
Dear all,
When trying to run any of my firedrake codes, I get the MPI error below. This is the case even if my script only contains the line "from firedrake import *". I have recently modified my PATH and I expect that the error comes from there, as mpi worked previously. My current PATH is:
/Users/mmfg/firedrake/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Library/TeX/texbin
Any hint ?
Thanks a lot,
Floriane
PMIx has detected a temporary directory name that results
in a path that is too long for the Unix domain socket:
Temp dir: /var/folders/7h/wbj8xp7n3g5cfbr32ctcmwzcy3jf53/T/openmpi-sessions-1010350243@math-mc1096_0/63253
Try setting your TMPDIR environmental variable to point to
something shorter in length
If you do: export TMPDIR=/tmp do things start to work again? (This is an annoyance with MacOS whereby the directory for temporary files is too long for UNIX sockets). A newer version of openmpi has fixed this, but I do not think it is yet available via homebrew. Lawrence