From 14c79f74c09dcc7add400787cb2ed73aa705d34e Mon Sep 17 00:00:00 2001 From: Danny Auble <da@schedmd.com> Date: Fri, 27 Sep 2013 14:21:38 -0700 Subject: [PATCH] BLUEGENE - default geo make 0 instead of NO_VAL. This is the first thing that happens when it gets to the controller anyway. --- src/salloc/opt.c | 2 +- src/sbatch/opt.c | 2 +- src/srun/libsrun/opt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/salloc/opt.c b/src/salloc/opt.c index 39022b9b9c7..4d78d634718 100644 --- a/src/salloc/opt.c +++ b/src/salloc/opt.c @@ -347,7 +347,7 @@ static void _opt_default() for (i=0; i<HIGHEST_DIMENSIONS; i++) { opt.conn_type[i] = (uint16_t) NO_VAL; - opt.geometry[i] = (uint16_t) NO_VAL; + opt.geometry[i] = 0; } opt.reboot = false; opt.no_rotate = false; diff --git a/src/sbatch/opt.c b/src/sbatch/opt.c index 678b7484359..37675e8f392 100644 --- a/src/sbatch/opt.c +++ b/src/sbatch/opt.c @@ -358,7 +358,7 @@ static void _opt_default() for (i=0; i<HIGHEST_DIMENSIONS; i++) { opt.conn_type[i] = (uint16_t) NO_VAL; - opt.geometry[i] = (uint16_t) NO_VAL; + opt.geometry[i] = 0; } opt.reboot = false; opt.no_rotate = false; diff --git a/src/srun/libsrun/opt.c b/src/srun/libsrun/opt.c index db3d9a6b41c..b731dc3f784 100644 --- a/src/srun/libsrun/opt.c +++ b/src/srun/libsrun/opt.c @@ -477,7 +477,7 @@ static void _opt_default() for (i=0; i<HIGHEST_DIMENSIONS; i++) { opt.conn_type[i] = (uint16_t) NO_VAL; - opt.geometry[i] = (uint16_t) NO_VAL; + opt.geometry[i] = 0; } opt.reboot = false; opt.no_rotate = false; -- GitLab