We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebb60d9 commit ec54c21Copy full SHA for ec54c21
src/tools/palloc/palloc.c
@@ -196,6 +196,11 @@ int main(int argc, char **argv)
196
pmix_tool_basename = "palloc";
197
gethostname(hostname, sizeof(hostname));
198
199
+ // setup the base infrastructure
200
+ if (PMIX_SUCCESS != pmix_init_util(NULL, 0, NULL)) {
201
+ return PMIX_ERROR;
202
+ }
203
+
204
/* Parse the command line options */
205
PMIX_CONSTRUCT(&results, pmix_cli_result_t);
206
rc = pmix_cmd_line_parse(argv, pallocshorts, pallocptions,
@@ -220,11 +225,6 @@ int main(int argc, char **argv)
220
225
}
221
226
222
227
223
- // setup the base infrastructure
224
- if (PMIX_SUCCESS != pmix_init_util(NULL, 0, NULL)) {
- return PMIX_ERROR;
- }
-
228
/* if we were given the pid of a starter, then direct that
229
* we connect to it */
230
n = 3;
0 commit comments