[slicer-users] Slicer 2.7 Intel Mac problem

Curtis Lisle curtislisle at knowledgevis.com
Thu Jun 24 21:26:40 EDT 2010


slicer2.7-dev-darwin-x86-2007-03-30  

this is the version that still runs for me under Snow Leopard on a macbook.   If memory serves me correctly,   slicer 2.7 preferred  a "fresh" X process.  What I mean is that sometimes I would run slicer and it wouldn't open, but if I rebooted X11 or rebooted the machine, then slicer would run again.  

I tested successfully just now on Snow Leopard by doing the following:

1. run a regular OS X terminal
2. in the shell, type "xterm" to launch a new X11 process
3.From the xterm shell, cd into the slicer installation directory:

$ ls
Base/                 Modules/              servers/
Doc/                  launch.tcl*           slicer2-darwin-x86*
Lib/                  runOnMac*             slicer_variables.tcl

3. run the following script from the xterm shell:

% ./runOnMac

where runOnMac contains the following:

------------------------- cut here

#!/bin/csh
setenv DISPLAY :0
./slicer2-darwin-x86 &

--------------------------

without this script, sometimes the X display will get messed up.  I remember on leopard that sometimes the script worked and sometimes the slicer executable would run from a regular shell (not even the xterm) because of Apple's "just in time" X process launch, which assigned its own values to the DISPLAY variable. 

slicer2.7 seems to run reliably on OS X 10.6.3 using an Intel Core Duo 2 processor.  I'll be at the Programming Week meeting tomorrow morning if anyone wants to look at the slicer2.7 installation.  Take care!

Curtis

Curtis Lisle
curtislisle at knowledgevis.com



On Jun 24, 2010, at 3:26 PM, swallace at nmr.mgh.harvard.edu wrote:

> For your 2.7/mac intel woes:
> 
> - do you have macports installed?
> - what are your error messages (if any) that you get when loading Slicer?
> 
> I will have to get back you on the windows related problem.
> 
> We dont do much support for the 2.x versions, given our current release of
> version 3.6, and 3.7 nightly builds, but I will do my best to help you
> out.
> 
> Stuart
> 
> 
>> Hello,
>> 
>> We are using slicer 2.7 down here in Syracuse, at Dr. Wendy Kates
>> Neuropsychiatric Imaging lab, and have a few questions pertaining to
>> installing it on new intel macintosh computers with leopard installed.
>> Previously we have gotten Slicer 3 to work on the intel macs, but when
>> trying to open Slicer 2.7 in the same fashion, it doesn't launch.  We are
>> using X11 to launch the programs, and have tried updating X11 to no avail.
>> We have only a very VERY basic knowledge of sourcing programs, and we're
>> hoping that you could give us some specific steps to complete the
>> installation.
>> 
>> We are currently using 2.7 on Dell computers with windows XP, and are
>> encountering an error message when we seed tracts in the DTI module.
>> After
>> hitting the seed button we get a scrolling error message which has the
>> same
>> error line repeatedly, the line is:
>> 
>> ERROR: IN
>> \cygwin\home\slicer\releases-2-7-patches\slicer2\lib\win32\vtk\0\vtkimagewriter.cxx,
>> line 407
>> vtkimagewriter[1c9019A0]: RecursiveWrite: Could not open file
>> \tmp\test.0000
>> 
>> An additional problem we are having, which may be related to this error
>> message, is having the program crash after seeding 3 separate tracts.
>> This
>> doesn't occur on the Power PC G5 macintosh that we also have running the
>> 2.7
>> version.  Any advice you can pass along is much appreciated.  Thanks in
>> advance!
>> 
>> Dr. Kates Neuropsychiatric Imaging Lab
>> c/o Chris McCarthy
>> _______________________________________________
>> slicer-users mailing list
>> slicer-users at bwh.harvard.edu
>> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
>> To unsubscribe: send email to
>> slicer-users-request at massmail.spl.harvard.edu with unsubscribe as the
>> subject
> 
> _______________________________________________
> slicer-users mailing list
> slicer-users at bwh.harvard.edu
> http://massmail.spl.harvard.edu/mailman/listinfo/slicer-users
> To unsubscribe: send email to slicer-users-request at massmail.spl.harvard.edu with unsubscribe as the subject




More information about the slicer-users mailing list