Project

General

Profile

Bug #11634

Unexpected message from ROOT

Added by Rob Kutschke over 3 years ago. Updated over 3 years ago.

Status:
Remission
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/04/2016
Due date:
% Done:

0%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
Duration:

Description

If you run:

unset DISPLAY
art -c /dev/null

you will find the following among the art output:
%MSG
%MSG-i Root_Information:  art TUnixSystem::SetDisplay()  04-Feb-2016 14:09:37 CST JobSetup
DISPLAY not set, setting it to mac-121205.dhcp.fnal.gov:0.0
%MSG

According to Philippe something inside art has directly, or indirectly, triggered ROOT to think that it needs to be ready to use X11. So it checks DISPLAY and, if it finds that DISPLAY is undefined, it takes the action described in the message and sends the message.

It's not clear if we need to fix anything here - but we need to ask the question and get an answer.

According two Philippe we have four options:

  1. Figure out what is triggering the action and, if appropriate remove it.
  2. call gROOT->SetBatch(kTRUE) early in the job.
  3. export DISPLAY=""
  4. live with it; it's not harmful

My own feeling is that we do not want to do 2) because modules should be free to use ROOT's X11 graphics and this may interfere. If 1) is little work, then do it; if not then I vote for 4).

History

#1 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from New to Remission

We have communicated with Mu2e. We are unable to reproduce this error in our environments. If Mu2e turns up additional information re. what ROOT configuration options should be used to avoid this, we would appreciate knowing.



Also available in: Atom PDF