File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
22/*
3- * Copyright (c) 2018-2022 Triad National Security, LLC. All rights
3+ * Copyright (c) 2018-2024 Triad National Security, LLC. All rights
44 * reserved.
55 * Copyright (c) 2022 Cisco Systems, Inc. All rights reserved.
66 * Copyright (c) 2022 The University of Tennessee and The University
@@ -991,16 +991,18 @@ static void ompi_instance_get_num_psets_complete (pmix_status_t status,
991991 size_t n ;
992992 pmix_status_t rc ;
993993 size_t sz ;
994- size_t num_pmix_psets = 0 ;
994+ size_t num_pmix_psets = 0 , * num_pmix_psets_ptr ;
995995 char * pset_names = NULL ;
996996
997997 opal_pmix_lock_t * lock = (opal_pmix_lock_t * ) cbdata ;
998998
999+ num_pmix_psets_ptr = & num_pmix_psets ;
1000+
9991001 for (n = 0 ; n < ninfo ; n ++ ) {
10001002 if (0 == strcmp (info [n ].key ,PMIX_QUERY_NUM_PSETS )) {
10011003 PMIX_VALUE_UNLOAD (rc ,
10021004 & info [n ].value ,
1003- (void * * )& num_pmix_psets ,
1005+ (void * * )& num_pmix_psets_ptr ,
10041006 & sz );
10051007 if (rc != PMIX_SUCCESS ) {
10061008 opal_argv_free (ompi_mpi_instance_pmix_psets );
You can’t perform that action at this time.
0 commit comments