Description:
The notebook of win10 system is remotely connected to the win10 workstation of the office, and then the win10 workstation is used to submit tasks to the cluster server. At this time, you can edit bash directly in the Linux environment of the cluster server The SH file cannot be run normally. If you use VIM to open the file and edit it again, the error will be prompted as follows:
batch: error: Batch script contains DOS line breaks (\r\n)
sbatch: error: instead of expected UNIX line breaks (\n)
In this case, use vscode to bash The SH file can be changed from CRLF to LF to solve the problem.
Read More:
- [Solved] Doris StreamLoad Error: load by MERGE or DELETE need to upgrade table to support batch delete
- [Solved] MindSpore Error: “RuntimeError: Unexpected error. Inconsistent batch..
- [Solved] RuntimeError: each element in list of batch should be of equal size
- CREATE VIEW must be the only statement in the batch [How to Solve]
- [Solved] Git submits locally to the remote warehouse Error: failed to push some refs to…
- frida.InvalidArgumentError: script(line *): SyntaxError: unexpected end of string
- ANASYS2020R2 mesh script error [How to Solve]
- How to Solve Docker Error: elasticsearch exception: type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
- [Solved] R Language Error: Error in file(out, “wt“) : cannot open the connection
- [step on the pit] idea submits the code to GitHub and prompts 403 — the requested URL returned error: 403
- R Language Error: variable does not have limits defined by datadist
- Git push Submit to Remote Error: “remote: Support for password authentication was removed on August 13, 2021.“
- [Solved] R Language Error: Error in RStudioGD() : Shadow graphics device error: r error 4 (R code execution error)
- Git under Windows reports an error: warning: LF will be replaced by CRLF in ××××.××
- [Solved] Vscode1.71.0 terminal error: `sed: illegal option — r`
- [Solved] Vscode Connect to the remote server error: permission denied (public key)
- [Solved] ERROR OGG-01232 Receive TCP params error: TCP/IP error 104 (Connection reset by peer), endpoint:
- How to Solve kubelet starts error (k8s Cluster Restarted)
- [Solved] Remote URL test failed: Could not read from remote repository.
- How to Solve 0xc1900101 Error (Win10 upgrade Win11)