Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Brian W. Barrett (bbarrett_at_[hidden])
Date: 2007-01-17 11:27:46

errno 13 on Linux is EACCESS. According to the man page, ftruncate()
only retrns errno 13 if the file is owned by another user. I can't
see exactly how this could occur, but you might want to look at /tmp/
and make sure everything in openmpi-sessions-eddie* is owned by user


On Jan 17, 2007, at 12:25 AM, eddie168 wrote:

> Dear all,
> I have recently installed OpenMPI 1.1.2 on a OpenSSI cluster
> running Fedora core 3. I tested a simple hello world mpi program
> (attached) and it runs ok as root. However, if I run the same
> program under normal user, it gives the following error:
> [eddie_at_oceanus:~/home2/mpi_tut]$ mpirun -np 2 tut01
> [oceanus:125089] mca_common_sm_mmap_init: ftruncate failed with
> errno=13
> [oceanus:125089] mca_mpool_sm_init: unable to create shared memory
> mapping ( /tmp/openmpi-sessions-eddie_at_localhost_0/default-universe/
> 1/shared_mem_pool.localhost)
> ----------------------------------------------------------------------
> ----
> It looks like MPI_INIT failed for some reason; your parallel
> process is
> likely to abort. There are many reasons that a parallel process can
> fail during MPI_INIT; some of which are due to configuration or
> environment
> problems. This failure appears to be an internal failure; here's some
> additional information (which may only be relevant to an Open MPI
> developer):
> PML add procs failed
> --> Returned "Out of resource" (-2) instead of "Success" (0)
> ----------------------------------------------------------------------
> ----
> *** An error occurred in MPI_Init
> *** before MPI was initialized
> *** MPI_ERRORS_ARE_FATAL (goodbye)
> [eddie_at_oceanus:~/home2/mpi_tut]$
> Am I need to give certain permission to the user in order to
> oversubscribe processes?
> Thanks in advance,
> Eddie.
> <ompi-output.tar.gz>
> _______________________________________________
> users mailing list
> users_at_[hidden]

   Brian Barrett
   Open MPI Team, CCS-1
   Los Alamos National Laboratory