stdio

Jakob Østergaard jakob at unthought.net
Fri May 3 02:33:29 PDT 2002


On Thu, May 02, 2002 at 07:53:14PM -0600, Timothy W. Moore wrote:
> Each node mounts /home from the host machine.  When I attempt to run my 
> program, it states that it can't open the output file and crashes. 
>  However, it does open an error file in /home saying that it can't open 
> the output file.  The error files are generated with the user and group 
> 501.  I also get the impression that screen output is causing problems 
> because the DISPLAY variable is not set properly.
> 
> [1] What is the syntax of the setenv DISPLAY ...?  My hostname is enigma.

On enigma, do a "xhost +" to allow everyone to connect to your display.

Please note, that this is a huge security hole if you cannot trust everyone
who has network access to your machine.   But I suggest you do this for now
to get things running, then read up on how to do things properly afterwards.

Set the DISPLAY variable as:
DISPLAY=enigma:0 my_command my_arg0 my_arg1 ...

Alternatively, you can set the DISPLAY variable just once for your current
shell:
export DISPLAY=enigma:0

> 
> [2]  I arbitrarily set the permissions to 777 thinking node08 would then 
> be able to write to /home...it failed.  What permissions do I set for 
> seamless access to /home and the screen?

Since your program was able to create an error file in /home, I doubt that
it is permission problems on /home that's giving you the problems.

Please double-check where the program output file is placed - it probably
isn't set to the proper path.

When you say "/home", I take it that you mean something along the lines of
"/home/[your user directory]", and not literally /home.  Putting things
directly in /home would be terribly messy.

-- 
................................................................
:   jakob at unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:



More information about the Beowulf mailing list