Salloc Error: 'Job submit/allocate failed: No partition specified or system default partition' - Troubleshooting Guide
The error message 'salloc: error: Job submit/allocate failed: No partition specified or system default partition' indicates that you haven't specified a partition or a system default partition. Specifying a partition in your configuration is key to resolving this error.
Here are some possible solutions:
-
Specify a partition
When using the
sbatchorsalloccommand, use the '-p' option to specify the partition you want to use. For example, if you have a partition named 'compute', you can use the following command:sbatch -p compute myjob.shOr
salloc -p compute -
Specify a default partition
You can specify a default partition by modifying the Slurm configuration file. By default, Slurm uses the 'batch' partition. To change the default partition, edit the
slurm.conffile and set the 'DefaultPartition' parameter to the name of the desired partition. For example:DefaultPartition=compute -
Check partition settings
Ensure that your partition settings are correct. You can check the partition configuration using the
scontrolcommand. For instance, the following command will display details of all partitions:scontrol show partition -
Check Slurm configuration
Verify that your Slurm configuration is correct. You can examine the Slurm configuration using the
scontrolcommand. For example, the following command will show details of all Slurm configuration parameters:scontrol show config
If you still can't resolve the issue, refer to the Slurm documentation or seek help from the Slurm community.
原文地址: https://www.cveoy.top/t/topic/lJkt 著作权归作者所有。请勿转载和采集!