|
3 | 3 | * Copyright (c) 2007 The Trustees of Indiana University.
|
4 | 4 | * All rights reserved.
|
5 | 5 | * Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved.
|
6 |
| - * Copyright (c) 2011-2016 Los Alamos National Security, LLC. All |
| 6 | + * Copyright (c) 2011-2017 Los Alamos National Security, LLC. All |
7 | 7 | * rights reserved.
|
8 | 8 | * Copyright (c) 2013-2015 Intel, Inc. All rights reserved.
|
9 | 9 | * Copyright (c) 2014-2016 Research Organization for Information Science
|
@@ -784,18 +784,16 @@ static void fencenb(int sd, short args, void *cbdata)
|
784 | 784 | }
|
785 | 785 |
|
786 | 786 | /* unpack and stuff in to the dstore */
|
| 787 | + while (OPAL_SUCCESS == (rc = opal_dss.unpack(buf, &kp, &(int){1}, OPAL_VALUE))) { |
| 788 | + OPAL_OUTPUT_VERBOSE((20, opal_pmix_base_framework.framework_output, |
| 789 | + "%s pmix:cray unpacked kp with key %s type(%d) for id %s", |
| 790 | + OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), kp->key, kp->type, OPAL_NAME_PRINT(id))); |
787 | 791 |
|
788 |
| - cnt = 1; |
789 |
| - while (OPAL_SUCCESS == (rc = opal_dss.unpack(buf, &kp, &cnt, OPAL_VALUE))) { |
790 |
| - opal_output_verbose(20, opal_pmix_base_framework.framework_output, |
791 |
| - "%s pmix:cray unpacked kp with key %s type(%d) for id %s", |
792 |
| - OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), kp->key, kp->type, OPAL_NAME_PRINT(id)); |
793 | 792 | if (OPAL_SUCCESS != (rc = opal_pmix_base_store(&id, kp))) {
|
794 | 793 | OPAL_ERROR_LOG(rc);
|
795 | 794 | goto fn_exit;
|
796 | 795 | }
|
797 |
| - OBJ_RELEASE(kp); |
798 |
| - cnt = 1; |
| 796 | + OBJ_RELEASE(kp); |
799 | 797 | }
|
800 | 798 |
|
801 | 799 | cptr += r_bytes_and_ranks[i].nbytes;
|
@@ -831,18 +829,18 @@ static void fencenb(int sd, short args, void *cbdata)
|
831 | 829 | for (i=0; i < pmix_nlranks; i++) {
|
832 | 830 | id.vpid = pmix_lranks[i];
|
833 | 831 | id.jobid = pmix_jobid;
|
834 |
| - opal_output_verbose(2, opal_pmix_base_framework.framework_output, |
835 |
| - "%s checking out if %s is local to me", |
836 |
| - OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), |
837 |
| - OPAL_NAME_PRINT(id)); |
| 832 | + OPAL_OUTPUT_VERBOSE((2, opal_pmix_base_framework.framework_output, |
| 833 | + "%s checking out if %s is local to me", |
| 834 | + OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), |
| 835 | + OPAL_NAME_PRINT(id))); |
838 | 836 | /* fetch cpuset for this vpid */
|
839 | 837 | OBJ_CONSTRUCT(&vals, opal_list_t);
|
840 | 838 | if (OPAL_SUCCESS != (rc = opal_pmix_base_fetch(&id,
|
841 | 839 | OPAL_PMIX_CPUSET, &vals))) {
|
842 |
| - opal_output_verbose(2, opal_pmix_base_framework.framework_output, |
843 |
| - "%s cpuset for local proc %s not found", |
844 |
| - OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), |
845 |
| - OPAL_NAME_PRINT(id)); |
| 840 | + OPAL_OUTPUT_VERBOSE((2, opal_pmix_base_framework.framework_output, |
| 841 | + "%s cpuset for local proc %s not found", |
| 842 | + OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), |
| 843 | + OPAL_NAME_PRINT(id))); |
846 | 844 | OPAL_LIST_DESTRUCT(&vals);
|
847 | 845 | /* even though the cpuset wasn't found, we at least know it is
|
848 | 846 | * on the same node with us */
|
@@ -917,20 +915,20 @@ static int cray_get(const opal_process_name_t *id, const char *key, opal_list_t
|
917 | 915 | int rc;
|
918 | 916 | opal_list_t vals;
|
919 | 917 |
|
920 |
| - opal_output_verbose(2, opal_pmix_base_framework.framework_output, |
921 |
| - "%s pmix:cray getting value for proc %s key %s", |
922 |
| - OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), |
923 |
| - OPAL_NAME_PRINT(*id), key); |
| 918 | + OPAL_OUTPUT_VERBOSE((2, opal_pmix_base_framework.framework_output, |
| 919 | + "%s pmix:cray getting value for proc %s key %s", |
| 920 | + OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), |
| 921 | + OPAL_NAME_PRINT(*id), key)); |
924 | 922 |
|
925 | 923 | OBJ_CONSTRUCT(&vals, opal_list_t);
|
926 | 924 | rc = opal_pmix_base_fetch(id, key, &vals);
|
927 | 925 | if (OPAL_SUCCESS == rc) {
|
928 | 926 | *kv = (opal_value_t*)opal_list_remove_first(&vals);
|
929 | 927 | return OPAL_SUCCESS;
|
930 | 928 | } else {
|
931 |
| - opal_output_verbose(2, opal_pmix_base_framework.framework_output, |
932 |
| - "%s pmix:cray fetch from dstore failed: %d", |
933 |
| - OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), rc); |
| 929 | + OPAL_OUTPUT_VERBOSE((2, opal_pmix_base_framework.framework_output, |
| 930 | + "%s pmix:cray fetch from dstore failed: %d", |
| 931 | + OPAL_NAME_PRINT(OPAL_PROC_MY_NAME), rc)); |
934 | 932 | }
|
935 | 933 | OPAL_LIST_DESTRUCT(&vals);
|
936 | 934 |
|
|
0 commit comments