Commit 84240deb authored by Janko's avatar Janko
Browse files

Updated Readme.md

parent eb14f4ce
......@@ -37,7 +37,7 @@ Alya can be used with just MPI or hybrid MPI-OpenMP parallelism. Standard execut
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.
- 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
......@@ -53,26 +53,28 @@ Alya can be used with just MPI or hybrid MPI-OpenMP parallelism. Standard execut
- For Alya there are several example configurations, copy one, e.g. for Intel Compilers:
```shell
-"cp configure.in/config_ifort.in config.in"
$ cp configure.in/config_ifort.in config.in
```
- Edit the config.in:
Add the corresponding platform optimization flags to FCFLAGS, e.g.
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)
```
- Configure and build Alya Run "./configure -x nastin parall" (-x Release version; -g Debug version, plus uncommenting debug and checking flags in config.in)
- 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 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