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

Home » Public Forums » archive » idl path issue
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
idl path issue [message #81473] Thu, 20 September 2012 09:05
sdjohnson.mail is currently offline  sdjohnson.mail
Messages: 5
Registered: September 2012
Junior Member
Hi all,

I am encountering a very strange problem with my idl path. I created a procedure and placed it in a directory that is in my path. When I open a new idl session and try to run the program, IDL throws an undefined procedure error. However, I can manually compile the procedure with a .compile and then run it just fine. The terminal session is pasted below. Also note that other procedures in my path seem to compile just fine automatically.

In fact, I have this problem with *any* procedure that I write and place in my path. However, procedures written by others don't give me any trouble (coyote library, goddard astronomy library, xidl, etc). Has anyone else encountered a similar issue? Any tips would be greatly appreciated!

Thanks,

Sean

IDL> createSpecProFiles
% Attempt to call undefined procedure/function: 'CREATESPECPROFILES'.
% Execution halted at: $MAIN$
IDL> .compile createSpecProFiles
% Compiled module: FORMATSLITNUMBER.
% Compiled module: CREATESPECPROFILES.
IDL> createSpecProFiles
% Compiled module: MRDFITS.
% Compiled module: FXPOSIT.
% Compiled module: MRD_HREAD.
% Compiled module: SXPAR.
% Compiled module: FXPAR.
% Compiled module: GETTOK.
% Compiled module: VALID_NUM.
MRDFITS: Image array (2947,150,6) Type=Real*4
% Compiled module: MRD_SKIP.
MRDFITS: Image array (2947,5020) Type=Real*4
MRDFITS: Image array (2947,5020) Type=Real*4
NCOLUMNS LONG = 2947
% Compiled module: NUMBER_FORMATTER.
% Compiled module: REPSTR.
% Compiled module: MWRFITS.
% Compiled module: FXADDPAR.
% Compiled module: DETABIFY.
% Compiled module: FXPARPOS.
% Compiled module: SXADDHIST.
% Compiled module: FAN.
% Program caused arithmetic error: Floating divide by 0
IDL>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Turn Object Automatic Clean-up Off?
Next Topic: Re: idl path issue

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

Current Time: Wed Oct 08 18:50:24 PDT 2025

Total time taken to generate the page: 0.11452 seconds