idl path issue [message #81473] |
Thu, 20 September 2012 09:05 |
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>
|
|
|