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

Home » Public Forums » archive » Where to put (unix) DLMs?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Where to put (unix) DLMs? [message #25014] Mon, 07 May 2001 21:11 Go to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Let's say that I am distributing a package with a DLM. Of course the
problem with DLMs is they can be both IDL version-dependent, and
architecture dependent. At least mine is. :-) Let's say for the
moment can make a big library of binary DLM files for all the
architectures and IDL versions I know about.

The question is, where should the DLMs? The nicest place would be the
IDL binary directory. Of course that assumes that users have
permission to put things there.

Another thought is to have a separate "site" DLM directory. That
requires the user to set their IDL_DLM_PATH environment variable
before running IDL. This works, unless users are in heterogeneous
environment (ie, like my lab's), in which case they won't know *which*
directory to set it to ahead of time. Sadly, the IDL system variable
!DLM_PATH cannot be set at runtime, so there is no way to discover it
on the fly.

Has anybody else run into this issue? Should I just assume that users
will be able to�write into their system $IDL_DIR/bin/bin.${arch}
directory?

Thanks,
Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Where to put (unix) DLMs? [message #25065 is a reply to message #25014] Fri, 11 May 2001 14:55 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Rob.Preece@msfc.nasa.gov (Rob Preece) writes:
>> Another thought is to have a separate "site" DLM directory. That
>> requires the user to set their IDL_DLM_PATH environment variable
>> before running IDL. This works, unless users are in heterogeneous
>> environment (ie, like my lab's), in which case they won't know *which*
>> directory to set it to ahead of time. Sadly, the IDL system variable
>> !DLM_PATH cannot be set at runtime, so there is no way to discover it
>> on the fly.
>
> Too true, perhaps it's worth a note to RSI to put in a change request?
>

I think RSI is responding. I understand that the next version of IDL
will have a feature to make this easier. Now all that is needed for
everybody to upgrade to IDL 5.5 immediately, right? :-)

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Where to put (unix) DLMs? [message #25066 is a reply to message #25014] Fri, 11 May 2001 14:25 Go to previous message
Rob.Preece is currently offline  Rob.Preece
Messages: 8
Registered: December 1999
Junior Member
In article <onitjc4h0k.fsf@cow.physics.wisc.edu>,
craigmnet@cow.physics.wisc.edu wrote something like this:

> Let's say that I am distributing a package with a DLM. Of course the
> problem with DLMs is they can be both IDL version-dependent, and
> architecture dependent. At least mine is. :-) Let's say for the
> moment can make a big library of binary DLM files for all the
> architectures and IDL versions I know about.
>
Ouch! For rmfit, we ended up distributing source code for the *nix users
and asked them to make the DLM themselves. The Mac binary is available at
special request; as for Windows...



> The question is, where should the DLMs? The nicest place would be the
> IDL binary directory. Of course that assumes that users have
> permission to put things there.
>
For Macs, this is the only choice I can see. Unix is a lot harder, for
reasons you've mentioned below. In our distribution, the DLM goes in a
subdirectory of the source tree and users have to set up their
IDL_DLM_PATH. I put all this in the installation notes and hope they will
only have to do this once.




> Another thought is to have a separate "site" DLM directory. That
> requires the user to set their IDL_DLM_PATH environment variable
> before running IDL. This works, unless users are in heterogeneous
> environment (ie, like my lab's), in which case they won't know *which*
> directory to set it to ahead of time. Sadly, the IDL system variable
> !DLM_PATH cannot be set at runtime, so there is no way to discover it
> on the fly.

Too true, perhaps it's worth a note to RSI to put in a change request?

Regards,

- Rob Preece
Dept. of Physics
University of Alabama in Huntsville

--
This line no sig
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to plot continuously shaded area?
Next Topic: IDL 5.5?

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

Current Time: Sun Oct 12 11:10:28 PDT 2025

Total time taken to generate the page: 1.44386 seconds