microsoft / microsoft/pai

Provide guideline about howto write job `cmd`

Open
#1,897 4 comments 0 reactions 1 assignee View on GitHub

@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:

  1. 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.
  2. 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.
  3. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.