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

Matthew Knepley knepley at gmail.com
Sun Apr 24 07:01:04 CDT 2022


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*
>
>

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220424/0e2d9df1/attachment.html>


More information about the petsc-users mailing list