Commit 179b970e authored by Janko's avatar Janko
Browse files

Updated Readme.md

parent 55e99b2e
......@@ -112,26 +112,55 @@ The Xeon Phi processor version of Alya is currently relying on compiler assisted
### KNL Building
This version was tested with the Intel Compilers 2017.1, Intel MPI 2017.1 Ensure that the wrappers mpif90 and mpicc point to the correct binaries.
This version was tested with the Intel Compilers 2017.1, Intel MPI 2017.1. Ensure that the wrappers `mpif90` and `mpicc` point to the correct binaries.
Alya can be used with just MPI or hybrid MPI-OpenMP parallelism. Standard execution mode is to rely on MPI only.
0.-Uncompress the file alya-prace-acc.tar.bz2
1.-"cd Alya/Thirdparties/metis-4.0/"
-Edit the file 'Makefile.in' to select the compiler and target platform. Uncomment the specific lines and add optimization parameters, e.g. CC = icc -xMIC-AVX512
-Execute 'make'
2.-"cd Alya/Executables/unix"
3.-There are several example configurations, copy one, e.g. for Intel Compilers:
-"cp configure.in/config_ifort.in config.in"
4.-Edit the config.in:
Add the corresponding platform optimization flags to FCFLAGS, e.g. "-module $O -c -xMIC-AVX512"
MPI: No changes in the configure file are necessary. By default you use metis4 and 4 byte integers.
MPI-hybrid (with OpenMP) : Uncomment the following lines for OPENMP version:
- Uncompress the source and configure the depending Metis library and Alya build options:
```shell
tar xvf alya-prace-acc.tar.bz2
```
- Edit the file `Alya/Thirdparties/metis-4.0/Makefile.in` to select the compiler and target platform. Uncomment the specific lines and add optimization parameters, e.g.
```shell
OPTFLAGS = -O3 -xMIC-AVX512
```
- Then build Metis4
```shell
$ cd Alya/Executables/unix
$ make metis4
```
- For Alya there are several example configurations, copy one, e.g. for Intel Compilers:
```shell
$ cp configure.in/config_ifort.in config.in
```
- Edit the config.in:
Add the corresponding platform optimization flags to `FCFLAGS`, e.g.
```shell
FCFLAGS = -module $O -c -xMIC-AVX512
```
- MPI: No changes in the configure file are necessary. By default you use metis4 and 4 byte integers.
- MPI-hybrid (with OpenMP) : Uncomment the following lines for OPENMP version:
```shell
CSALYA := $(CSALYA) -qopenmp (-fopenmp for GCC Compilers)
EXTRALIB := $(EXTRALIB) -qopenmp (-fopenmp for gcc Compilers)
5.-Run "./configure -x nastin parall" (-x Release version; -g Debug version, plus uncommenting debug and checking flags in config.in)
6.-"make -j num_processors"
```
- Configure and build Alya (-x Release version; -g Debug version, plus uncommenting debug and checking flags in config.in)
```shell
./configure -x nastin parall
make -j num_processors
```
### KNL Usage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment