Versions Compared

Key

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

...

Linux-Cluster
SuperMUC-NG
#!/bin/bash
#SBATCH -o /home/cluster/group/user/job_name./%x.%j.%N.out

#SBATCH -D /home/cluster/group/user/job_name.%j.out ./
#SBATCH -J <job_name> #SBATCH --get-user-env
#SBATCH --clusters=mpp1 #SBATCH --ntasks=32 =cm2_tiny
#SBATCH --partition=cm2_tiny
#SBATCH --nodes=1-1
#SBATCH --cpus-per-task=28
#SBATCH --mail-type=end #SBATCH --mail-user=<email_address>@<domain>
#SBATCH --export=NONE
#SBATCH --time=24:00:00
module load slurm_setup
cd mydire <link to your input>
module load quantum-espresso
mpiexec -n 8 pw.x
#/ or bands.x my-job.inpor srun -n 8 -i my-job.inp pw.x
#!/bin/bash 
# Job Name and Files (also --job-name)
#SBATCH -J jobname
#Output and error (also --output, --error):
#SBATCH -o ./%x.%j.out
#SBATCH -e ./%x.%j.err
#Initial working directory (also --chdir):
#SBATCH -D ./
#Notification and type
#SBATCH --mail-type=END
#SBATCH --mail-user=insert_your_email_here
# Wall clock limit:
#SBATCH --time=24:00:00
#SBATCH --no-requeue
#Setup of execution environment
#SBATCH --export=NONE
#SBATCH --get-user-env
#SBATCH --account=insert your_projectID_here
#SBATCH --partition=insert test, micro, general, large or fat

module load slurm_setup
cd mydire <link to your input>
module load quantum-espresso

mpiexec -n 8 pw.x / or bands.x my-job.inp


...