Re: RESOLVE_ROUTINE essentially unusable on linux? [message #77188 is a reply to message #77187] |
Wed, 10 August 2011 11:38   |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
On 8/10/11 12:36 PM, Brian Wolven wrote:
> I understand this - linux is case sensitive:
>
> IDL> .compile sis_bin_mapped_data
> % Error opening file. File: sis_bin_mapped_data
> IDL> .compile SIS_BIN_MAPPED_DATA
> % Error opening file. File: SIS_BIN_MAPPED_DATA
> IDL> .compile SIS_bin_mapped_data
> % Compiled module: SIS_BIN_MAPPED_DATA.
>
> But there seems to be no way to get it to work at all with this approach:
>
> IDL> resolve_routine,/EITHER,'sis_bin_mapped_data'
> % Attempt to call undefined procedure/function: 'SIS_BIN_MAPPED_DATA'.
> % Execution halted at: $MAIN$
> IDL> resolve_routine,/EITHER,'SIS_BIN_MAPPED_DATA'
> % Attempt to call undefined procedure/function: 'SIS_BIN_MAPPED_DATA'.
> % Execution halted at: $MAIN$
> IDL> resolve_routine,/EITHER,'SIS_bin_mapped_data'
> % Attempt to call undefined procedure/function: 'SIS_BIN_MAPPED_DATA'.
> % Execution halted at: $MAIN$
>
> SIS_bin_mapped_data.pro is in the current working directory. Seems like the only solution is to rename all files in upper case? Am I missing something?
All lowercase will work. Also, this is important for automatic routine
compilation, i.e., naming your files correctly so that IDL finds the
routines in them.
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL, A Guide to Learning IDL: http://modernidl.idldev.com
Research Mathematician
Tech-X Corporation
|
|
|