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

Barry Smith bsmith at petsc.dev
Sun Apr 24 11:06:59 CDT 2022


  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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220424/c71a3574/attachment.html>


More information about the petsc-users mailing list