Best practice: Avoid hardcoding in your job scripts

July 11, 2019

Use relative paths and environment variables instead of hardcoding directory names in your job scripts. Hardcoding in scripts and elsewhere can make debugging your code more difficult and also complicate situations in which others need to copy your directories to build and run your code as themselves.

See this CISL page for a simple example and more information.