sources/core/scripts/prologue
raw| 1 | #!/bin/bash |
| 2 | # |
| 3 | # This a placeholder script for OAR jobs prologue. |
| 4 | # This script is to be run on the first node of a job, upon start. |
| 5 | # This feature is activated if and only if PROLOGUE_EXEC_FILE is set in OAR |
| 6 | # configuration file. |
| 7 | # |
| 8 | # Usage: |
| 9 | # Script is run under uid of oar who is sudo |
| 10 | # argv[1] is the jobid |
| 11 | # argv[2] is the user's name |
| 12 | # argv[3] is the file which contains the list of nodes used |
| 13 | # argv[4] is the job walltime in seconds |
| 14 | |
| 15 | exit |