[daip] multiple windows running aips with same userid munber

Eric Greisen egreisen at nrao.edu
Fri Mar 6 12:32:30 EST 2015


On 03/06/2015 10:20 AM, bob at physics.ucdavis.edu wrote:
> every aips session i start is given the same userid ( 1 )
>
> bob
>

You set the userid number when it prompts you at the start for the user 
number.  Do you instead mean that every one runs as AIPS1?

That is an operating system issue - we make files in /tmp showing each
task and its process number.  The startup proc checks for files names 
AIPS1.pid and then tries to see if pid is still running.  If it is, then
it tries AIPS2 etc.  But if the OS says that it is not, then AIPS1.pid 
is deleted and a new AIPS1 with a new pid is started and marked by a 
file in /tmp.  It is possible that your OS will not let you look at your
own processes or somehow messes up this simple logic.  Start an aips and
look at the contents of /tmp, then in a 3rd widow start another aips and 
look at /tmp again.  Also do a ps -elf | grep for the pid shown on the 
AIPS1 file name.

Eric Greisen



More information about the Daip mailing list