Installing on OpenMR

OpenMR Installation Instructions

WARNING

These instructions are out of date. Use at your own risk.

Accounts

Install everything as the "surg" user, and always run Slicer as the "surg" user.

Install the Software Packages

Unzip packages (from the ftp site) to create the following directory structure inside a main directory named "slicer":

Perform the following:

  1. Edit "slicer-1.2.2/program/slicer" to set the SLICER_HOME environment variable.
     
  2. Copy the "slicer" file to the "bin" directory mentioned above.
     
  3. Add the above "bin" directory to the "PATH" environment variable in surg's "~/.tcshrc" file.

Edit Tcl Files to Change Defaults in New Slicer

The files listed in the table below are located relative to the directory:
slicer/slicer-1.2.2/program

Tcl File Edits
tcl-modules/Locator.tcl
Add "LocatorSetActive SignaSP" at the end of the LocatorBuildGUI procedure.
tcl-modules/Twin.tcl
Edit "set Twin(screen) 0" to become "set Twin(screen) 1". Edit any other lines as desired to change the size and position of the window. For example:
  set Twin(xPos) 30
  set Twin(yPos) 0
  set Twin(width) 550
  set Twin(height) 440
tcl-main/MainView.tcl
Edit "viewBgColor" in "MainViewInit" to be "Black" instead of "Blue"

Edit Init Files to Change Defaults in Old Slicer

Edit the file "slicer/go/program/slicer.init" so that the "View" variables are as follows:


View ( boreDisplay Image boreScreen 1 boreRender 0 boreWidth 570 boreHeight 426 borePosition 25 0

Start the "SPL Server" on the Imaging Workstation

On the GE imaging workstation (machine name: mrtws), log in as mrtmstr which takes you to the directory /home/mrtmstr. Type:

./spl_server

Run the New Slicer

  1. At the command prompt, type "slicer".
  2. Go to the "Twin" module and click "On".
  3. Go to the "Locator" module and click "Connect".

Run the Old Slicer

  1. At the command prompt, type "go".
  2. Go to the "Realtime" module, and click "Bore" and "Connect".