I'm setting up a new development environment that requires high performance computing. I installed mpi and openmpi on this new machine (Ubuntu 20.04), and I wrote the following code in python as a sort of "hello world" style test.
from mpi4py import MPI
comm = MPI.COMM_WORLD
rank = comm.Get_rank()
size = comm.Get_size()
print(f"Hi, I'm proccessor {rank} out of {size}")
And then I run this the normal way I would an mpi enabled python script (note: it's called '1.py'):
mpirun -n 4 python 1.py
The script runs fine, but it always opens with a warning message, "invalid MIT-magic-cookie-1 key". The full output is:
Invalid MIT-MAGIC-COOKIE-1 keyHi, I'm proccessor 0 out of 4
Hi, I'm proccessor 1 out of 4
Hi, I'm proccessor 2 out of 4
Hi, I'm proccessor 3 out of 4
If it helps, I'm using proprietary chipset drivers, and my processor is an Intel® Core™ i7-7700HQ CPU @ 2.80GHz × 8. This isn't impeding my work, but I do find it annoying as heck. Any ideas?
Most of the information I could find online had to do with SSH issues and remote servers and whatnot, but this is just running locally on my laptop.