1
1
openmpi/oshmem
Charles Shereda cbc6feaab2 Created opal_gethostname() as safer gethostname substitute.
The opal_gethostname() function provides a more robust mechanism
to retrieve the hostname than gethostname(), which can return
results that are not null-terminated, and which can vary in its
behavior from system to system.

opal_gethostname() just returns the value in opal_process_info.nodename;
this is populated in opal_init_gethostname() inside opal_init.c.

-Changed all gethostname calls in opal subtree to opal_gethostname
-Changed all gethostname calls in orte subtree to opal_gethostname
-Changed all gethostname calls in ompi subdir to opal_gethostname
-Changed all gethostname calls in oshmem subdir to opal_gethostname
-Changed opal_if.c in test subdir to use opal_gethostname
-Changed opal_init.c to include opal_init_gethostname. This function
 returns an int and directly sets opal_process_info.nodename per
 jsquyres' modifications.

Relates to open-mpi#6801

Signed-off-by: Charles Shereda <cpshereda@lanl.gov>
2020-01-13 08:52:17 -08:00
..
include OSHMEM: Add support for shmemx_malloc_with_hint() 2019-05-10 20:04:57 +03:00
info oshmem: remove unnecessary dependencies to ORTE 2019-02-20 13:55:55 +09:00
mca oshmem/ucx: fixed a build issue 2019-12-19 21:14:54 +02:00
op oshmem: remove unnecessary dependencies to ORTE 2019-02-20 13:55:55 +09:00
proc oshmem: remove unnecessary dependencies to ORTE 2019-02-20 13:55:55 +09:00
request Fix the OSHMEM request padding. 2017-06-01 18:30:02 -04:00
runtime Created opal_gethostname() as safer gethostname substitute. 2020-01-13 08:52:17 -08:00
shmem oshmem/extended: Fix shmem_atomic_set for float and double. 2019-12-19 21:15:41 +02:00
tools Fix typo and update URLs (https, redirection) [skip ci] 2020-01-07 03:52:25 +09:00
util Handle asprintf errors with opal_asprintf wrapper 2018-10-08 16:43:53 -07:00
Makefile.am build: Custom libmpi(_FOO) name option in configure 2016-09-29 21:47:24 -05:00