Re: Trouble running demo [message #45040] |
Thu, 04 August 2005 01:23 |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
Richard G. French wrote:
>
>> Can anyone who has IDL 6.2 please confirm for me which 64-bit Linux
platform
>> is supported?
>>
>> According to the RSI website IDL 6.2 now supports 64-bit Linux, but they
>> don't say which CPU/architecture. I was told in the past by RSI that they
>> would be supporting Opteron but not Itanium in this release. Is this the
>> case?
>
> The installation manual says
> Intel/AMD x86_64 64-bit Linux, Red Hat Enterprise 3.x
> "IDL 6.2 was built on the Linux 2.4 kernel with glibc2.3.2 using red Hat
> Linux/. If your version of Linux is compatible with these, it is possible
> that you can install and run IDL on your version"
>
> Dick French
Thanks, that confirms what I was told.
The 2.4 kernel is very long in the tooth these days, and my experience of
the mess RedHat made of backporting 2.6 SMP features into their 2.4 kernel
makes me very nervous if we might have to run a RH 2.4 kernel on a 8-way
Opteron. I really hope that the kernel doesn't come into it.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|
Re: Trouble running demo [message #45060 is a reply to message #45040] |
Tue, 02 August 2005 06:59  |
Richard French
Messages: 173 Registered: December 2000
|
Senior Member |
|
|
> Can anyone who has IDL 6.2 please confirm for me which 64-bit Linux platform
> is supported?
>
> According to the RSI website IDL 6.2 now supports 64-bit Linux, but they
> don't say which CPU/architecture. I was told in the past by RSI that they
> would be supporting Opteron but not Itanium in this release. Is this the
> case?
The installation manual says
Intel/AMD x86_64 64-bit Linux, Red Hat Enterprise 3.x
"IDL 6.2 was built on the Linux 2.4 kernel with glibc2.3.2 using red Hat
Linux/. If your version of Linux is compatible with these, it is possible
that you can install and run IDL on your version"
Dick French
|
|
|
Re: Trouble running demo [message #45063 is a reply to message #45060] |
Tue, 02 August 2005 02:23  |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
David Fanning wrote:
> Richard G. French writes:
>
>> I've just installed IDL6.2 on MAC OSX 10.4. When I try to run the demo, I
>> get the following error message:
>>
>> IDL Version 6.2, Mac OS X (darwin ppc m32). (c) 2005, Research Systems,
Inc.
>>
>>
>> IDL> demo
>> % Attempt to call undefined procedure/function: 'DEMOOBJ__DEFINE'.
>> % Error occurred at: DEMO 581
>> /usr/local/rsi/idl_6.2/examples/demo/demosrc/demo.pro
>> % $MAIN$
>> % Execution halted at: $MAIN$
>>
>> Any suggestions?
>
> When I type "demo" in my version of IDL 6.2 (Windows),
> I get a tiny little window popping up with "XMLDOM..." on
> it. A small slider bar (set to the value 9), and a text
> widget with the word "Hello".
>
> You've got to hand it to RSI. They know how to pitch
> software! :-)
>
> Cheers,
>
> David
>
Can anyone who has IDL 6.2 please confirm for me which 64-bit Linux platform
is supported?
According to the RSI website IDL 6.2 now supports 64-bit Linux, but they
don't say which CPU/architecture. I was told in the past by RSI that they
would be supporting Opteron but not Itanium in this release. Is this the
case?
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|
Re: Trouble running demo [message #45065 is a reply to message #45063] |
Mon, 01 August 2005 22:44  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Hadfield writes:
> Richard G. French wrote:
>> Good call, Mark - I renamed the file to be demoobj__define.pro instead of
>> demoObj__define.pro and it was able to compile the demo. This is something
>> that RSI should definitely fix on the Mac distribution.
>
> And on other distributions, I shouldn't wonder.
This whole process reminds me of how difficult it is to
pass IDL programs on to someone else and get them to work.
To call it a nightmare is to understate the problem by
several orders of magnitude. I've nearly come to blows
with clients over it. (Of course, in my case, it's mostly
because the Build Order doesn't get saved with a project
so there really is no hope whatsoever that what you send
someone is ever going to work like it does on your machine.)
But still, isn't there a better way?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Trouble running demo [message #45066 is a reply to message #45065] |
Mon, 01 August 2005 22:26  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Richard G. French wrote:
> Good call, Mark - I renamed the file to be demoobj__define.pro instead of
> demoObj__define.pro and it was able to compile the demo. This is something
> that RSI should definitely fix on the Mac distribution.
And on other distributions, I shouldn't wonder.
> As for not finding the demo.sav file, I do have $IDL_DIR/lib/hook in my
> path, but it occurs after $IDL_DIR/examples/demo/demosrc in the !PATH, so
> that is why it finds the source file first. For my path definition, I have
>
> setenv IDL_PATH +/usr/local/rsi/idl_6.2/:
>
> How do you have your path set so that the hook savefiles come first?
The entry in my path definition (the "File/Preferences/Path" dialogue
box) is <IDL_DEFAULT>. This gets expanded to...
D:\Program Files\RSI\IDL62\lib\hook
D:\Program Files\RSI\IDL62\lib\itools\components
D:\Program Files\RSI\IDL62\lib\itools\framework
D:\Program Files\RSI\IDL62\lib\itools\ui_widgets
D:\Program Files\RSI\IDL62\lib\itools
D:\Program Files\RSI\IDL62\lib\obsolete
D:\Program Files\RSI\IDL62\lib\utilities
D:\Program Files\RSI\IDL62\lib\wavelet\source
D:\Program Files\RSI\IDL62\lib
D:\Program Files\RSI\IDL62\examples\data
D:\Program Files\RSI\IDL62\examples\demo\demodata
D:\Program Files\RSI\IDL62\examples\demo\demoslideshows\slideshowsrc
D:\Program Files\RSI\IDL62\examples\demo\demosrc
D:\Program Files\RSI\IDL62\examples\demo
D:\Program Files\RSI\IDL62\examples\doc\ActiveX\SecondExample
D:\Program Files\RSI\IDL62\examples\doc\ActiveX\VBCopyPrint
D:\Program Files\RSI\IDL62\examples\doc\ActiveX\VBLoadCt
D:\Program Files\RSI\IDL62\examples\doc\ActiveX\VBObjGraph
D:\Program Files\RSI\IDL62\examples\doc\ActiveX\VBPalette
D:\Program Files\RSI\IDL62\examples\doc\bridges\COM
D:\Program Files\RSI\IDL62\examples\doc\dicom
D:\Program Files\RSI\IDL62\examples\doc\file_io
D:\Program Files\RSI\IDL62\examples\doc\guibuilder
D:\Program Files\RSI\IDL62\examples\doc\image
D:\Program Files\RSI\IDL62\examples\doc\itools
D:\Program Files\RSI\IDL62\examples\doc\language
D:\Program Files\RSI\IDL62\examples\doc\objects
D:\Program Files\RSI\IDL62\examples\doc\plot
D:\Program Files\RSI\IDL62\examples\doc\project
D:\Program Files\RSI\IDL62\examples\doc\sdf
D:\Program Files\RSI\IDL62\examples\doc\signal
D:\Program Files\RSI\IDL62\examples\doc\utilities
D:\Program Files\RSI\IDL62\examples\doc\widgets
D:\Program Files\RSI\IDL62\examples\HP_TIFF
D:\Program Files\RSI\IDL62\examples\imsl
D:\Program Files\RSI\IDL62\examples\misc
D:\Program Files\RSI\IDL62\examples\widgets\wexmast
D:\Program Files\RSI\IDL62\examples\widgets
D:\Program Files\RSI\IDL62\examples
I've just been reading about the EXPAND_PATH function. Now what I find
(slightly) interesting is that if I type...
IDL> print, expand_path('<IDL_DEFAULT>')
...I get the above list, but if I type the Windows counterpart of your
setenv statement, ie...
IDL> print, expand_path('+D:\Program Files\RSI\IDL62')
...I get a different order, with "examples" and its subdirectories
before "lib".
--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
Re: Trouble running demo [message #45068 is a reply to message #45066] |
Mon, 01 August 2005 20:39  |
Richard French
Messages: 173 Registered: December 2000
|
Senior Member |
|
|
>
> So now there are 2 puzzles on Richard French's system:
>
> * Why is IDL not finding and restoring demo.sav?
>
> * In building the demo routines from source, why is
> demoobj__define not found?
>
> A possible answer to the second question is that demoobj_define.pro is
> misnamed.
Good call, Mark - I renamed the file to be demoobj__define.pro instead of
demoObj__define.pro and it was able to compile the demo. This is something
that RSI should definitely fix on the Mac distribution.
As for not finding the demo.sav file, I do have $IDL_DIR/lib/hook in my
path, but it occurs after $IDL_DIR/examples/demo/demosrc in the !PATH, so
that is why it finds the source file first. For my path definition, I have
setenv IDL_PATH +/usr/local/rsi/idl_6.2/:
How do you have your path set so that the hook savefiles come first?
Dick
|
|
|
Re: Trouble running demo [message #45070 is a reply to message #45068] |
Mon, 01 August 2005 20:07  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Mark Hadfield wrote:
> However the demosrc directory *is* on the path so in principle DEMO
> should still work if I delete demo.sav (but I haven't tried this yet).
And now I have tried this (ie hidden demo.sav, restarted IDL and run
DEMO) and, yes, it does still work.
--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
Re: Trouble running demo [message #45071 is a reply to message #45070] |
Mon, 01 August 2005 20:02  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
David Fanning wrote:
> Mark Hadfield writes:
>
>> FWIW, demo works fine for me on IDL Version 6.2, Microsoft Windows
>> (Win32 x86 m32). (c) 2005, Research Systems, Inc.
>>
>> The demoobj class is found in
>>
>> <RSI_DIR>\IDL62\examples\demo\demosrc\demoObj__define.pro
>>
>> Hmmm, that's a mixed-case file name. It will work OK on Windows (because
>> it's case-insensitive) but not on Unix. I wonder if that's the problem.
>
> Whoops! Yes, that demo thing from before was something it found
> in my startup directory (left over from when it did the migration of
> preferences, I think). Now DEMO starts up file, but unlike
> Mark, I find it running a save file:
>
> DEMO C:\RSI\IDL62\lib\hook\demo.sav
> DEMOEVENT C:\RSI\IDL62\lib\hook\demo.sav
> ...
Err, actually I misspoke slightly. When I said "the demoobj class is
found in [a file in the demosrc directory]". I meant that's where *I*
found it. But when I actually run DEMO, IDL loads demo.sav and prints:
IDL> demo
Embedded IDL: Research Systems, Inc., IDL Demo System.
Restored file: DEMO.
Loaded DLM: XML.
However the demosrc directory *is* on the path so in principle DEMO
should still work if I delete demo.sav (but I haven't tried this yet).
Now, when Richard French tried to run DEMO, he got...
IDL> demo
% Attempt to call undefined procedure/function: 'DEMOOBJ__DEFINE'.
% Error occurred at: DEMO 581
/usr/local/rsi/idl_6.2/examples/demo/demosrc/demo.pro
% $MAIN$
% Execution halted at: $MAIN$
...so for some reason it's not finding the save files and instead
compiling the DEMO procedure from source.
So now there are 2 puzzles on Richard French's system:
* Why is IDL not finding and restoring demo.sav?
* In building the demo routines from source, why is
demoobj__define not found?
A possible answer to the second question is that demoobj_define.pro is
misnamed.
--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
Re: Trouble running demo [message #45072 is a reply to message #45071] |
Mon, 01 August 2005 19:42  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Mark Hadfield writes:
> FWIW, demo works fine for me on IDL Version 6.2, Microsoft Windows
> (Win32 x86 m32). (c) 2005, Research Systems, Inc.
>
> The demoobj class is found in
>
> <RSI_DIR>\IDL62\examples\demo\demosrc\demoObj__define.pro
>
> Hmmm, that's a mixed-case file name. It will work OK on Windows (because
> it's case-insensitive) but not on Unix. I wonder if that's the problem.
Whoops! Yes, that demo thing from before was something it found
in my startup directory (left over from when it did the migration of
preferences, I think). Now DEMO starts up file, but unlike
Mark, I find it running a save file:
DEMO C:\RSI\IDL62\lib\hook\demo.sav
DEMOEVENT C:\RSI\IDL62\lib\hook\demo.sav
DEMOFUNCSUM C:\RSI\IDL62\lib\hook\demo.sav
DEMOFUNCSUMCLEANUP C:\RSI\IDL62\lib\hook\demo.sav
DEMOFUNCSUMEVENT C:\RSI\IDL62\lib\hook\demo.sav
DEMORESETSYSVARS C:\RSI\IDL62\lib\hook\demo.sav
DEMOSHOWSCREEN C:\RSI\IDL62\lib\hook\demo.sav
DEMOSTARTAPP C:\RSI\IDL62\lib\hook\demo.sav
DEMOSTARTHELP C:\RSI\IDL62\lib\hook\demo.sav
DEMOTIMER C:\RSI\IDL62\lib\hook\demo.sav
DEMO_FILES_USED C:\RSI\IDL62\lib\hook\demo.sav
DEMO_GETDATA C:\RSI\IDL62\lib\hook\demo.sav
DEMO_GETDATAEVENT C:\RSI\IDL62\lib\hook\demo.sav
DEMO_GET_SKIPS C:\RSI\IDL62\lib\hook\demo.sav
DEMO_PUTTIPS C:\RSI\IDL62\lib\hook\demo.sav
DEMO_RECORD C:\RSI\IDL62\lib\hook\demo.sav
DEMO_RESOLVE_ALL C:\RSI\IDL62\lib\hook\demo.sav
DEMO_RESOLVE_SOME C:\RSI\IDL62\lib\hook\demo.sav
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|
Re: Trouble running demo [message #45073 is a reply to message #45072] |
Mon, 01 August 2005 19:19  |
Mark Hadfield
Messages: 783 Registered: May 1995
|
Senior Member |
|
|
Richard G. French wrote:
> I've just installed IDL6.2 on MAC OSX 10.4. When I try to run the demo, I
> get the following error message:
>
> IDL Version 6.2, Mac OS X (darwin ppc m32). (c) 2005, Research Systems, Inc.
>
>
> IDL> demo
> % Attempt to call undefined procedure/function: 'DEMOOBJ__DEFINE'.
> % Error occurred at: DEMO 581
> /usr/local/rsi/idl_6.2/examples/demo/demosrc/demo.pro
> % $MAIN$
> % Execution halted at: $MAIN$
>
> Any suggestions?
FWIW, demo works fine for me on IDL Version 6.2, Microsoft Windows
(Win32 x86 m32). (c) 2005, Research Systems, Inc.
The demoobj class is found in
<RSI_DIR>\IDL62\examples\demo\demosrc\demoObj__define.pro
Hmmm, that's a mixed-case file name. It will work OK on Windows (because
it's case-insensitive) but not on Unix. I wonder if that's the problem.
--
Mark Hadfield "Kei puwaha te tai nei, Hoea tahi tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
|
|
|
Re: Trouble running demo [message #45074 is a reply to message #45073] |
Mon, 01 August 2005 19:05  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Richard G. French writes:
> I've just installed IDL6.2 on MAC OSX 10.4. When I try to run the demo, I
> get the following error message:
>
> IDL Version 6.2, Mac OS X (darwin ppc m32). (c) 2005, Research Systems, Inc.
>
>
> IDL> demo
> % Attempt to call undefined procedure/function: 'DEMOOBJ__DEFINE'.
> % Error occurred at: DEMO 581
> /usr/local/rsi/idl_6.2/examples/demo/demosrc/demo.pro
> % $MAIN$
> % Execution halted at: $MAIN$
>
> Any suggestions?
When I type "demo" in my version of IDL 6.2 (Windows),
I get a tiny little window popping up with "XMLDOM..." on
it. A small slider bar (set to the value 9), and a text
widget with the word "Hello".
You've got to hand it to RSI. They know how to pitch
software! :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|