Problems with -eps_monitor_draw and mpiexec

Matthew Knepley knepley at gmail.com
Thu Jun 14 07:32:12 CDT 2007


The X server does not like your hostname (localhost.localdomain). You can
set your DISPLAY env variable, or just give the display argument -display :0.0

  Matt

On 6/14/07, Tim Stitt <timothy.stitt at ichec.ie> wrote:
> Hi all,
>
> I've finally got my parallel solver working in SLEPc. I want to monitor the
> eigenvalues and error tolerances graphically using -eps_monitor_draw. This
> works perfectly fine for the serial version of the code but when I test the
> parallel version I get the following errors from all nodes:
>
> [1]PETSC ERROR: --------------------- Error
> Message ------------------------------------
> [1]PETSC ERROR: Error in external library!
> [1]PETSC ERROR: Unable to open display on localhost.localdomain:0.0
> .  Make sure your COMPUTE NODES are authorized to connect
>     to this X server and either your DISPLAY variable
>     is set or you use the -display name option
>
> FYI: I am testing these codes on a multi-core laptop so I am running mpiexec
> directly from the command-line. Without -eps_monitor_draw the code runs as
> aspected.
>
> Just wondering if someone can hint at a fix so that I can get the graphical
> monitoring working in parallel.
>
> Regards,
>
> Tim.
>
> --
> Dr. Timothy Stitt <timothy_dot_stitt_at_ichec.ie>
> HPC Application Consultant - ICHEC (www.ichec.ie)
>
> Dublin Institute for Advanced Studies
> 5 Merrion Square - Dublin 2 - Ireland
>
> +353-1-6621333 (tel) / +353-1-6621477 (fax) / +353-874195427 (mobile)
>
>


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




More information about the petsc-users mailing list