[petsc-users] Error: Invalid MIT-MAGIC-COOKIE-1

Satish Balay balay at mcs.anl.gov
Sun Apr 24 09:41:21 CDT 2022


Also you have this env variable set.

DISPLAY=:1

Likely that's incorrect for your current setup.

[usually its 'DISPLAY=:0']

Satish

On Sun, 24 Apr 2022, Satish Balay via petsc-users wrote:

> You can check what you have with:
> 
> xauth list
> 
> or remove the current stuff
> 
> rm ~/.Xauthority
> 
> or build PETSc without X11
> 
> --with-x=0
> 
> [or ignore this message as you might not use x11 from your code.]
> 
> Satish
> 
> On Sun, 24 Apr 2022, Matthew Knepley wrote:
> 
> > On Sun, Apr 24, 2022 at 7:36 AM Flavio Riche <flavioriche at gmail.com> wrote:
> > 
> > > Hi,
> > >
> > > I am new to petsc. When I configure PETSC with
> > >
> > > ./configure complex --with-scalar-type=complex --with-cc=gcc
> > > --with-cxx=g++ --with-fc=gfortran --download-scalapack --download-mumps
> > > --download-fftw --download-mpich --download-fblaslapack
> > >
> > > everything seems to be ok, but when I do
> > >
> > 
> > Your installation is fine. That is an X-windows error. There is likely some
> > X misconfiguration on your machine,
> > but it will not affect PETSc unless you want to use X monitors.
> > 
> >   Thanks,
> > 
> >      Matt
> > 
> > 
> > > make all check
> > >
> > > I find the following error:
> > >
> > > Running check examples to verify correct installation
> > > Using PETSC_DIR=/home/flavio/petsc and PETSC_ARCH=arch-linux-c-debug
> > > Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process
> > > See http://www.mcs.anl.gov/petsc/documentation/faq.html
> > > Invalid MIT-MAGIC-COOKIE-1 keylid velocity = 0.0016, prandtl # = 1.,
> > > grashof # = 1.
> > > Number of SNES iterations = 2
> > > Possible error running C/C++ src/snes/tutorials/ex19 with 2 MPI processes
> > > See http://www.mcs.anl.gov/petsc/documentation/faq.html
> > > Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keylid velocity =
> > > 0.0016, prandtl # = 1., grashof # = 1.
> > > Number of SNES iterations = 2
> > > 1c1
> > > < lid velocity = 0.0625, prandtl # = 1., grashof # = 1.
> > > ---
> > > > Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keylid velocity
> > > = 0.0625, prandtl # = 1., grashof # = 1.
> > > /home/flavio/petsc/src/snes/tutorials
> > > Possible problem with ex19 running with mumps, diffs above
> > > =========================================
> > > Possible error running Fortran example src/snes/tutorials/ex5f with 1 MPI
> > > process
> > > See http://www.mcs.anl.gov/petsc/documentation/faq.html
> > > Invalid MIT-MAGIC-COOKIE-1 keyNumber of SNES iterations =     4
> > > Completed test examples
> > >
> > > I tried to look for solutions at online forums but it didn't help.
> > > Configure and make logs attached.
> > >
> > >
> > > Best regards,
> > >
> > > Flavio
> > >
> > >
> > >
> > >
> > >
> > > --
> > > *Flavio Riche*
> > >
> > >
> > 
> > 
> 



More information about the petsc-users mailing list