When using the school HPC cluster, it is found that the batch task written by win10 reports an error, which can be solved with dos2unix.
Bugs and Solutions
This problem is due to the difference between UNIX and DOS blank line format. Just use code conversion
errors are reported as follows:
sbatch: error: Batch script contains DOS line breaks (\r\n)
sbatch: error: instead of expected UNIX line breaks (\n).
Enter dos2unix:
dos2unix yourfilename