Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| wien2k [2018/01/18 13:25] – admin | wien2k [2018/01/23 09:29] (Version actuelle) – [Example] admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== WIEN2k ====== | ====== WIEN2k ====== | ||
| + | |||
| [[http:// | [[http:// | ||
| {{ : | {{ : | ||
| ===== Installed version ===== | ===== Installed version ===== | ||
| - | * < | + | |
| - | * **Wien2K 17 stable** | + | |
| <code bash> | <code bash> | ||
| $ module avail wien2k | $ module avail wien2k | ||
| Ligne 13: | Ligne 13: | ||
| In WIEN2k only '' | In WIEN2k only '' | ||
| - | There are three ways to parallelize WIEN2k. First is k-point parallelization, | + | There are three ways to parallelize WIEN2k. First is k-point parallelization, |
| + | A machines files is automatically | ||
| + | * For MPI we use '' | ||
| + | ===== Execution ===== | ||
| - | ==== Execution ==== | + | <note warning> |
| - | <note important> | + | * Only MPI mode (a.k.a) fained grained parallelism is supported in mesocentre |
| + | * Don't modify the generated '' | ||
| + | </ | ||
| + | <note important> | ||
| + | </ | ||
| - | Before starting wien2k a '' | ||
| === SGE script === | === SGE script === | ||
| - | Here is simple script for Hybrid | + | Here is simple script for MPI Parallelization using 32 cores. |
| < | < | ||
| # | # | ||
| - | #$ -N test_TiC | + | #$ -N test_Gold |
| #$ -o $JOB_NAME.o$JOB_ID | #$ -o $JOB_NAME.o$JOB_ID | ||
| #$ -q wien2k.q | #$ -q wien2k.q | ||
| Ligne 44: | 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 |
| </ | </ | ||
| Ligne 53: | Ligne 59: | ||
| </ | </ | ||
| + | ===== Example ===== | ||
| + | Let's start by an example showing Wien2k with MPI in action. | ||
| + | |||
| + | We will use '' | ||
| + | Load Wien2k module | ||
| + | |||
| + | <code bash> | ||
| + | $module load wien2k/ | ||
| + | </ | ||
| + | |||
| + | Create folder and copy files | ||
| + | <code bash> | ||
| + | $ mkdir Gold_23l | ||
| + | $ cd Gold_23l | ||
| + | </ | ||
| + | |||
| + | Copy '' | ||
| + | |||
| + | <code bash> | ||
| + | $ cp $WIEROOT/ | ||
| + | </ | ||
| + | Run Wien2k initialization, | ||
| + | <cod bash> | ||
| + | $ init_lapw -b -numk 100 | ||
| + | </ | ||
| + | Finally, use SGE script above to run the simulation. | ||
| ===== Links ===== | ===== Links ===== | ||
| * http:// | * http:// | ||