| Summary: | MaxArraySize | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Thu-Ha Tran <thu-ha.tran> |
| Component: | Configuration | Assignee: | Scott Hilton <scott> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | ||
| Version: | 21.08.4 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | Shell | Slinky Site: | --- |
| Alineos Sites: | --- | Atos/Eviden Sites: | --- |
| Confidential Site: | --- | Coreweave sites: | --- |
| Cray Sites: | --- | DS9 clusters: | --- |
| Google sites: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | NoveTech Sites: | --- |
| Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Tzag Elita Sites: | --- |
| Linux Distro: | --- | Machine Name: | |
| CLE Version: | Version Fixed: | ||
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
|
Description
Thu-Ha Tran
2022-01-11 12:41:45 MST
Thu-Ha, MaxArraySize not only limits the number of elements the the max index of the elements. With "MaxArraySize = 1000", the only way to have 1000 elements is to use 0-999, 1-1000 will not work because 1000 is not a vaild index. This is in our documentation: https://slurm.schedmd.com/job_array.html#overview Note that the minimum index value is zero and the maximum value is a Slurm configuration parameter (MaxArraySize minus one) -Scott Hi Scott, So the largest array element should not be greater than "MaxArraySize -1", right? Thanks for verification. Regards, Thu-Ha Thu-Ha, That is correct. Closing ticket. -Scott |