...
When submitting jobs, you must ensure you pass the desired STHOST
to your jobs with the corresponding SBATCH
export directive. For example, to select ws2 in the job script you need to add:
Code Block |
---|
#SBATCH --export=STHOST=ws2 |
Because "#SBATCH --export" option doesn't work with a simple batch submission on the Atos HPC, ecsbatch ("/usr/local/bin/ecsbatch") command must be used instead.
Tip |
---|
title | sbatch command line option |
---|
|
Like any other SBATCH directive, you may alternatively pass the export in the sbatch command line instead: No Format |
---|
sbatch --export=STHOST=ws2 job.sh |
|
To use ecsbatch with Troika, you can use configuration file:
Bitbucket file |
---|
repoSlug | ecflow_include |
---|
branchId | refs/heads/master |
---|
projectKey | USS |
---|
filepath | troika.yml |
---|
applicationLink | a675ea11-b2c4-336c-bfb6-077e786ef5b2 |
---|
|
. Note |
---|
title | KSH jobs special requirement |
---|
|
If you are submitting a ksh job, make Make sure you include this line right after the SBATCH directives header: Code Block |
---|
source /etc/profile |
|
...