Ceci est une ancienne révision du document !
WIEN2k
<!–
WIEN2k will perform electronic structure calculations of solids using density functional theory (DFT). It is based on the full-potential (linearized) augmented plane-wave ((L)APW) + local orbitals (lo) method, one among the most accurate schemes for band structure calculations. WIEN2k is an all-electron scheme including relativistic effects.
Installed version
- Wien2k 14
- Wien2K 17 stable
$ module avail wien2k
Parallel version
In WIEN2k only lapw0, lapw1, and lapw2 are parallelized.
There are three ways to parallelize WIEN2k. First is k-point parallelization, second is hybrid mode, third is mpi-only. We support MPI and hybride mode. A machines files for each run is generated see SGE script).
- For MPI we
$TMPDIR/machines.wien2k-mpi - For hybride we use
$TMPDIR/machines.wien2k
Execution
wien2k.q) is created to test and validate Wien2k in the mesocentre. Once validated, we will move to the main parallel queue (a.k.a parallel.q)
Before starting wien2k a .machines is generated and copied to local working directory using a custom script ($WIENROOT/init_machines). (see SGE script)
SGE script
Here is simple script for Hybrid Parallelization using 32 cores.
- wien2k_meso.sge
#!/bin/bash #$ -N test_TiC ## the name of script #$ -o $JOB_NAME.o$JOB_ID ## output file #$ -q wien2k.q ## queue to use #$ -l h_vmem=4G ## we request 4G/core (the maximum) ### Notice that we request 32 core #$ -pe wien2k 32 # Ensure that wien2k 17 is loaded module load wien2k/17 # Set Scratch dir export SCRATCH=$PWD # Copy machines file in working directory cp $TMPDIR/machines.wien2k .machines # Use -p to specify a parallel calculation run_lapw -p -ec 0.0001
Save this file in the same directory where isyour data model. Submit your job with:
$qsub wien2k_meso.sge