diff --git a/src/sbatch/opt.c b/src/sbatch/opt.c index 9ae4f693ac20ef5c0d744088f97fe52bf23dd301..09bbc8ee8a6e3665028a0645afbad20a15c71c3f 100644 --- a/src/sbatch/opt.c +++ b/src/sbatch/opt.c @@ -2077,7 +2077,7 @@ static void _parse_pbs_resource_list(char *rl) opt.ntasks_per_node = _get_int(temp, "mpiprocs"); xfree(temp); } -#ifdef HAVE_ALPS_CRAY +#if defined(HAVE_ALPS_CRAY) || defined(HAVE_NATIVE_CRAY) /* * NB: no "mppmem" here since it specifies per-PE memory units, * whereas SLURM uses per-node and per-CPU memory units. @@ -2117,7 +2117,7 @@ static void _parse_pbs_resource_list(char *rl) opt.ntasks_set = true; } xfree(temp); -#endif /* HAVE_ALPS_CRAY */ +#endif /* HAVE_ALPS_CRAY || HAVE_NATIVE_CRAY */ } else if (!strncasecmp(rl+i, "naccelerators=", 14)) { i += 14; temp = _get_pbs_option_value(rl, &i, ',');