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

Home » Public Forums » archive » Re: compiling before needing
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: compiling before needing [message #26722 is a reply to message #26583] Thu, 13 September 2001 14:24 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
David Fanning <david@dfanning.com> writes:
> My point was only that when people ask about compiling
> IDL programs, *most* of the time (and there have been
> one or two exceptions in my 12 years of monitoring this
> newsgroup) they are completely misunderstanding how IDL
> works.
>
> I've never compiled an IDL program in my life, unless
> I was making a run-time IDL application. But I am
> *certain* there are good reasons for it. I've just
> never encountered them in my limited experience.

I have an analysis package for analyzing satellite X-ray astronomy
data, which is composed of more than 150 procedures and functions. At
some point it just became too cumbersome and inconvenient to have all
of them compiled on the fly, not to mention the eyesore of all those
"% Compiled: XXXXX." messages.

So I bundle them all up into a single save file. Then I have a
"preload" function which restores the functions from the save file [
the function is smart enough to check the date on the file and only
restores if a newer one is on disk. ]

This only works because I have a script to recompile everything
overnight. Otherwise, I agree it's a pain in the butt.

On the other hand, with newer versions of IDL I can see that you can
remove the "% Compiled" messages, and with faster computers the
compile is less of an issue. I guess I'm stuck in the past.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calling LAPACK from IDL
Next Topic: previous and last

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

Current Time: Sat Oct 11 23:03:56 PDT 2025

Total time taken to generate the page: 1.03987 seconds