Starting the Online Plots
Locations & account
The Online Plots are run from evp.starp.bnl.gov, typically under the 'evpops' account. In the Control Room, the computer named rts01 is the "standard" location to have them displayed. The standard scripts should be stored in ~evpops/pplots/ and ~evpops.
Running
Running the presenter
First check The OnlinePlots icon on rts01 in the Control Room looks like this: (if you ave a better png image for this purpose, send it to Wayne Betts). It launches a small script to start the Presenter (you will need the evpops account password).
Using the icon effectively does the following steps for you (which you can do manually from any node):
- Log into evp.starp.bnl.gov as 'evpops'. Ask your shift leader for the password to do so.
- ssh evp.starp.bnl.gov -l evpops
- Change to the ~evpops/pplots/ directory
- Start the histogram presenter
- root4starN livePresenter.C
Or simply run the LaunchPresenter.csh script in ~evpops. Due to an as-yet unsolved bug, it may take several tries to get the presenter running.
Starting the Server (only necessary if a Server is not already running on evp, which should be an unusual event)
- Log into evp.starp.bnl.gov as user 'evpops'. Ask your shift leader for the password to do so.
- ssh evp.starp.bnl.gov -l evpops
- Make sure the server is not already running. No harm should be caused if you attempt to run multiple servers at the time, other than log files being filled up.
- ps x | grep liveServer.C
- kill <process number>
- Check if ServerLoop is running. If it is the server should restart automatically. Otherwise you need to start it.
- Start ServerLoop (so that it will continue even if you log out)
- nohup ./ServerLoop >&! log.ServerLoop &
- Check the output of in the log file
- tail -f pplots/server.out
If the server fails to start it may be necessary to recompile it and make sure a new memory map file gets used:
- cd pplots
- rm evpEventServer.map
- cons
Then try the above steps again.
For more details about the available options, see Expert Modes