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

Home » Public Forums » archive » IDL and NIS - cd?
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 and NIS - cd? [message #2160] Tue, 07 June 1994 03:55 Go to next message
kienlin is currently offline  kienlin
Messages: 1
Registered: June 1994
Junior Member
Hi IDL-folks,

we are running IDL 3.5.1 on an IBM RS6k/530h under AIX 3.2.5. Recently, we have installed yellow pages/NIS on our workstation cluster. All users now have their home-directory on only one workstation, which may be not the workstation running IDL. However, IDL seems to have a problem when the directory from which it is launched is only mounted by NIS(automount):

Giving the command: "cd, current=test" comes back with the error message:
"% Unable to get working directory." This prevents execution of utilities like "pickfile". This only occurs when the keyword current is given.

Has anybody encountered this difficulty? Is this due to the symbolic links in the file system hirarchy across the network? Are there workarounds?

Please, mail your replys to kienlin@physik.uni-wuerzburg.de

Thanks and cheers,
Markus
Re: IDL and NIS - cd? [message #2317 is a reply to message #2160] Thu, 09 June 1994 08:25 Go to previous message
Geoff.Sobering is currently offline  Geoff.Sobering
Messages: 14
Registered: June 1994
Junior Member
In article <2t4bvk$r06@winx03.informatik.uni-wuerzburg.de>, Markus von
Kienlin <kienlin@physik.uni-wuerzburg.de> wrote:

> Hi again, IDL-folks,
>
> Let me be a little bit more specific about the problem with "cd" in IDL
> that I described earlier in this group:
>
> (a) the problem is not linked to the IDL environment variables which are
> correctly defined in the script "setup.idl".
> (b) the problem occurs giving the command "cd, current=some_variable",
> but only when the current directory is temporarily mounted by the
> NIS-function "automount". Then the error-message: "% Unable to get
> working directory." comes up.
> (c) this is independent from where IDL has been started: the "cd" to the
> external directory may have been done under Unix before starting IDL, or
> any time from within IDL.
> (d) "cd, current=some_variable" works correctly if the current directory
> is permanently mounted by NFS, or for any directory on the local host.

Is the 'automount'ed directory already mounted when you try the IDL 'cd'
command? If not, what happens if you cause the 'automount'er to mount the
filesystem (by accessing something in it from UNIX) and then try the 'cd'?

I ask because we have had some problems with IDL's file I/O timing out on
files accessed from an optical jukebox when there was a 10-20 second delay
while the jukebox loaded the optical platter. The first time we would try
and read a file it would fail, but after the platter was mounted (or when
using a regular file) the same 'open' command worked without fail.

Geoff Sobering
In Vivo NMR Research Center
National Institutes of Health
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to I get IDL postscript files from Sun to Mac
Next Topic: Re: Problem with "~" in Unix FINDFILE, still?

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

Current Time: Wed Oct 08 13:42:40 PDT 2025

Total time taken to generate the page: 0.00568 seconds