Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Questions on /tmp/openmpi-sessions-userid directory
From: Reuti (reuti_at_[hidden])
Date: 2010-03-07 06:45:04


Am 07.03.2010 um 10:55 schrieb Gijsbert Wiesenekker:

> I was having non-reproducible hangs in an OpenMPI program. While
> troubleshooting this problem I found that there were many temporary
> directories in my /tmp/openmpi-sessions-userid directory (probably
> the result of MPI_Abort aborted OpenMPI programs). I cleaned those
> directories up and it looks like the hangs have gone.
> My questions are:
> It looks like the name of the temporary directory in /tmp/openmpi-
> sessions-userid directory is a process-id. What happens when an
> OpenMPI program starts and the temporary directory in /tmp/openmpi-
> sessions-userid already exists?
> Could existing temporary directories in /tmp/openmpi-sessions-userid
> cause an OpenMPI program to hang?
> Is there a way to ensure that the temporary directory created in /
> tmp/openmpi-sessions-userid is always removed after an OpenMPI
> program has run?

if you use a queuingsystem like SGE it will go automatically into the
set $TMPDIR of the job which the queuingsystem also removes after the
job. Maybe you can create a $TMPDIR on your own and supply it to the
ssh call, so that it's known and used on all nodes.

-- Reuti