Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| hpc:hpc_tubit:slurm_usage:packages_jobscript:gaussian:linda [2019/07/25 13:48] – kraus | hpc:hpc_tubit:slurm_usage:packages_jobscript:gaussian:linda [2020/02/19 20:04] (aktuell) – kraus | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== Internode jobs using parallel Linda (for experts) ====== | ||
| + | <code bash gaussian_linda_job> | ||
| + | #!/bin/bash --login | ||
| + | |||
| + | ################################################################################################### | ||
| + | # WARNING: Please adapt all relevant parameters so that they fit the requirements of your job(s). | ||
| + | ################################################################################################### | ||
| + | |||
| + | # #SBATCH -o %x.%j.%N.out | ||
| + | # #SBATCH -e %x.%j.%N.err | ||
| + | |||
| + | #SBATCH -J GAUSSIANJOB | ||
| + | #SBATCH -n 1 # total number of tasks/cores for your job | ||
| + | #SBATCH --hint=nomultithread | ||
| + | # #SBATCH --ntasks-per-node=1 | ||
| + | #SBATCH -N 1 # number of nodes | ||
| + | # #SBATCH -p smp # partition the job gets scheduled: standard (default), smp, gpu (uncomment, if you want your job to run on hosts in SMP partition) | ||
| + | #SBATCH --time=00: | ||
| + | #SBATCH --mem=4GB | ||
| + | # #SBATCH --mem-per-cpu=1GB | ||
| + | |||
| + | # #SBATCH --mail-type=END | ||
| + | # #SBATCH --mail-user=username | ||
| + | |||
| + | |||
| + | # loading Gaussian16 module | ||
| + | module use / | ||
| + | module load gaussian/ | ||
| + | |||
| + | # Stopping Linda Workers on all nodes in a friendly manner before SLURM steps in cancelling the batch job | ||
| + | export PATH=/ | ||
| + | trap '{ slurm_ssh_epilog; | ||
| + | trap '{ slurm_ssh_epilog; | ||
| + | # launches the kill script | ||
| + | sleep $(slurm_ssh_epilog_timer) && slurm_ssh_epilog & | ||
| + | |||
| + | |||
| + | # launching the Linda wrapper script | ||
| + | # output is written to file with extension .log | ||
| + | # Link0 directives %NProcShared and %LindaWorkers need not to be given within the input file | ||
| + | g16linda -l [input_file] | ||
| + | </ | ||
| + | |||
| + | |||
| + | \\ | ||
| + | <WRAP rightalign> | ||
| + | date of revision: 07-24-2019 © kraus | ||
| + | </ | ||