1

When I run a mpirun comand in my Ubuntu 20.04 LTS I get the error Invalid MIT-MAGIC-COOKIE-1 key

I tried different procedures found in the forums and I also reinstalled my invidia drivers. Nothing worked. The problem is in the local system, I'm not using ssh connections and I do not have a .Xauthority file.

For example if I run: /usr/bin/mpirun -n 1 echo "HelloWorld"

I get: Invalid MIT-MAGIC-COOKIE-1 keyHelloWorld

This is annoying because when I want to redirect the output on a file I have this message in every row of a mpi comand.

How can I solve this? Thanks, Nabla

nablaW
  • 21
  • 3

1 Answers1

0

I'm not sure if this has been answered yet. But I solved this problem by uninstalling mpich with

sudo apt-get autoremove mpich

and reinstalling it with

sudo apt install mpich
zx485
  • 2,249
  • 11
  • 24
  • 34