...
Before running Quantum-ESPRESSO job, please load the module environment appropriate first after login to the system via:
module load qespressoquantum-espresso
Serial and parallel execution of Quantum-ESPRESSO
...
pw.x -np 1 / or bands.x inputfilename
Running parallel Q-ESPRESSO with script job on Linux-Cluster and SuperMUC-NG
(SLURM) (LoadLeveler)-NG |
#!/bin/bash
#SBATCH -o |
/home/cluster/group/user/job_name
/home/cluster/group/user/job_name.%j.out
./ #SBATCH -J <job_name>
#SBATCH --get-user-env |
=mpp1
=cm2_tiny #SBATCH --partition=cm2_tiny #SBATCH --nodes=1-1
#SBATCH -- |
ntasks=32
cpus-per-task= 28 #SBATCH --mail-type=end
|
#SBATCH --export=NONE #SBATCH --time=24:00:00
|
source /etc/profile.d/modules.sh
cd mydire module load slurm_setup cd mydire <link to your input> |
qespresso
srunquantum-espresso mpiexec -n 8 pw.x #/ or bands.x |
inpor
srun_psinpor srun -n 8 -i my-job.inp pw.x | #!/bin/bash |
#@ wall_clock_limit = 48:00:00
#@ job_type = parallel
#@ class = micro
#@ node = 10
#@ tasks_per_node = 16
# (on the fat node system, you can use tasks_per_node = up to 40)
#@ network.MPI = sn_all,not_shared,us
#@ energy_policy_tag = my_energy_tag
#@ minimize_time_to_solution = yes
#@ initialdir = $(home)/mydir
#@ output = job$(jobid).out
#@ error = job$(jobid).err
#@ notification=always
#@ notify_user=your-email@xyz.de
#@ queue
. /etc/profile
cd $HOME/mydire # 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> |
qespresso/6.1
quantum-espresso
mpiexec -n |
160 Dokumentation
After execution of module load qespresso, the environment variable documentation points to a directory containing the Quantum-ESPRESSO documentation as it comes with the source code:
...
- Other format of the documentation and more information may be found on the Quantum-ESPRESSO-webpage
Examples
After loading the environment appropriate module, the Quantum-ESPRESSO examples:
ls -C $QESPRESSO_EXAMPLES
Support
...