Provide guideline about howto write job `cmd`
Open
@hzy46 is already working on this.
Since Jul 22, 2020.
C-YH
doc needed
PAI-Exp
raised by customer
system
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 554
- Avg merge
- 20h 42m
- Merged PRs (30d)
- 14
Description
Provide some guideline about howto write job cmd.
Will need to investigate and figure out the best solutions, enhance and document it
User summarize some notes about job cmd:
- When submit the PAI job, if u want to run a shell script in command field, use “source filename.sh” not “./filename.sh” to run it. Or it will not get the environment variable of PAI.
- If U write the shell script in windows than Use the “dos2unix filename” to convert the shell script in jumpbox machine, or U may be will encounter “$'\r': command not found” error.
- When run a python and have a Flag is a config file path. If u encounter “not found file” error, try to use relative path instead of absolute path.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.