Commit 73488b8e authored by Janko's avatar Janko
Browse files

Updated Readme.md

parent 84240deb
......@@ -78,16 +78,20 @@ Alya can be used with just MPI or hybrid MPI-OpenMP parallelism. Standard execut
### GPGPU Usage
Each problem needs a GPUconfig.dat. A sample is available at "Alya/Thirdparties/ninja" and needs to be copied to the work directory. A README file in the same location provides further information
Each problem needs a `GPUconfig.dat`. A sample is available at `Alya/Thirdparties/ninja` and needs to be copied to the work directory. A README file in the same location provides further information
Extract the small one node test case:
0.-"tar xvf cavity1_hexa_med.tar.bz2 && cd cavity1_hexa_med"
1.-Copy the GPUconfig file to your work directory. "cp ../Alya/Thirdparties/ninja/GPUconfig.dat ."
To use the GPU, you have to replace 'GMRES' by 'GGMR' and 'DEFLATED_CG' by 'GDECG', both in cavity1_hexa.nsi.dat
3.-Edit the job script to submit the calculation to the batch system.
- Extract the small one node test case and configure to use GPU solvers:
```shell
$ tar xvf cavity1_hexa_med.tar.bz2 && cd cavity1_hexa_med
$ cp ../Alya/Thirdparties/ninja/GPUconfig.dat .
```
- To use the GPU, you have to replace `GMRES` with `GGMR` and `DEFLATED_CG` with `GDECG`, both in `cavity1_hexa.nsi.dat`
- Edit the job script to submit the calculation to the batch system.
-job.sh: Modify the path where you have your Alya.x (compiled with MPI options)
-sbatch job.sh"
Alternatively execute directly: "OMP_NUM_THREADS=4 mpirun -np 16 Alya.x cavity1_hexa"
`sbatch job.sh`
Alternatively execute directly: `OMP_NUM_THREADS=4 mpirun -np 16 Alya.x cavity1_hexa`
Runtime on 16-core Xeon E5-2630 v3 @ 2.40GHz with 2 NVIDIA K80: ~1:30 min
Runtime on 16-core Xeon E5-2630 v3 @ 2.40GHz no GPU: ~2:00 min
......
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