General Interest Seminar
Using Computational Chemistry Software Effectively on Graham
Jemmy Hu SHARCNET HPC Consultant University of Waterloo
March 28, 2018 Packages available on Graham
http://wiki.computecanada.ca
Discipline guides or Search: Computational chemistry
https://docs.computecanada.ca/wiki/ Computational_chemistry
The nature of the popular packages (I)
ab initio DFT Molecular Tools mechanics
Gaussian ADF Amber Molden
NWChem Quantum Gromacs VMD Espresso Gamess CP2K CPMD Plumed
ORCA deMon NAMD OpenMM
VASP PSI4 LAMMPS
Siesta DL_POLY The nature of the popular packages (II)
• Commercial packages
- Gaussian (soft_Gaussian, Graham only at the moment) - ADF (Graham only) - Amber (Graham only)
- VASP (soft_vasp5, PI’s group license) https://docs.computecanada.ca/wiki/VASP - ORCA (soft_orca, register to ORCA is required) https://docs.computecanada.ca/wiki/ORCA
• Parallel coding approach - MPI distributed parallel solution, run on cpus across multi-node - OpenMP shared memory solution (Gaussian), cpus on one node
Software modules
• Software are installed as Module packages • Basic module commands
module avail # to list all available module software module spider softwareName # to see what versions are available Submit/Run script: - account type (default or RAC account) - compute resource (cpus, memory, runtime) - job type (mpi, openmp, serial) - software (module load, run command)
• mpi_job.sh
•openmp_job.sh
[… ~]$ sbatch --help Slurm commands
https://docs.computecanada.ca/wiki/Running_jobs
• sbatch name.sh # submit the job
• squeue -u username # check your job status • scontrol show job -dd jobid # detailed info about a job • sacct -j jobid # info about a finished job • scancel jobid # cancel a job with the jobid • scancel -t PENDING -u username # cancel all your pending jobs
interactive job (test input):
salloc --time=1:0:0 --ntasks=8 –mem=10g --account=def-someuser
Gaussian https://docs.computecanada.ca/wiki/Gaussian (g## or G##)
• Versions - g03.d01 - g09.e01 - g16.a03 - g16.b01
Tips to run Gaussian on Graham
• use the latest version g16.b01 g09.e01 (if you need to include NBO6)
• use 16 or 8 cpus: %nproc=16 #input name.com #SBATCH --cpus-per-task=16 # gaussian name.sh • #SBATCH --mem=8G is ~2 times %mem=4GB in the input *.com
• File location: G16/G09, /scratch/userid/jobid/
• Testing input .com [ ~$] salloc --time=1:0:0 --cpus-per-task=16 --mem=10g --account=def-PI [ ~$] module load Gaussian/g16.b01 [ ~$] G16 g16_test.com ADF https://docs.computecanada.ca/wiki/ADF
• input files - one step job - multi-step job
• submit script (node-based)
• Submit the job: sbatch mysub.sh
MPI by-node partition: --nodes --ntasks-per-node (32x)
MPI by-core partition: --ntasks, --mem-per-cpu ORCA: binary orca/4.0.1.2
load the corresponding modules
https://docs.computecanada.ca/wiki/ORCA
VASP
[jemmyhu@gra-login3 ~]$ module spider vasp
https://docs.computecanada.ca/wiki/VASP
VASP input files: INCAR, KPOINTS, POSCAR, POTCAR (each job in a subdirectory)
[ ~$] sbatch vasp.sh Resource and Question
• Online wiki documents http://wiki.computecanada.ca
• Examples
• Questions to - email to [email protected] to the online ticketing system