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:

  1. Specify a partition

    When using the sbatch or salloc command, 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.sh
    

    Or

    salloc -p compute
    
  2. 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.conf file and set the 'DefaultPartition' parameter to the name of the desired partition. For example:

    DefaultPartition=compute
    
  3. Check partition settings

    Ensure that your partition settings are correct. You can check the partition configuration using the scontrol command. For instance, the following command will display details of all partitions:

    scontrol show partition
    
  4. Check Slurm configuration

    Verify that your Slurm configuration is correct. You can examine the Slurm configuration using the scontrol command. 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.

Salloc Error: 'Job submit/allocate failed: No partition specified or system default partition' - Troubleshooting Guide

原文地址: https://www.cveoy.top/t/topic/lJkt 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录