Commit 190d16fe authored by Janko's avatar Janko
Browse files

Updated Readme.md

parent bfbb70c5
......@@ -15,13 +15,14 @@ The only pre-conditioner supported at the moment is 'diagonal'.
Keywords to use the solvers:
```shell
NINJA GMRES : GGMR
NINJA Deflated CG : GDECG
NINJA CG : GCG
NINJA Pipelined CG : GPCG
PRECONDITIONER : DIAGONAL
```
Other options are same a CPU based solver.
### GPGPU Building
......@@ -30,23 +31,40 @@ This version was tested with the Intel Compilers 2017.1, bullxmpi-1.2.9.1 and NV
Alya can be used with just MPI or hybrid MPI-OpenMP parallelism. Standard execution mode is to rely on MPI only.
- 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 -xCORE-AVX2
```
- 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
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 -xCORE-AVX2
-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 -xCORE-AVX2"
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:
```
- Edit the config.in:
Add the corresponding platform optimization flags to FCFLAGS, e.g.
```shell
FCFLAGS = -module $O -c -xCORE-AVX2
```
- 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 NINJA=1 -j num_processors"
```
- Configure and build Alya Run "./configure -x nastin parall" (-x Release version; -g Debug version, plus uncommenting debug and checking flags in config.in)
```shell
./configure -x nastin parall
make NINJA=1 -j num_processors
```
```
### GPGPU 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