Running FRED on Desktop,
|
Tip: |
If you have successfully run Gleam on SLAC Public using FRED, you can point to the same files you created and then pointed to when you configured the Fred GLAST Panel (see Running Application Executables on SLAC Public Using FRED). Those files include the following :
IMPORTANT! This time, however, you will be pointing to those same files when you edit the FredRemoteServerScript file (glastdrs.rb) which you will have copied to your work directory during this procedure. If you do use the same files, be sure to use the same GAUDI package executable so everything is compatible. |
Note: If running on Windows, be sure to launch your X-server
(e.g., X-Win32 v 6.0, or higher); it must be running in the background.
Note: The following examples assume that you have set up "fredWorking" as a
subdirectory in "yourDirectory".
Note: If you want Gleam output files stored to a special subdirectory, create it now
(e.g., fredJobsWkg).
Note: To prevent Fred from starting up on SLAC Public, add the following line to the jobOptions.txt file that you supply:
HepRepSvc.startFred="";
unset LD_LIBRARY_PATH
CMTPATH=/nfs/farm/g/glast/u30/builds/rh9_gcc32/GlastRelease/GlastRelease-v5r1
export CMTPATH
cp /nfs/slac/g/svac/common/builds/Fred/RemoteServerScript/glastdrs.rb .
Note: Don't forget the period.
/nfs/farm/g/glast/u33/yourDirectory/fredWorking/jobOptions.txt
/nfs/farm/g/glast/u33/yourDirectory/fredWorking/fredJobsWkg
/nfs/farm/g/glast/u33/yourDirectory/fredWorking/GlastRelease.sh
/nfs/farm/g/glast/u30/builds/rh9_gcc32/GlastRelease/GlastRelease-v5r1/Gleam/v5r8p1/cmt/setup.sh
Note: The line shown above is wrapped.
Tip:To find the correct Gleam version, first enter:
cd /nfs/farm/g/glast/u30/builds/rh9_gcc32opt/GlastRelease/
GlastRelease-v6r2p8/GleamThen enter: dir
The correct version of Gleam will be displayed.
/nfs/farm/g/glast/u30/builds/rh9_gcc32/GlastRelease/GlastRelease-v5r1/Gleam/v5r8p1/rh9_gcc32/Gleam.exe
Note: The line shown above is wrapped when it should be continuous
(i.e., /GlastRelease-v5r1/Gleam...).
nslookup $HOST
The name and address of the noric server will be displayed similar to:
06/29/2007me: noric05.slac.stanford.eduruby glastdrs.rb
The Fred - Fox and Ruby Event Display will appear.
![]()
When the Fred GLAST Panel is displayed:
06/29/2007
Select the Remote (DRB) tab.
134.79.86.58:9000
The following message will be displayed in your ssh window:
"Waiting for the ior file to be produced"
and a bash window will be opened on your desktop; however, it may be minimized or hidden behind another window. It is recommended that you monitor the bash window so you can follow the progress of the job. At the time of this writing if there is an error, this window closes automatically and you should abort the operation.
"I've just given to Fred, v1.0 an HepRep object"
and a red "Stop" button and three arrows will appear in the FRED GUI:
Observe that there is a slight delay as the event is processed, after which an image
similar to the following will be displayed in the 3D Viewer. You can now view the rest of the events and manipulate the images on your local machine using the rest of FRED's event-viewing capabilities. (See the FRED Tutorial.)
![]()
Click on the Close button to close the GUI.
The image in the 3D Viewer will disappear.
To stop the glastdrs.rb script running on the SLAC Public machine, move to your ssh window and use: Ctrl C
Last updated by: Chuck Patterson 12/21/2005 |