Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
wien2k [2018/01/18 20:15] – adminwien2k [2018/01/23 09:29] (Version actuelle) – [Example] admin
Ligne 1: Ligne 1:
 ====== WIEN2k ====== ====== WIEN2k ======
-<note warning> 
- 
-**This software is not supported in our cluster!** 
- 
-</note> 
  
-/** 
 [[http://susi.theochem.tuwien.ac.at/|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. [[http://susi.theochem.tuwien.ac.at/|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.
 {{ :private:wien2k_logo.gif?200 |}} {{ :private:wien2k_logo.gif?200 |}}
 ===== Installed version ===== ===== Installed version =====
-  * Wien2k 14 + **Wien2K 17 stable** 
-  * **Wien2K 17 stable** +
 <code bash> <code bash>
 $ module avail wien2k $ module avail wien2k
Ligne 20: Ligne 13:
  
 In WIEN2k only ''lapw0'', ''lapw1'', and ''lapw2'' are parallelized.  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). +There are three ways to parallelize WIEN2k. First is k-point parallelization, second is hybrid mode, third is mpi-only. __**We support only MPI mode**__. 
-  * For MPI we ''$TMPDIR''/machines.wien2k-mpi +A machines files is automatically generated, see SGE script). 
-  * For hybride we use ''$TMPDIR''/machines.wien2k +  * For MPI we use ''$TMPDIR''/machines.wien2k-mpi file
-<note important>Notice that machines files are only generated in SGE script.</note>+
  
-==== Execution ==== +===== Execution ===== 
-<note important>A custom queue (''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)</note>+ 
 +<note warning> 
 +  * Only MPI mode (a.k.a) fained grained parallelism is supported in mesocentre 
 +  * Don't modify the generated ''.machines'' file 
 +</note> 
 +<note important>A custom queue (''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) 
 +</note>
  
-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 === === SGE script ===
-Here is simple script for Hybrid Parallelization using 32 cores.+Here is simple script for MPI Parallelization using 32 cores.
  
 <file  bash wien2k_meso.sge> <file  bash wien2k_meso.sge>
 #!/bin/bash  #!/bin/bash 
  
-#$ -N test_TiC  ## the name of script+#$ -N test_Gold  ## the name of script
 #$ -o $JOB_NAME.o$JOB_ID  ## output file #$ -o $JOB_NAME.o$JOB_ID  ## output file
 #$ -q wien2k.q    ## queue to use #$ -q wien2k.q    ## queue to use
Ligne 53: Ligne 50:
  
 # Use -p to specify a parallel calculation # Use -p to specify a parallel calculation
-run_lapw -p -ec 0.0001+run_lapw -p -ec 0.000i1 -NI
  
 </file> </file>
Ligne 62: Ligne 59:
 </code> </code>
  
 +===== Example =====
 +Let's start by an example showing Wien2k with MPI in action.
  
 +We will use ''Gold_23l.struct'' provided with Wien2k.
 +Load Wien2k module
 +
 +<code bash>
 +$module load wien2k/intel/17
 +</code>
 +
 +Create folder and copy files
 +<code bash>
 +$ mkdir Gold_23l
 +$ cd Gold_23l
 +</code> 
 +
 +Copy ''Gold_23l.struct'' file to this folder
 +
 +<code bash>
 +$ cp $WIEROOT/example_struct_files/Gold_23l.struct .
 +</code>
 +Run Wien2k initialization, we use 100 K point
 +<cod bash>
 +$ init_lapw -b -numk 100
 +</code>
 +
 +Finally, use SGE script above to run the simulation.
 ===== Links ===== ===== Links =====
   * http://susi.theochem.tuwien.ac.at/   * http://susi.theochem.tuwien.ac.at/
Ligne 69: Ligne 92:
  
  
-*/+
  
  • wien2k.1516306512.txt.gz
  • Dernière modification : 2018/01/18 20:15
  • de admin