Re: Problem running functions [message #85890 is a reply to message #85883] |
Mon, 16 September 2013 11:23   |
Paul Van Delst[1]
Messages: 1157 Registered: April 2002
|
Senior Member |
|
|
On 09/16/13 13:40, David Fanning wrote:
> Paul van Delst writes:
>
>> Should it be:
>>
>> setenv IDL_PATH "${IDL_PATH}:+\$HOME/shdom/idl"
>>
>> ?
>>
>> You want to make sure you prepend (or append) the IDL_PATH to itself.
>>
>
> I'm really more concerned that she has a very long IDL path that was set
> up for her and which she has little or no knowledge of. In such a case,
> I would not be adding her files at the END of the path. Rather, I would
> put them at the START of the path.
Oh, yes. After rereading her earlier post (where the "dozens of
directories" are mentioned) I agree.
So, Laura, maybe you should try:
setenv IDL_PATH "+\$HOME/shdom/idl:${IDL_PATH}"
instead.
> That way, she at least has a chance
> of getting her own files to compile properly, which was her original
> concern, I think. Assuming, of course, she takes my advice about naming
> things properly, using the right compile option, etc. She doesn't seem
> inclined to. Old-school FORTRAN programmers often treat my advice like
> this. ;-)
Now, now. Be nice. (Is the rain getting to you? :o)
cheers,
paulv
|
|
|