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 1
1
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
2
2
/*
3
- * Copyright (c) 2018-2022 Triad National Security, LLC. All rights
3
+ * Copyright (c) 2018-2024 Triad National Security, LLC. All rights
4
4
* reserved.
5
5
* Copyright (c) 2022 Cisco Systems, Inc. All rights reserved.
6
6
* 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,
991
991
size_t n ;
992
992
pmix_status_t rc ;
993
993
size_t sz ;
994
- size_t num_pmix_psets = 0 ;
994
+ size_t num_pmix_psets = 0 , * num_pmix_psets_ptr ;
995
995
char * pset_names = NULL ;
996
996
997
997
opal_pmix_lock_t * lock = (opal_pmix_lock_t * ) cbdata ;
998
998
999
+ num_pmix_psets_ptr = & num_pmix_psets ;
1000
+
999
1001
for (n = 0 ; n < ninfo ; n ++ ) {
1000
1002
if (0 == strcmp (info [n ].key ,PMIX_QUERY_NUM_PSETS )) {
1001
1003
PMIX_VALUE_UNLOAD (rc ,
1002
1004
& info [n ].value ,
1003
- (void * * )& num_pmix_psets ,
1005
+ (void * * )& num_pmix_psets_ptr ,
1004
1006
& sz );
1005
1007
if (rc != PMIX_SUCCESS ) {
1006
1008
opal_argv_free (ompi_mpi_instance_pmix_psets );
You can’t perform that action at this time.
0 commit comments