Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titlesbatch 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
repoSlugecflow_include
branchIdrefs/heads/master
projectKeyUSS
filepathtroika.yml
applicationLinka675ea11-b2c4-336c-bfb6-077e786ef5b2
.

Note
titleKSH 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


...