|
44 | 44 |
|
45 | 45 | static pmix_status_t sshot_init(void);
|
46 | 46 | static void sshot_finalize(void);
|
47 |
| -static pmix_status_t allocate(pmix_namespace_t *nptr, pmix_info_t info[], size_t ninfo, |
| 47 | +static pmix_status_t allocate(pmix_namespace_t *nptr, |
| 48 | + pmix_info_t info[], size_t ninfo, |
48 | 49 | pmix_list_t *ilist);
|
49 |
| -static pmix_status_t setup_local_network(pmix_namespace_t *nptr, pmix_info_t info[], size_t ninfo); |
| 50 | +static pmix_status_t setup_local_network(pmix_nspace_env_cache_t *nptr, |
| 51 | + pmix_info_t info[], size_t ninfo); |
50 | 52 | pmix_pnet_module_t pmix_sshot_module = {
|
51 | 53 | .name = "sshot",
|
52 | 54 | .init = sshot_init,
|
@@ -165,7 +167,8 @@ static void sshot_finalize(void)
|
165 | 167 | * (c) the final "blob" that is returned to the caller shall be compressed
|
166 | 168 | * prior to adding it to the input "ilist"
|
167 | 169 | */
|
168 |
| -static pmix_status_t allocate(pmix_namespace_t *nptr, pmix_info_t info[], size_t ninfo, |
| 170 | +static pmix_status_t allocate(pmix_namespace_t *nptr, |
| 171 | + pmix_info_t info[], size_t ninfo, |
169 | 172 | pmix_list_t *ilist)
|
170 | 173 | {
|
171 | 174 | int n, m;
|
@@ -408,7 +411,8 @@ static pmix_status_t allocate(pmix_namespace_t *nptr, pmix_info_t info[], size_t
|
408 | 411 | * from PMIx_server_setup_application. In this case, we search for a blob
|
409 | 412 | * that our "allocate" function may have included in that info.
|
410 | 413 | */
|
411 |
| -static pmix_status_t setup_local_network(pmix_namespace_t *nptr, pmix_info_t info[], size_t ninfo) |
| 414 | +static pmix_status_t setup_local_network(pmix_nspace_env_cache_t *nptr, |
| 415 | + pmix_info_t info[], size_t ninfo) |
412 | 416 | {
|
413 | 417 | size_t n, ndevs, m, d, ndims = 3;
|
414 | 418 | pmix_buffer_t bkt;
|
@@ -442,7 +446,7 @@ static pmix_status_t setup_local_network(pmix_namespace_t *nptr, pmix_info_t inf
|
442 | 446 | "pnet:sshot:setup_local_network with %lu info", (unsigned long) ninfo);
|
443 | 447 |
|
444 | 448 | /* setup the namespace for the job */
|
445 |
| - PMIX_LOAD_NSPACE(proc.nspace, nptr->nspace); |
| 449 | + PMIX_LOAD_NSPACE(proc.nspace, nptr->ns->nspace); |
446 | 450 | /* prep the unpack buffer */
|
447 | 451 | PMIX_CONSTRUCT(&bkt, pmix_buffer_t);
|
448 | 452 |
|
@@ -692,6 +696,8 @@ static pmix_status_t setup_local_network(pmix_namespace_t *nptr, pmix_info_t inf
|
692 | 696 |
|
693 | 697 | static void compute_coord(pmix_coord_t *coord, char *xname, pmix_coord_view_t view)
|
694 | 698 | {
|
| 699 | + PMIX_HIDE_UNUSED_PARAMS(xname); |
| 700 | + |
695 | 701 | /* assume three dimensions */
|
696 | 702 | coord->view = view;
|
697 | 703 | coord->coord = (uint32_t *) malloc(3 * sizeof(uint32_t));
|
|
0 commit comments