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

Satish Balay balay at mcs.anl.gov
Sun Apr 24 14:19:31 CDT 2022


Perhaps it coming from HWLOC [due to bad X11 setup on this box]

Something to try:

HWLOC_COMPONENTS=-opencl,-gl  make check

Satish

On Sun, 24 Apr 2022, Barry Smith wrote:

> 
>   Why is this message seemingly being produced for every PETSc executable run? PETSc, by default, should not be doing anything with X-Windows calls unless a specific option related to X windows is used even if PETSc is compiled and linked against X windows. These test runs are not using anything related to X-Windows. Just having the X windows libraries linked into the executables should not produce such messages so why are they appearing? 
> 
>   Barry
> 
> 
> 
> 
> > On Apr 24, 2022, at 7:34 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
> > 
> > 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 <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 <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 <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
> > 
> > <configure.log><make.log>
> 
> 



More information about the petsc-users mailing list