comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL v8 not recognizing bash environment variable
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL v8 not recognizing bash environment variable [message #75839 is a reply to message #75838] Wed, 27 April 2011 14:14 Go to previous messageGo to previous message
BLesht is currently offline  BLesht
Messages: 89
Registered: March 2007
Member
> Check the value of the SEADAS environment variable with the GETENV
> routine. Everything seems fine for me:
>
> $ export MIKE=Hello
> $ idl
> IDL Version 8.0.1, Mac OS X (darwin x86_64 m64). (c) 2010, ITT Visual
> Information Solutions
> Installation number: 209577.
> Licensed for use by: Tech-X Corporation
>
> IDL> print, getenv('MIKE')
> Hello
>
> Mike
> --www.michaelgalloy.com
> Research Mathematician
> Tech-X Corporation

Thanks, Mike. I think your suggestion narrows down the problem. When
I invoke IDL from a shell session, like you did, I get the following:

bash-3.2$ idl
IDL Version 8.0.1, Mac OS X (darwin x86_64 m64). (c) 2010, ITT Visual
Information Solutions
Installation number: 230343.
Licensed for use by: Computer Sciences Corporation

IDL> PRINT, getenv('SEADAS')
/Volumes/1TBSATDATA/sw/seadas6.2
IDL>

which is correct. However, I was working from within the IDL
development environment (MacOS10.6.7) and this is the result there:

IDL Version 8.0.1, Mac OS X (darwin x86_64 m64). (c) 2010, ITT Visual
Information Solutions
Installation number: 230343.
Licensed for use by: Computer Sciences Corporation

IDL> PRINT, getenv('SEADAS')

IDL>

which isn't correct. I may need to add something (not sure what) to a
start-up script somewhere.

Barry
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Support Vector Machine Classification by IDL
Next Topic: IDL 8 uses 3x the memory of IDL 7.1

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:24:41 PDT 2025

Total time taken to generate the page: 0.00431 seconds