Skip to main content

Command Error Related

1. error: Job submit/allocate failed: Invalid partition name specified;

Cause of the error: An incorrect partition was specified. You can obtain partition information using the following command:

sinfo

2. batch job submission failed: Requested node configuration is not available;

user web-1

Cause of the error: The node configuration for the requested resources does not match. For example, each node in the i64m512u partition has only 64 cores. If you request more than 64 cores per node, this error will occur.

3. (PartitionTimeLimit);

user web-1

Cause of the error: When specifying the -t, --time= parameter, the time exceeds the duration allowed by QoS. You can use the sinfo command to view the maximum allowed running time for all partitions.

4. Slow speed when downloading components using pip

Both Pip and Miniconda are third-party library management tools for Python. Generally, they use foreign sources, which can sometimes be slow or result in connection failures. Therefore, you can change to domestic mirror sources. Here, we take the Tsinghua source as an example.

Temporary change to Tsinghua source:

You can add the parameter -i ``https://pypi.tuna.tsinghua.edu.cn/simple when using pip.

For example: pip install -i ``https://pypi.tuna.tsinghua.edu.cn/simple`` gevent

Permanent change to Tsinghua source:

Modify ~/.pip/pip.conf (create one if it doesn't exist) and change the index-url to the Tsinghua source. The content is as follows:

[global]

index-url = https://pypi.tuna.tsinghua.edu.cn/simple