howto:static_calculation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howto:static_calculation [2014/11/16 19:18] – fix another typo: GTH_POTENTIAL -> GTH_POTENTIALS rivanvx | howto:static_calculation [2019/03/10 22:04] – [Running the Calculation] 157.193.1.193 | ||
---|---|---|---|
Line 22: | Line 22: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * '' | + | * '' |
A list of basis set and pseudopotential files may be found in | A list of basis set and pseudopotential files may be found in | ||
- | '' | + | '' |
should cover most of the commonly used elements. The user will, | should cover most of the commonly used elements. The user will, | ||
however, need to produce their own main input file for a given | however, need to produce their own main input file for a given | ||
Line 123: | Line 123: | ||
We will be doing a static energy and force calculation, | We will be doing a static energy and force calculation, | ||
- | case, we must set [[http:// | + | case, we must set [[http:// |
alias for '' | alias for '' | ||
calculation, | calculation, | ||
Line 390: | Line 390: | ||
use the MPI version of '' | use the MPI version of '' | ||
< | < | ||
- | mpirun -n 2 -o Si_bulk8.out Si_bulk8.inp & | + | mpirun -n 2 cp2k.popt |
</ | </ | ||
in the working directory to run '' | in the working directory to run '' | ||
Line 399: | Line 399: | ||
before running a new calculation. | before running a new calculation. | ||
+ | On the Ghent University clusters, it is advisable to wrap this command in | ||
+ | a job-script and use the '' | ||
+ | A minimal job-script file named e.g. '' | ||
+ | < | ||
+ | #!/bin/bash | ||
+ | # | ||
+ | #PBS -N static_calculation | ||
+ | #PBS -l walltime=00: | ||
+ | #PBS -l nodes=1: | ||
+ | # | ||
+ | ulimit -s unlimited | ||
+ | module load vsc-mympirun | ||
+ | module load CP2K | ||
+ | |||
+ | cd $PBS_O_WORKDIR | ||
+ | mympirun cp2k.popt -i Si_bulk8.inp -o Si_bulk8.out | ||
+ | </ | ||
+ | It requests 10 minutes of compute time on 2 computing cores of 1 worker node (adjust accordingly). | ||
+ | |||
+ | This job-script can then be submitted to the clusters via the command: | ||
+ | < | ||
+ | qsub RunCP2K.sh | ||
+ | </ | ||
===== Obtaining the Results ===== | ===== Obtaining the Results ===== | ||
After the job has finished, we should obtain the following files: | After the job has finished, we should obtain the following files: |
howto/static_calculation.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1