Clean up sshmem/mmap error messages. This should be added to
cmr=v1.7.5:ticket=4432 This commit was SVN r31180. The following Trac tickets were found above: Ticket 4432 --> https://svn.open-mpi.org/trac/ompi/ticket/4432
Этот коммит содержится в:
родитель
aa4775b021
Коммит
b3c6b0629c
@ -8,13 +8,21 @@
|
||||
#
|
||||
# $HEADER$
|
||||
#
|
||||
# This is the US/English help file for Open SHMEM MCA error messages.
|
||||
#
|
||||
|
||||
[mmap:out-of-memory]
|
||||
'sshmem' 'mmap' was failed to allocate shared memory segment
|
||||
of requested size. Returned error corresponds to
|
||||
out of memory case.
|
||||
[mmap segment failed]
|
||||
The OpenSHMEM "mmap" plugin in the "sshmem" framework failed to
|
||||
allocate a shared memory segement via the mmap system call. This
|
||||
usually means that there are not enough resources available to your
|
||||
memory subsystem on your server.
|
||||
|
||||
Try decreasing symmetric heap area size with
|
||||
'-x SHMEM_SYMMETRIC_HEAP_SIZE=<value>'.
|
||||
Your OpenSHMEM job will now abort.
|
||||
|
||||
Server: %s
|
||||
Requested mmap
|
||||
segment size: %u
|
||||
Specific error: %s (%d)
|
||||
|
||||
You can try to decrease the symmetric heap area with:
|
||||
|
||||
"-x SHMEM_SYMMETRIC_HEAP_SIZE=<value>".
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "opal/util/show_help.h"
|
||||
#include "orte/util/show_help.h"
|
||||
|
||||
#include "oshmem/proc/proc.h"
|
||||
#include "oshmem/mca/sshmem/sshmem.h"
|
||||
#include "oshmem/mca/sshmem/base/base.h"
|
||||
|
||||
@ -198,11 +199,11 @@ segment_create(map_segment_t *ds_buf,
|
||||
"Failed to mmap() %llu bytes (errno=%d)",
|
||||
(unsigned long long)size, errno)
|
||||
);
|
||||
if (ENOMEM == errno) {
|
||||
orte_show_help("help-oshmem-sshmem-mmap.txt",
|
||||
"mmap:out-of-memory",
|
||||
true);
|
||||
}
|
||||
opal_show_help("help-oshmem-sshmem-mmap.txt",
|
||||
"mmap segment failed",
|
||||
true,
|
||||
orte_process_info.nodename, (unsigned) size,
|
||||
strerror(errno),errno);
|
||||
return OSHMEM_ERR_OUT_OF_RESOURCE;
|
||||
}
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user