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

Home » Public Forums » archive » How to create a .sav file the right way ?
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
How to create a .sav file the right way ? [message #73677] Mon, 22 November 2010 10:31
Jean[2] is currently offline  Jean[2]
Messages: 41
Registered: October 2010
Member
Hi all,

My work it to build 'executable' GUIs (.sav file). Since I started
doing so, I have been strugling in the way to create those .sav file
and now that I'm facing an issue to incorportate the new plot graphic
feature of the new IDL 8.0, I realize that I may have done it the
wrong way all that time.

so far, here what I've done do create those .sav file

on the command line
> make
will call my Makefile

<Makefile>
all:
idl ./makefile.pro
</Makefile>

<makefile.pro>
.run function1.pro
.run function2.pro ;I have to do that to be sure the
functions are build before the procedure using them
.run procedure1.pro
.run procedure2.pro ;but if for example one of the routine
uses mean, congrid...etc, those are not compile yet when needed,
so I have to do the following trick
resolve_routine, "mean", /either
resolve_routine, "cw_field", /either
....etc....
save, /routines, filename = './main_routine.pro'
exit
</makefile.pro>

my problem is that I basically have to run the .sav file and see all
the missing routines not yet buld to add them to this makefile.pro
file. Then make the .sav file again and get the next missing
routines....etc

I have been doing that for 5+ years without too much problem (painful
but at least it works).

Unfortunately, that seems to be much more painful with the new plot
graphics...as this one calls some dependencies (that of course are not
build) that call other dependencies....etc. I don't know where this is
going to stop. So here I am asking for help. Have I been doing it all
wrong since day 1 and is there a way to compile all the plot graphics
(like for iPlot) into just 1 resolve_routine command ?

Jean
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Ending a code listing section with IDLdoc
Next Topic: Re: How to create a .sav file the right way ?

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

Current Time: Wed Oct 08 13:36:48 PDT 2025

Total time taken to generate the page: 0.00541 seconds