spawn broken on IDL 5.3 / solaris ? [message #19446] |
Fri, 24 March 2000 00:00  |
Martin Rother
Messages: 2 Registered: March 2000
|
Junior Member |
|
|
hi IDL wizards,
(first I apologize for my bad english)
I'm running IDL scripts communicating with fortran-programs
(f77, i.e. calculation of geomag.field/IGRF) by bidirectional pipes
created from 'spawn' command (with keyword 'unit')
this works fine for years. now (with IDL 5.3) I found the spawned program
vanished without any message, more or less immediately -- and
the next (first) 'readf, unit, buf' fail, of course -- or, worse,
IDL terminates with 'segmentation fault'.
I found that this 'segmentation fault' depends on
the way I'm assembling the string given into the pipe.
only if the string is created by a simple dummy = 'something' statement
printing/writing from pipe succeed.
after downgrading to 'IDL 5.2' all is working fine again.
I can't belive, that THIS usefull feature (one benefit
of IDL over 'matlab'?) is broken. kkkkrrrrxxxxxxx....!
I searched 'dejanews' and found some articles about this (or similar)
subject, but I found no workaround and remain hopeless.
have I to stick on version 5.2 forever?
(my environment: sparc, solaris 2.6 + 2.7 and enough memory...)
thanks in advance for hints.
best regards,
martin rother.
--
Martin Rother (rother@gfz-potsdam.de) 0331/ 288-1272 Division 2.3
GeoForschungsZentrum Potsdam, Germany
|
|
|
Re: spawn broken on IDL 5.3 / solaris ? [message #19618 is a reply to message #19446] |
Tue, 28 March 2000 00:00  |
John-David T. Smith
Messages: 384 Registered: January 2000
|
Senior Member |
|
|
Craig Hamilton wrote:
>
> Martin:
> Unix IDL 5.3 also has another problem: idlde doesn't handle files greater
> than
> a few hundred lines in its editor. More lines than that and they just don't
> show
> up on the screen. Tech support told me they switched to a 3rd party
> chroma-color-enabled editor in 5.3. They did not tell me when to expect
> a fix.
>
An excellent time to jump ship to emacs+IDLWAVE mode. Expect the announcement
of a major update with several exciting new features in the near future... and
prepare to do things that IDLDE users could never dream of.
JD
--
J.D. Smith |*| WORK: (607) 255-5842
Cornell University Dept. of Astronomy |*| (607) 255-6263
304 Space Sciences Bldg. |*| FAX: (607) 255-5875
Ithaca, NY 14853 |*|
|
|
|