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/23 09:12] – adminwien2k [2018/01/23 09:29] (Version actuelle) – [Example] admin
Ligne 13: 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 only MPI mode**__Soulignage__. +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**__. 
-A machines files for each run is generated see SGE script). +A machines files is automatically generated, see SGE script). 
-  * For MPI we ''$TMPDIR''/machines.wien2k-mpi+  * 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 warning> 
-<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>+  * 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 47: 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 56: 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/
  • wien2k.1516698730.txt.gz
  • Dernière modification : 2018/01/23 09:12
  • de admin