Re: IDL via MacX [message #1578 is a reply to message #1567] |
Sat, 11 December 1993 08:28  |
bowman
Messages: 121 Registered: September 1991
|
Senior Member |
|
|
In article <2eapap$7s7@senator-bedfellow.MIT.EDU>, hbh@ATHENA.MIT.EDU
(Heidi Hammel) wrote:
>
> Question -- Has anyone out there tried running IDL through MacX? Any luck?
I run IDL through MacX all the time. I'm using MacX 1.1. There is a newer
version that others around here use successfully.
> Background -- I am trying to run IDL on a dec 5000 (ULTRIX V4.3A Rev. 146).
> My workstation is a quadra 700 (sys 7.0.1), and I am using MacX 1.1.7.
> The window manager on the dec 5000 is twm. I am working in an color
> rooted window because some of the astronomical image processing
> software I want to use (written in IDL) requires a window manager
> better than MacX. I have 5000 K allocated to MacX.
>
> Problem -- IDL is just not working - for example, I try to run the
> xinteranimate example in the IDL Basics book (pg. 42).
>
> (1) I get failures like:
>
> % Compiled module: XREGISTERED.
> X Toolkit Warning: Cannot allocate colormap entry for "wheat"
> % X windows protocol error: (BadValue - integer parameter out of range).
You may have other X clients that have already grabbed entries (perhaps all
of them) in the shared color map. If you need lots of colors, you may need
to turn on a private color map. Private color maps let you use all 256
colors at the expense of flashing the LUT when you move the cursor around.
See the IDL manual on the X device.
> (2) There is not enough space (in MacX????) to evaluate the xinteranimate
> for 40 graphs like the example shows, so I am only doing 10. How to do more?
In the Get Info dialog box for MacX, just set the memory as high as you can
afford before you start MacX. I always start MacX last of all my apps in
case I need to restart it to change the memory size. For long animations I
use 10 or 12 MB. You can figure out how much you need based on the size
and number of your pixmaps. The About MacX window will show you how much
memory you have and how much is in use. You can watch it fill up as you
load an animation.
> (3) Even with the limited 10-graph animation, the window I get to control
> xinteranimate has just sort of outlines of black boxes, with nothing in
> them. No text, so slider.
>
> (4) When I move the cursor into the defective control window, twm fails
> on the dec5000 with a segmentation violation.
>
> The other IDL software has a similar problem, in that the moment I move
> the cursor into the active area of the image processing window, twm
> fails with a segmentation violation.
I think this may be window manager problem, almost certainly memory
related. Are you trying to run in a root window under MacX? If you let
the Mac handle the window management you may have better luck and you won't
need a window manager (twm). I set my DISPLAY to bowman.tamu.edu:0.2 for
color, rootless client winds. Each client appears in its own Mac window.
This may be different in MacX 1.2. Check the MacX manual.
------------------------------------------------------------ ---------------
Dr. Kenneth P. Bowman 409-862-4060
Climate System Research Program 409-862-4132 fax
Department of Meteorology bowman@csrp.tamu.edu
Texas A&M University PP-Glider
College Station, TX 77843-3150
|
|
|