This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
howto:quantum_espresso [2015/06/19 10:25] ischeepers created |
howto:quantum_espresso [2024/08/12 17:12] (current) alopis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Example: Quantum Espresso ===== | + | ====QUANTUM ESPRESSO job submission==== |
| + | Please see this info regarding | ||
| - | < | + | Execute **qesp_6.3.0** or **qesp_6.4.0** **qesp_6.4.1** **qesp_6.4.1_gnu** **qesp_6.5_gnu** or **qesp_6.6** on the login node and follow the prompts. |
| - | #!/bin/sh | + | |
| - | ###These lines are for PBSpro | + | |
| - | #PBS -N QEspresso | + | |
| - | #PBS -l select=2: | + | |
| - | #PBS -l walltime=24: | + | |
| - | #PBS -q workq | + | |
| - | #PBS -m be | + | |
| - | #PBS -o stdout | + | |
| - | #PBS -e stderr | + | |
| - | ##### Environment Settings | + | |
| - | source / | + | |
| - | module add intel-XE/13.0 | + | |
| - | module add QEspresso/5.0.2 | + | |
| - | ##### Running commands | + | |
| - | NP=`cat $PBS_NODEFILE | wc -l` | + | |
| - | cd $PBS_O_WORKDIR | + | |
| - | mpirun -f $PBS_NODEFILE -r ssh -ib -env I_MPI_DEBUG 2 -np $NP pw.x -npool 3 -inp inputfile.inp | + | |
| - | </ | + | |
| + | **Note**, please first include this **module load** - even better if your add this line to your .bashrc, then the East Scripts should be visible and available: | ||
| + | |||
| + | module load chpc/ | ||
| + | |||
| + | |||
| + | This script handles PBS setup and submission. | ||
| + | Sets up the mpi environment variables allowing you to run over multiple processors and nodes. | ||
| + | Should you wish to run something other than PW or CP simulations generate the script and type n when it comes time to submit. You can then edit the generated script to run which ever Quantum Espresso code you wish to use and then submit your job. | ||
| + | Examples of input required to get script to work are provided below. | ||
| + | |||
| + | | ||
| + | Enter project name/ | ||
| + | | ||
| + | Enter input file (with .in extension) | ||
| + | | ||
| + | What do you wish to run PW or CP | ||
| + | PW | ||
| + | Enter number of nodes on which to run job | ||
| + | 1 | ||
| + | Enter total walltime (hour: | ||
| + | 2:00 | ||
| + | Enter email address | ||
| + | | ||
| + | | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||
| + | |||
| + | |||
| + | EXAMPLE2 [PLEASE TAKE NOTE OF EMPTY SPACES] | ||
| + | Enter project name/ | ||
| + | | ||
| + | Enter input file (with .in extension) | ||
| + | | ||
| + | What do you wish to run PW or CP | ||
| + | |||
| + | Enter number of nodes on which to run job | ||
| + | |||
| + | Enter total walltime (hour: | ||
| + | |||
| + | Enter email address | ||
| + | | ||
| + | | ||
| + | Do you wish to submit job to cluster (y/n) | ||
| + | y | ||